Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » I have a big problem about this library! Collapse All
Subject Author Date
smallmark Feb 23, 2003 - 10:19 PM

There are two modules : 1. a.exe 2. a.dll
The a.exe is a SDI program, in CAView Create function, calls CDirMyTreeCtrl.Create which in a.dll.

when i right-click in CDirMyTreeCtrl, then popup a menu, select a item to show a dialog...
Then the error occurs...

It looks like that LIBRARY must update the CExtControlBar, there has a hook chain, what can i do to prevent this occurs???

Thanks for your help!!!!!

Sergiy Lavrynenko Feb 25, 2003 - 5:45 AM

Hi,

Have a big problem? :-) Do not let it get you down!

It is possible to have any classes derived from MFC classes in separated MFC extension DLL. And it is possible to use these classes in the MFC-based EXE-project with or without Prof-UIS library. Please verify that your DLL is an MFC extension DLL - NOT a regular DLL with MFC usage. Your DLL should not have own CWinApp derived class.

In your EXE project you can use instances of MFC based classes which are:
- created in your EXE code;
- created in MFC extension DLLs which are used in your EXE;

In your EXE project you **CAN NOT** use instances of MFC based classes which are created in MFC regular DLLs.

You can send me a letter with your EXE/DLL projects and I will help you.

Regards, Sergiy.