Print Page | Close Window

Thanks for A question for DLL

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Visual C++ MFC
Forum Description: Topics related to Codejock Visual C++ MFC products
URL: http://forum.codejock.com/forum_posts.asp?TID=16027
Printed Date: 28 April 2024 at 8:04am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Thanks for A question for DLL
Posted By: Augusdi
Subject: Thanks for A question for DLL
Date Posted: 17 January 2010 at 7:24pm

Hi Webmaster:

     Thanks very much for you answer my questions recently. Now I have a problem in my Visual C++ MFC program, I search so much long a time, to find a solution, But with no hope at all, And this is a great frame design in codejoke's XTP we used very ofen.

    As we all know, DLL is a very important tool for great program, in VC++, it has a frame problem, How can I Export MFC class!

   In regulary DLL, you can use MFC class inside the program, but can not export the Class derived from MFC, the share and static link in MFC DLL is both support; the extension DLL can exprot Class derived from MFC, but you can not link the program in static MFC DLL kind. This make me sick, because I want make my DLL program derived from MFC, means can export MFC class, and support Static and Share MFC link Both.

   I just say I want do my program as XTP do it, link export CXTPButton , CXTPReportControl... support static and dynamic link together.

 

Augusdi

Thanks




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