POV-Ray : Newsgroups : povray.programming : GUI Extension problem : Re: GUI Extension problem Server Time
29 Jul 2024 06:27:37 EDT (-0400)
  Re: GUI Extension problem  
From: David Clutter
Date: 12 Aug 1998 12:32:10
Message: <35D1B4EA.16BDDCA8@ncsa.uiuc.edu>
Problem solved.  VC++ 5.0 doesn't support __export, so you need to write
a .DEF file (and use the associated command line switch) to explicitly
export the PovGuiExtensionGetPointers function.  You can use the dumpbin
utility to see exactly which functions are exported from a DLL. 

DC
clu### [at] ncsauiucedu

David Clutter wrote:
> 
> I am trying to write a GUI Extension for POV-Ray version 3.01.  I am
> using VC++ 5.0 on a WinNT 4.0 machine.  I started a new Win32 dll
> project and added guidemo.c to the project.  I compiled and built the
> project without problem.  I added the path to my .pge file in
> pvengine.ini.  Now when I run POV-Ray, I get the following message:
> 
> Could not get Init address for GUI Extension DLL....
> 
> I believe the problem lies with the function PovGuiExtensionGetPointers
> in guidemo.c.  I made no changes to the original guidemo.c source code
> for this function.
> 
> Can anyone offer any pointers? (pun intended)
> 
> Dave Clutter
> clu### [at] ncsauiucedu


Post a reply to this message

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