- Can't load dialog resource from outside DLL
- Posted by Spikinsson on July 19th, 2003
1813
The specified resource type cannot be found in the image file.
What could cause this error?
dllhinst is a validated instance handle of the dll
IDD_DIALOG is in both the DLL as in the program 1 and the dialog has resource identifier
IDD_DIALOG
htab is the window handle of which the dialog will be the child of (validated)
tmail is a DLGPROC function
hdlg = CreateDialog(dllhinst,MAKEINTRESOURCE(IDD_DIALOG), htab,(DLGPROC)tmain);
hdlg returns NULL, raises error 1813 and no dialog box is created.
I really don't know what is wrong, any help is greatly appreciated...
Similar Posts
- Failed to load resource dll error (Help and Support) by Lexie
- Failed to load resource DLL (Help and Support) by Kimba
- Re: Creating a Dialog with a resource template...but nothing happens (Development Resources) by r_z_aret@pen_fact.com
- Re: Creating a Dialog with a resource template...but nothing happens (Development Resources) by Tim Robinson
- Re: Creating a Dialog with a resource template...but nothing happens (Development Resources) by Joakim Braun

