|
|
Hi,
I really have problems in writing a GUI-extension for POV-Ray for
Windows. I already got the example from Pete Goodwin in
binaries.programming, but I don't know how to modify it to compile it
with Visual C++ 4.0.
I created a DLL directly from the example file "guidemo.c" in the
povray souce code, but it doesn't work by now. I think I don't provide
a menu handle in the correct way, I'm really a bit desperated ;-)
What I finally want to do is to have an extension to get the data from
POV-Ray for creating a preview-picture - like the texture editor of
Moray for Windows - in a program that I'm working on.
Could anybody help me with tips, hints for reading (except from
"guidemo.c") or better a little example code for Visual C++ that is at
least required for an extension????
Many thanks in advance,
Friedemann
Friedemann Schmidt
Fri### [at] Stonescom
Raytracing-Gallery: http://www.rz.fhtw-berlin.de/~s0049669
Post a reply to this message
|
|
|
|
Hi,
I gave me the answer myself ;-)
Because I never wrote a DLL before, I made a little mistake by
exporting the needed "PovGuiExtensionGetPointers"-function from my
extension file.
BTW a little hint for those who don't know: If you call "pvengine.exe"
with the commandline parameter "/DEBUG", a file "povray.dbg" will be
written in the root of drive C:. This file could be very useful for
finding errors in GUI-extensions...
Bye,
Friedemann
Friedemann Schmidt
Fri### [at] Stonescom
Raytracing-Gallery: http://www.rz.fhtw-berlin.de/~s0049669
Post a reply to this message
|
|