Click here to Skip to main content
15,881,766 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Winword.exe and WaitForSingleObject Pin
David Crow14-Feb-06 4:34
David Crow14-Feb-06 4:34 
AnswerRe: Winword.exe and WaitForSingleObject Pin
vikramlinux15-Feb-06 18:12
vikramlinux15-Feb-06 18:12 
GeneralRe: Winword.exe and WaitForSingleObject Pin
David Crow16-Feb-06 2:48
David Crow16-Feb-06 2:48 
GeneralRe: Winword.exe and WaitForSingleObject Pin
vikramlinux16-Feb-06 3:18
vikramlinux16-Feb-06 3:18 
GeneralRe: Winword.exe and WaitForSingleObject Pin
vikramlinux16-Feb-06 3:20
vikramlinux16-Feb-06 3:20 
QuestionNeed Help - Pointers Pin
pjama13-Feb-06 23:43
pjama13-Feb-06 23:43 
AnswerRe: Need Help - Pointers Pin
BadKarma13-Feb-06 23:52
BadKarma13-Feb-06 23:52 
AnswerRe: Need Help - Pointers Pin
Naveen14-Feb-06 0:10
Naveen14-Feb-06 0:10 
if u know the function proto, first typedef it and then create an object of that type. for example if we want to call the
BOOL ShowWindow(HWND hWnd, int nCmdShow);
of User32.dll,

1. typedef its proto
typedef BOOL (WINAPI * myShowWindow)(HWND hWnd,int nCmdShow);
2.Create an object
myShowWindow fun_myShowWindow;
3. Assign the pointer obtained from GetProcAddress() to fun_myShowWindow
$. now u can call the function fun_myShowWindow as usual
eg :- fun_myShowWindow( m_hwnd, SW_SHOW);



nav
GeneralRe: Need Help - Pointers Pin
toxcct14-Feb-06 0:15
toxcct14-Feb-06 0:15 
GeneralRe: Need Help - Pointers Pin
pjama14-Feb-06 0:16
pjama14-Feb-06 0:16 
GeneralRe: Need Help - Pointers Pin
toxcct14-Feb-06 0:36
toxcct14-Feb-06 0:36 
GeneralRe: Need Help - Pointers Pin
pjama14-Feb-06 1:18
pjama14-Feb-06 1:18 
AnswerRe: Need Help - Pointers Pin
James R. Twine14-Feb-06 4:45
James R. Twine14-Feb-06 4:45 
Questiondrwtsn32 - not working? Pin
rrrado13-Feb-06 23:11
rrrado13-Feb-06 23:11 
JokeRe: drwtsn32 - not working? Pin
rrrado14-Feb-06 1:17
rrrado14-Feb-06 1:17 
QuestionNeed Help--How to implement a Find Target application? Pin
sandakith13-Feb-06 22:40
sandakith13-Feb-06 22:40 
AnswerRe: Need Help--How to implement a Find Target application? Pin
Naveen13-Feb-06 22:44
Naveen13-Feb-06 22:44 
AnswerRe: Need Help--How to implement a Find Target application? Pin
Malli_S13-Feb-06 22:53
Malli_S13-Feb-06 22:53 
GeneralRe: Need Help--How to implement a Find Target application? Pin
toxcct13-Feb-06 22:57
toxcct13-Feb-06 22:57 
GeneralRe: Need Help--How to implement a Find Target application? Pin
ThatsAlok14-Feb-06 22:03
ThatsAlok14-Feb-06 22:03 
GeneralRe: Need Help--How to implement a Find Target application? Pin
toxcct14-Feb-06 22:08
toxcct14-Feb-06 22:08 
GeneralRe: Need Help--How to implement a Find Target application? Pin
sandakith14-Feb-06 16:15
sandakith14-Feb-06 16:15 
Questionhelp with DWORD Pin
Waldermort13-Feb-06 21:49
Waldermort13-Feb-06 21:49 
AnswerRe: help with DWORD Pin
toxcct13-Feb-06 22:01
toxcct13-Feb-06 22:01 
GeneralRe: help with DWORD Pin
Waldermort13-Feb-06 22:08
Waldermort13-Feb-06 22:08 

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.