| | | | Browse by category |
Article ID: 307
Last updated: 11 Jun, 2018
Problem
Is it possible to statically link Objective Grid to an extension library?
Cause
Action
Yes, that's also possible. The steps are the same as listed in the KB article How can I create a 32-Bit extension DLL that uses Objective Grid?.
Additionally, you should make some changes in testdll1:
- C/C++ settings: Make sure neither _GXDLL nor _GXEXT is specified.
- Resources: You need to include gxresrc.h and gxres.rc into the resources.
NOTE: If you link your DLL statically to the grid, you should not link to Objective Grid in your application. Otherwise you will have two copies of the CRuntimeClass objects for both your extension DLL and your application. You should consider linking to OG as shared DLL in such a case.
This article was:
Helpful |
Not helpful
Report an issue
Article ID: 307
Last updated: 11 Jun, 2018
Revision: 3
Views: 1930
Posted: 12 Jan, 2001 by
Meltreger B.
Updated: 11 Jun, 2018 by
Meltreger B.
Others in this category
Powered by KBPublisher (Knowledge base software)