stbenge wrote:
> 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...
It's possible POV-Ray installer stores its installation location in the
registry. You'd have to look there.
Post a reply to this message
|