Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Crash if I use MFC in a Shared library
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Crash if I use MFC in a Shared library

 Post Reply Post Reply
Author
Message
jams_sony View Drop Down
Newbie
Newbie


Joined: 01 October 2006
Location: Canada
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote jams_sony Quote  Post ReplyReply Direct Link To This Post Topic: Crash if I use MFC in a Shared library
    Posted: 01 October 2006 at 11:16pm

My application is build in VC++6.0 integrated with XTremeToolkit, but it always crash when I use MFC in a Shared library. In my application initialization, m_pMainWnd = &dlg crash because &dlg is invalid. If I use MFC in a static library, the problem didn't occurs any more. I was confused, Does any guy know the reason and teach me how to resovled? Your help would be greatly appreciated.

Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 02 October 2006 at 6:46am
If it crash, it only means that you make something wrong.
WIthout code/debugging it's not possible to tell where problem can be.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.