POV-Ray : Newsgroups : povray.programming : GUI Extension Problem : Re: GUI Extension Problem Server Time
29 Jul 2024 04:28:57 EDT (-0400)
  Re: GUI Extension Problem  
From: Winefred Washington
Date: 1 Oct 1998 18:26:17
Message: <3613f379.0@news.povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.