Guidelines
When building Object Interface for C++ applications, observe the following guidelines:
- Linkage: the shared object library factory
routine must have C linkage, not C++ linkage. For example:
extern "C" ITValue *makePoly3D(ITMVDesc *mv);
- Mapping changes: if the map file changes after a client application has loaded a shared object library, the application must flush its in-core map and reload (by calling the ReloadMapFiles method of the ITFactory class).