Registering a C Plug In
Posted: Fri Jul 01, 2005 9:33 am
Hi,
I am trying to register a shared object created from C code for an Ascential Plug In. The code was ported from a SUN Solaris 5.8 to an AIX 5.3. The code worked fine in the Solaris environment but now gives me an error code of -3 when trying to register the shared object. The documentation indicates that this is because the code is lacking the DllMain() and DSCMagicStageTypeFunc(). As it turns out the code is lacking these two functions. However, that is all the documentation says, it does not say what these functions are responsible for or how they should be written. Does anyone have any idea on this ?
I am trying to register a shared object created from C code for an Ascential Plug In. The code was ported from a SUN Solaris 5.8 to an AIX 5.3. The code worked fine in the Solaris environment but now gives me an error code of -3 when trying to register the shared object. The documentation indicates that this is because the code is lacking the DllMain() and DSCMagicStageTypeFunc(). As it turns out the code is lacking these two functions. However, that is all the documentation says, it does not say what these functions are responsible for or how they should be written. Does anyone have any idea on this ?