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 » Child frame in a DLL Collapse All
Subject Author Date
Emmanuel Verguet Jun 4, 2007 - 9:29 AM

Before starting to code, I want to known if it is possible to create a child frame (with menu, toolbar, ...) in a DLL : new CMultiDocTemplate will be in my DLL and this object will be added with AddDocTemplate() in my EXE, with Prof-UIS.

Thanks.

Emmanuel Verguet Jun 6, 2007 - 12:56 AM

Perfect ;) Thank you.

Technical Support Jun 5, 2007 - 9:28 AM

The DLL project must be of the MFC extension DLL project type. If this DLL is loaded dynamically, the AfxLoadLibrary() MFC API should be used instead of the LoadLibrary() Win32 API. This DLL can have several exported functions for such task as registering a document template. You can use this DLL from MFC based EXE only, but this should not be a restriction.