Shrishail Rana
2003-12-29 17:26:15 UTC
Hi
I have a very old plain Win32 application written in C++ (using the old
forgetton Winmain). No MFC. Now due to some requierments I need to put MFC
code in it. I am on Winxp - VS6 SP5.
So I declared a global variable of CWinapp and continued. I have now winmain
and use MFC as shared DLLs. Everything is fine now and I am only using basic
MFC classes such as CString. But I don't have confidence on this code. I
have some inner feeling that something is wrong or would crash when using
some high level classes.
Can someone please guide me how to integrate MFC in old win32 code. Any
article with steps is heartly welcomed.
Regards
Shrishail
I have a very old plain Win32 application written in C++ (using the old
forgetton Winmain). No MFC. Now due to some requierments I need to put MFC
code in it. I am on Winxp - VS6 SP5.
So I declared a global variable of CWinapp and continued. I have now winmain
and use MFC as shared DLLs. Everything is fine now and I am only using basic
MFC classes such as CString. But I don't have confidence on this code. I
have some inner feeling that something is wrong or would crash when using
some high level classes.
Can someone please guide me how to integrate MFC in old win32 code. Any
article with steps is heartly welcomed.
Regards
Shrishail