Objective Grid: Initializing an extension DLL

Article ID: 470
Last updated: 25 Apr, 2018
Article ID: 470
Last updated: 25 Apr, 2018
Revision: 3
Views: 1754
Posted: 11 Jan, 2001
by Meltreger B.
Updated: 25 Apr, 2018
by Meltreger B.

Problem

 


I have created a extension DLL that uses OG. When I click on a selected column header and try to drag it, I get an ASSERT in CGXDragLineWnd::CreateWnd().  This did not happen with OG 1.2. What am I doing wrong?

 

 


Cause

 


The initialization of Dlls has changed slightly. Instead of calling GXInit() and creating a CDynLinkLibrary from your DllMain routine, you should provide a Init() method for your Dll and there create a CDynLinkLibrary object and call GXInit().

 

 


Action

 


Take a look at the FAQ How can I create a 32-Bit extension DLL that uses Objective Grid?
 

This article was:   Helpful | Not helpful
Report an issue
Article ID: 470
Last updated: 25 Apr, 2018
Revision: 3
Views: 1754
Posted: 11 Jan, 2001 by Meltreger B.
Updated: 25 Apr, 2018 by Meltreger B.

Others in this category