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 ?
Registering a C Plug In
Moderators: chulett, rschirm, roy
-
ray.wurlod
- Participant
- Posts: 54595
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Welcome aboard! :D
That's a pretty heavy duty first post! Obviously placing stubs (including these functions but without having them do anything) would overcome the registration checks, but are these functions essential? I have not played with this interface since version 5.2, and neither of the functions is familiar to me.
My guess is that DSCMagicStageTypeFunc() is a way to differentiate the stage type as server, parallel or mainframe (but how???). I have no idea about DllMain().
You might be better off posting on Ascential Developer Net where vendor's personnel are permitted to respond, or asking directly through your support provider.
May I ask what version of the Plug-In Writer's Guide you are using?
That's a pretty heavy duty first post! Obviously placing stubs (including these functions but without having them do anything) would overcome the registration checks, but are these functions essential? I have not played with this interface since version 5.2, and neither of the functions is familiar to me.
My guess is that DSCMagicStageTypeFunc() is a way to differentiate the stage type as server, parallel or mainframe (but how???). I have no idea about DllMain().
You might be better off posting on Ascential Developer Net where vendor's personnel are permitted to respond, or asking directly through your support provider.
May I ask what version of the Plug-In Writer's Guide you are using?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.