GeExecuteProgram
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 03/05/2006 at 00:05, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 9x
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : C++ ;---------
Hi all,I need to run the Vray.exe executable from my plugin.
The bad is that i'm not able to pass parameters to this executable.es.
c:\vray\bin\x86\vray.exe -scenefile=c:\path\VrayForC4d.exeI tried to fill the first argument need by GeExecuteProgram with the complete name with parameters but it's not working.
any help?
Thanks in advance
Renato T. -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 03/05/2006 at 03:02, xxxxxxxx wrote:
As far as I can tell, GeExecuteProgram() does not take command line arguments, only two Filename classes: the executable and a file to be opened by the executable. Since the Filename class only represents a file path, other text would not work properly.
If you can substitute a batch file for the executable, you may be able to get the command line arguments passed in that way.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 03/05/2006 at 17:23, xxxxxxxx wrote:
Thanks Robert, it work
Now will be good to include the vray's libs on my project but there are a some redefinition that gave me a lots errors.