Click here to Skip to main content
15,899,679 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralWith external resourcefile dialog with Custom Control not loaded Pin
M.Vo.9-Jul-00 3:24
M.Vo.9-Jul-00 3:24 
GeneralRe: With external resourcefile dialog with Custom Control not loaded Pin
Paolo Messina9-Jul-00 7:13
professionalPaolo Messina9-Jul-00 7:13 
GeneralRe: With external resourcefile dialog with Custom Control not loaded Pin
M.Vo.9-Jul-00 10:12
M.Vo.9-Jul-00 10:12 
GeneralRe: With external resourcefile dialog with Custom Control not loaded Pin
Paolo Messina9-Jul-00 11:47
professionalPaolo Messina9-Jul-00 11:47 
GeneralRe: With external resourcefile dialog with Custom Control not loaded Pin
Paolo Messina9-Jul-00 12:17
professionalPaolo Messina9-Jul-00 12:17 
GeneralRe: With external resourcefile dialog with Custom Control not loaded Pin
Blake Miller10-Jul-00 12:14
Blake Miller10-Jul-00 12:14 
GeneralRe: With external resourcefile dialog with Custom Control not loaded Pin
bidoon10-Jul-00 15:05
bidoon10-Jul-00 15:05 
GeneralSolved: With external resourcefile dialog with Custom Control not loaded Pin
M.Vo.11-Jul-00 9:49
M.Vo.11-Jul-00 9:49 
Hi there, thank you very much for your help!

You've led me to the right path.

The LoadLibrary etc. is alright, the problem was the external resource DLL in conjunction with a custom control.

I have to register the window class of the control with the WNDCLASS-structure.
One element of this is the hInst, which most of the controls (Grid, BitmapViewer etc.) fill with AfxGetInstanceHandle(), which is okay in most cases.

But: here I needed AfxGetResourceHandle(), as I have to register the control with the resource DLL!!!

I still don't know why it worked with NT, but...

Greetings, Martin Smile | :) ))))
GeneralIs there any CodeWright forum??? i really need help Pin
Yaron8-Jul-00 22:58
Yaron8-Jul-00 22:58 
GeneralRe: Is there any CodeWright forum??? i really need help Pin
GeVanCo9-Jul-00 0:06
GeVanCo9-Jul-00 0:06 
GeneralRe: Is there any CodeWright forum??? i really need help Pin
Yaron9-Jul-00 0:40
Yaron9-Jul-00 0:40 
GeneralRe: Is there any CodeWright forum??? i really need help Pin
Chris10-Jul-00 5:37
Chris10-Jul-00 5:37 
GeneralAccess a dialog.listbox from a member class Pin
Tony8-Jul-00 12:15
Tony8-Jul-00 12:15 
GeneralRe: Access a dialog.listbox from a member class Pin
Paolo Messina9-Jul-00 0:53
professionalPaolo Messina9-Jul-00 0:53 
GeneralRe: Access a dialog.listbox from a member class Pin
Tony9-Jul-00 17:56
Tony9-Jul-00 17:56 
GeneralDDE to IPC or an new way Pin
bulent8-Jul-00 12:04
bulent8-Jul-00 12:04 
GeneralRe: DDE to IPC or an new way Pin
Sam Hobbs8-Jul-00 15:16
Sam Hobbs8-Jul-00 15:16 
QuestionHow do you print a CRichEditView ??? Pin
Mike Newberry8-Jul-00 5:12
sussMike Newberry8-Jul-00 5:12 
GeneralHOWTO : Get a CPropertySheet pointer from a CPropertyPage !?!?!?! Pin
Luc Bergeron6-Jul-00 5:33
Luc Bergeron6-Jul-00 5:33 
GeneralRe: HOWTO : Get a CPropertySheet pointer from a CPropertyPage !?!?!?! Pin
Paolo Messina6-Jul-00 7:07
professionalPaolo Messina6-Jul-00 7:07 
GeneralRe: HOWTO : Get a CPropertySheet pointer from a CPropertyPage? Pin
Mike Dunn6-Jul-00 9:27
Mike Dunn6-Jul-00 9:27 
GeneralRe: HOWTO : Get a CPropertySheet pointer from a CPropertyPage !?!?!?! Pin
Steve Driessens7-Jul-00 18:19
Steve Driessens7-Jul-00 18:19 
GeneralRe: HOWTO : Get a CPropertySheet pointer from a CPropertyPage !?!?!?! Pin
Luc Bergeron10-Jul-00 5:00
Luc Bergeron10-Jul-00 5:00 
QuestionDo u know? Pin
atif6-Jul-00 5:13
atif6-Jul-00 5:13 
QuestionHow To: Bold the Text on the Property Page Tab when the page is active Pin
Lori6-Jul-00 4:47
Lori6-Jul-00 4:47 

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.