Click here to Skip to main content
15,922,894 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to find out remote files? Pin
Michael Dunn14-Oct-01 21:56
sitebuilderMichael Dunn14-Oct-01 21:56 
AnswerSorry, stupid question... Pin
Daniel Visan14-Oct-01 22:01
Daniel Visan14-Oct-01 22:01 
GeneralRe: Sorry, stupid question... Pin
NormDroid14-Oct-01 22:12
professionalNormDroid14-Oct-01 22:12 
GeneralRe: You missunderstood me. My fault. Pin
Daniel Visan14-Oct-01 23:27
Daniel Visan14-Oct-01 23:27 
GeneralRe: You missunderstood me. My fault. Pin
markkuk15-Oct-01 0:41
markkuk15-Oct-01 0:41 
GeneralRe: You missunderstood me. My fault. Pin
Daniel Visan15-Oct-01 1:01
Daniel Visan15-Oct-01 1:01 
AnswerA serious problem on the subject now... Pin
Daniel Visan14-Oct-01 22:38
Daniel Visan14-Oct-01 22:38 
GeneralATL Pin
14-Oct-01 21:21
suss14-Oct-01 21:21 
I created by Wizard ATL COM DLL that import my MFC extention DLL(from type: base Dialog) in my ATL.

Please check my steps (describes below) and tell me if I miss something.
(because I dont success create instance of it from client program)
------------------------------------------------------------------------

1. I opened project: ATL COM Wizard. [DLL] [MFC Support]
2. I inserted to the library that created the file : MyMfcDll.dll
and attached to the ATL project the files : MyMfcDll.h , MyMfcDll.lib
3. I Added by wizard ATL class [MyClass] [single] [dual]
4. I added by wizard method [ShowMfcDialog] to IMyClass and fill it so :
___________________________________________
#include "MyMfcDll.h"

STDMETHODIMP CMyClass::ShowMfcDialog()
{
AFX_MANAGE_STATE(AfxGetStaticModuleState())

CMyDialog dlg; //from the imported dll
dlg.DoModal();

return S_OK;
}
______________________________________________
and that's all !

What is missing ?

I will be greatful if you will help me !
Smile | :)
GeneralATL - Addition to the question Pin
14-Oct-01 22:27
suss14-Oct-01 22:27 
GeneralWhy no one answer me ? Pin
15-Oct-01 0:28
suss15-Oct-01 0:28 
GeneralRe: ATL - Addition to the question Pin
Michael P Butler15-Oct-01 1:27
Michael P Butler15-Oct-01 1:27 
Generalregistered the dll.regsvr32 Pin
15-Oct-01 2:44
suss15-Oct-01 2:44 
GeneralRe: registered the dll.regsvr32 Pin
Michael P Butler15-Oct-01 2:47
Michael P Butler15-Oct-01 2:47 
GeneralRe: registered the dll.regsvr32 Pin
Firoz15-Oct-01 2:59
Firoz15-Oct-01 2:59 
GeneralManny Manny thanks !!! The registration successed ! Pin
15-Oct-01 5:23
suss15-Oct-01 5:23 
GeneralBut I have now a new trouble with the ATL . Who can help ??? Pin
15-Oct-01 8:22
suss15-Oct-01 8:22 
QuestionHow an Edit box can cause a crash for WinXP! Pin
Robert Buldoc14-Oct-01 21:04
Robert Buldoc14-Oct-01 21:04 
AnswerRe: How an Edit box can cause a crash for WinXP! Pin
Michael P Butler15-Oct-01 3:02
Michael P Butler15-Oct-01 3:02 
QuestionHow to make a Full Screen DirectX program display in a window mode Pin
Merci14-Oct-01 20:28
Merci14-Oct-01 20:28 
QuestionHow to Increase window contents Pin
binnu14-Oct-01 18:59
binnu14-Oct-01 18:59 
AnswerRe: How to Increase window contents Pin
Christian Graus14-Oct-01 20:24
protectorChristian Graus14-Oct-01 20:24 
GeneralRe: How to Increase window contents Pin
binnu14-Oct-01 23:54
binnu14-Oct-01 23:54 
GeneralRe: How to Increase window contents Pin
Christian Graus15-Oct-01 2:25
protectorChristian Graus15-Oct-01 2:25 
GeneralRe: How to Increase window contents Pin
binnu15-Oct-01 15:24
binnu15-Oct-01 15:24 
Generalload bitmap that is not a resource Pin
14-Oct-01 17:43
suss14-Oct-01 17:43 

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.