01-28-2007 10:40 PM
01-29-2007 01:03 AM
Hi,
Thats is correct about the arguments.
If this is the complete exe code, then its no surprise you are not seeing the values.
You need to add the code to load the UIR to obtain the value of panelHandle.
You need to display the panel.
You need to call RunUserInterface(), or at least put in some code so that the program stops for a while.
Trying running your code in CVI and set abreakpoint at the beginning, then you can check the values for argc and argv.
Regards
Ray Farmer
01-29-2007 07:44 AM
01-29-2007 08:15 AM
Thank Jonathan, it works perfectly form msdos. If you do not mind can I ask you one more deep detail:
Can I do the same execution, but not in msdos environment? Let say I want to call cpass.exe from CVI (ie: similar LaunchExecutable ("")) but with the arguments (cpass Hello World) ... is there a way to do it?
Many thanks
01-29-2007 08:16 AM
01-29-2007 08:17 AM
01-30-2007 03:05 PM
Hi Jonathan,
The way you show me that run directly from msdos (cmd), but what I need is used from CVI program.
Anyway, I did search through help file an dfinally found the command system (...) and it works perfectly
Thank for trying helps