Christian Froeschlin wrote:
> Christian Froeschlin wrote:
>
>> Now practise all three methods using cmd.exe before attempting
>> to spawn povray from your C++ application ;)
>
> I belatedly realized you have the problem only from your C++
> application. But the steps there should be identical. The easiest
> method is probably (C), a simple system("pvengine.exe") should
> work after the PATH variable has been set globally, and it
> does not require you to hardcode the path into your app.
But I would want something like this to work for everybody who downloads
my program. I wouldn't want them to have to set up environment variables
just for my program. With POV's default behavior of installing to
personal user directories these days, the whole issue just becomes more
tangled. I might be missing something though...
Post a reply to this message
|