Click here to Skip to main content
15,913,930 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Using DLL in Internet Explorer Pin
Michael P Butler3-Sep-01 3:29
Michael P Butler3-Sep-01 3:29 
GeneralRe: Using DLL in Internet Explorer Pin
sanskypotov3-Sep-01 3:59
sanskypotov3-Sep-01 3:59 
GeneralRe: Using DLL in Internet Explorer Pin
Michael P Butler3-Sep-01 22:18
Michael P Butler3-Sep-01 22:18 
GeneralRe: Check DelayLoadProfile in MSJ Pin
Masaaki Onishi3-Sep-01 5:52
Masaaki Onishi3-Sep-01 5:52 
Generalmapping a va_list (...) in another function call Pin
2-Sep-01 22:37
suss2-Sep-01 22:37 
GeneralRe: mapping a va_list (...) in another function call Pin
Rashid Thadha2-Sep-01 23:59
Rashid Thadha2-Sep-01 23:59 
GeneralRe: mapping a va_list (...) in another function call Pin
3-Sep-01 22:09
suss3-Sep-01 22:09 
GeneralRe: mapping a va_list (...) in another function call Pin
The_Server3-Sep-01 13:02
The_Server3-Sep-01 13:02 
I don't realy understand what you want. Confused | :confused:

but I have a define for ya:
#define GetParam(arg,num) (((int *)(&arg))[num])

the GetParam will give you the arguments of the function.

e.g.
func(const char * format, ...)

and call it like this
func("%d %s %c", 123, "123", 's');// the %d%s%c is not importent 

than use the get param like this:
int a=(int)GetParam(format,1);  // 123
char * b=(char *)GetParam(format,2); // "123"
char c=(char)GetParam(format,3); // 's'


NOTE: on a 32bit OS you'll have a little problem getting the __int64 value (I'll let u discover yourself how to do that);)

BTW: for some of you that wished for CodeProject irc server
I create a channle on DalNet called "#CodeProject"
GeneralRe: mapping a va_list (...) in another function call Pin
Tim Smith3-Sep-01 13:36
Tim Smith3-Sep-01 13:36 
GeneralRe: mapping a va_list (...) in another function call Pin
The_Server4-Sep-01 13:13
The_Server4-Sep-01 13:13 
GeneralRe: mapping a va_list (...) in another function call Pin
Tomasz Sowinski3-Sep-01 13:48
Tomasz Sowinski3-Sep-01 13:48 
GeneralRe: mapping a va_list (...) in another function call Pin
The_Server4-Sep-01 12:50
The_Server4-Sep-01 12:50 
GeneralRe: mapping a va_list (...) in another function call Pin
Tomasz Sowinski5-Sep-01 1:26
Tomasz Sowinski5-Sep-01 1:26 
GeneralRe: mapping a va_list (...) in another function call Pin
The_Server8-Sep-01 14:07
The_Server8-Sep-01 14:07 
GeneralRe: mapping a va_list (...) in another function call Pin
Tomasz Sowinski9-Sep-01 23:39
Tomasz Sowinski9-Sep-01 23:39 
GeneralRe: mapping a va_list (...) in another function call Pin
3-Sep-01 21:48
suss3-Sep-01 21:48 
GeneralAbout window class Pin
Maer7272-Sep-01 21:13
Maer7272-Sep-01 21:13 
GeneralRe: About window class Pin
Christian Graus3-Sep-01 0:20
protectorChristian Graus3-Sep-01 0:20 
GeneralRe: About window class Pin
Steen Krogsgaard3-Sep-01 23:19
Steen Krogsgaard3-Sep-01 23:19 
Generalabout ATOM Pin
Maer7272-Sep-01 20:54
Maer7272-Sep-01 20:54 
GeneralRe: about ATOM Pin
Tomasz Sowinski3-Sep-01 0:17
Tomasz Sowinski3-Sep-01 0:17 
GeneralRe: about ATOM Pin
Maer7273-Sep-01 5:21
Maer7273-Sep-01 5:21 
QuestionHICON to HBITMAP? Pin
Aza2-Sep-01 20:30
Aza2-Sep-01 20:30 
AnswerRe: HICON to HBITMAP? Pin
Michael Dunn2-Sep-01 21:20
sitebuilderMichael Dunn2-Sep-01 21:20 
QuestionCreateDialogIndirect ToolWindow problem ? Pin
Christian Graus2-Sep-01 19:12
protectorChristian Graus2-Sep-01 19:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.