POV-Ray : Newsgroups : povray.programming : Passing custom key presses to a POV scene? : Re: Passing custom key presses to a POV scene? Server Time
2 May 2024 15:10:21 EDT (-0400)
  Re: Passing custom key presses to a POV scene?  
From: Nicolas Alvarez
Date: 18 Oct 2009 20:08:02
Message: <4adbade1@news.povray.org>
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

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