Click here to Skip to main content
16,006,378 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Future of C++ in MS Windows? Pin
faust8-Jul-02 4:35
faust8-Jul-02 4:35 
GeneralRe: Future of C++ in MS Windows? Pin
yarp8-Jul-02 7:06
yarp8-Jul-02 7:06 
AnswerRe: Future of C++ in MS Windows? Pin
sagmam8-Jul-02 5:39
sagmam8-Jul-02 5:39 
Generalhelp me Pin
7-Jul-02 23:52
suss7-Jul-02 23:52 
GeneralRe: help me Pin
nilaysoft8-Jul-02 0:05
nilaysoft8-Jul-02 0:05 
GeneralResources in DLLs Pin
7-Jul-02 23:40
suss7-Jul-02 23:40 
GeneralRe: Resources in DLLs Pin
Prem Kumar8-Jul-02 3:05
Prem Kumar8-Jul-02 3:05 
GeneralRe: Resources in DLLs Pin
8-Jul-02 21:12
suss8-Jul-02 21:12 
Thank you for your answer but I think my question wasn't clear enough.
In fact, I have got a method in my DLL which aims to show a dialog. For example :

void myMethod()
{
CMyDialog dlg;
dlg.DoModal();
}

the CMyDialog class was done with the ClassWizard after designing the dialog itself.

So I compile my DLL and all is OK.
Then, I create a new WIN32 EXE project. I include my dll.lib in the Project settings and in my code I include the dll.h which declares the dll's methods and functions. In this code, I try to show the dll's dialog by calling myMethod().
I compile and all is OK but when I execute the EXE, instead of displaying the DLL's dialog, it displays another resource contained in the EXE because its resource ID is the same of the DLL's dialog ID.

Thank you for your help.



GeneralRe: Resources in DLLs Pin
Prem Kumar8-Jul-02 23:26
Prem Kumar8-Jul-02 23:26 
GeneralRe: Resources in DLLs Pin
9-Jul-02 0:18
suss9-Jul-02 0:18 
GeneralRe: Resources in DLLs Pin
Prem Kumar9-Jul-02 0:24
Prem Kumar9-Jul-02 0:24 
GeneralSetting a Region of Child Window Pin
7-Jul-02 23:25
suss7-Jul-02 23:25 
GeneralPVS 6.0 Pin
Stan the man7-Jul-02 23:20
Stan the man7-Jul-02 23:20 
GeneralRe: PVS 6.0 Pin
Michael P Butler8-Jul-02 0:43
Michael P Butler8-Jul-02 0:43 
QuestionPost/Get Messages inside a dll ? Pin
yarp7-Jul-02 23:17
yarp7-Jul-02 23:17 
GeneralCHtmlView / do not download images Pin
rrrado7-Jul-02 23:12
rrrado7-Jul-02 23:12 
QuestionHow to play a .wav file? Pin
Artem Moroz7-Jul-02 22:35
Artem Moroz7-Jul-02 22:35 
AnswerRe: How to play a .wav file? Pin
7-Jul-02 22:42
suss7-Jul-02 22:42 
GeneralRe: How to play a .wav file? Pin
7-Jul-02 22:55
suss7-Jul-02 22:55 
AnswerRe: How to play a .wav file? Pin
7-Jul-02 22:43
suss7-Jul-02 22:43 
AnswerRe: How to play a .wav file? Pin
8-Jul-02 2:10
suss8-Jul-02 2:10 
QuestionHow draw different type icon? Pin
Alexey Kourakolov7-Jul-02 22:26
Alexey Kourakolov7-Jul-02 22:26 
AnswerRe: How draw different type icon? Pin
56789012347-Jul-02 22:48
56789012347-Jul-02 22:48 
GeneralRe: How draw different type icon? Pin
Alexey Kourakolov7-Jul-02 23:41
Alexey Kourakolov7-Jul-02 23:41 
QuestionActiveX events from automation server (.EXE) ? Pin
MrBean7-Jul-02 22:07
MrBean7-Jul-02 22:07 

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.