Print Page | Close Window

Crash if I use MFC in a Shared library

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=5180
Printed Date: 11 November 2025 at 11:29am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Crash if I use MFC in a Shared library
Posted By: jams_sony
Subject: Crash if I use MFC in a Shared library
Date 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.




Replies:
Posted By: Oleg
Date 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net