Hello guys,
I made it!!!!
When you compile a DLL containing a trigger you have to specify
/EXPORT:PDMDLLInit as argument for the linker (makefile sample provided by
PTC).
I work under Windows, I don't know if this must be done under other system.
Hope this could be helpful for someone...
Thanks to everyone
-Stefano
In data 14.05 11/11/2004, Stefano Berretta scrisse:
>Hi everybody,
>I followed the Intralink Toolkit User's Guide to write a very simple
>trigger that creates a file whenever PDM_ET_PIV_CREATE event occurs. It
>was only a framework for understanding trigger mechanims, but it does not
>work at all.
>
>When I do a check-in from Intralink this message appears:
>
>"Error loading dll LoadDll for the required trigger LoadDll. If it isn't
>required..."
>
>(I have the italian version, so this is the translation. The actual
>english message could be different...)
>
>I wrote two program. The first is the DLL containg the function that
>should be invoked by Intralink. The second is a program that creates the
>trigger and register it. It seems that Intralink could not find the DLL,
>but I put it in a directory in the PATH as stated in the manual. So what
>goes wrong?
>
>If you wish I could post the code.
>
>Any help would be appreciated...
>
>-Stefano
>---