Click here to Skip to main content
15,909,518 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Tree control bug? Pin
Jack Puppy8-Feb-06 7:09
Jack Puppy8-Feb-06 7:09 
GeneralRe: Tree control bug? Pin
Gary Wheeler8-Feb-06 7:26
Gary Wheeler8-Feb-06 7:26 
QuestionHow to automatically start functioning Dailog based application Pin
Aqueel8-Feb-06 4:24
Aqueel8-Feb-06 4:24 
AnswerRe: How to automatically start functioning Dailog based application Pin
Maximilien8-Feb-06 4:33
Maximilien8-Feb-06 4:33 
GeneralRe: How to automatically start functioning Dailog based application Pin
Ryan Binns8-Feb-06 17:20
Ryan Binns8-Feb-06 17:20 
AnswerRe: How to automatically start functioning Dailog based application Pin
David Crow8-Feb-06 4:40
David Crow8-Feb-06 4:40 
AnswerRe: How to automatically start functioning Dailog based application Pin
Aqueel8-Feb-06 5:45
Aqueel8-Feb-06 5:45 
QuestionThunking issue Pin
indra208-Feb-06 3:56
indra208-Feb-06 3:56 
The scenario is this:

In a 16 bit application A.app I am calling a 32 bit dll B.dll with a method exposed "DisplayDialog(HWND hWnd)".
DisplayDialog is called through the following sequence:
hDD = LoadLibraryEx32W(B.dll);
hDisplayDialog = (DISPLAYPPROC)GetProcAddress32W(hDD, "DisplayDialog");
CallProcEx32W(1, 1, hDisplayDialog, hWnd);

The resource for the dialog which I want to diaplay is in a 2nd 32 bit dll
C.dll. I am loading C.dll in B.dll using
hInstance = LoadLibrary(C.dll).
Then to display the dialog I am using this code in B.dll:
hDlg = CreateDialogParam(hInstance, MAKEINTRESOURCE(IDD_SOME_DIALOG), hWnd, (DLGPROC)SomeDlgProc, NULL);
ShowWindow(hDlg , SW_SHOWNORMAL);
SomeDlgProc is defined in B.dll.
hDlg is comming out as NULL.
GetLastError following the function call is returning 0.
But if I call B.dll from a 32 Bit app, it is working fine.
Please advice what is going wrong.

Thanks,




QuestionService can´t create objects Pin
Dyrl8-Feb-06 3:26
Dyrl8-Feb-06 3:26 
QuestionRe: Service can´t create objects Pin
David Crow8-Feb-06 3:32
David Crow8-Feb-06 3:32 
AnswerRe: Service can´t create objects Pin
Dyrl8-Feb-06 3:38
Dyrl8-Feb-06 3:38 
AnswerRe: Service can´t create objects Pin
Taka Muraoka8-Feb-06 3:42
Taka Muraoka8-Feb-06 3:42 
GeneralRe: Service can´t create objects Pin
Dyrl8-Feb-06 4:03
Dyrl8-Feb-06 4:03 
GeneralRe: Service can´t create objects Pin
Taka Muraoka8-Feb-06 4:07
Taka Muraoka8-Feb-06 4:07 
GeneralRe: Service can´t create objects Pin
David Crow8-Feb-06 4:21
David Crow8-Feb-06 4:21 
GeneralRe: Service can´t create objects Pin
Taka Muraoka8-Feb-06 4:26
Taka Muraoka8-Feb-06 4:26 
GeneralRe: Service can´t create objects Pin
Ryan Binns8-Feb-06 17:30
Ryan Binns8-Feb-06 17:30 
QuestionRe: Service can´t create objects Pin
David Crow9-Feb-06 2:48
David Crow9-Feb-06 2:48 
AnswerRe: Service can´t create objects Pin
Ryan Binns9-Feb-06 12:23
Ryan Binns9-Feb-06 12:23 
AnswerRe: Service can´t create objects Pin
BadKarma8-Feb-06 4:57
BadKarma8-Feb-06 4:57 
AnswerRe: Service can´t create objects Pin
Dyrl9-Feb-06 8:24
Dyrl9-Feb-06 8:24 
QuestionXP themes Pin
rrrado8-Feb-06 3:24
rrrado8-Feb-06 3:24 
AnswerRe: XP themes Pin
-Dy8-Feb-06 3:54
-Dy8-Feb-06 3:54 
GeneralRe: XP themes Pin
rrrado8-Feb-06 4:13
rrrado8-Feb-06 4:13 
AnswerRe: XP themes Pin
Michael Dunn8-Feb-06 12:42
sitebuilderMichael Dunn8-Feb-06 12:42 

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.