Ron,
Thanks for your help. I changed the name and the procedure is now being
called.
Ron Parker wrote in message <3613a086.0@news.povray.org>...
>>Also, does anyone know how to use the __declspec(dllexport) directive
>>instead of a separate DEF file?
>
>Here's an example of a function declaration using declspec:
>
>__declspec( dllexport ) void MyFunction( void )
>
>You'll want to do this in both the prototype and the actual definition of
the
>function.
>
I tried using the declspec shown below:
__declspec(dllexport) DWORD WINAPI PovGuiExtensionGetPointers (int RecSize,
GuiPointerBlock *PointerBlock)
but I get the Init message failure because PovRay cannot find the address of
PovGuiGetPointer routine. The guidemo file
does not have the routine prototyped.
Winefred
Post a reply to this message
|