|| | |||Browse by category|
Is it possible to statically link Objective Grid to an extension library?
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.