G
Guest
Sorry for the confusing topic, I wasn't sure how to word this exactily.
I have a program that needs to read a variable in from the outside.
Specifically, the program will be run like this:
Set WshShell = CreateObject("WScript.Shell")
WshShell.Exec("myProgram.exe 123456")
end sub
myProgram.exe is a VC++ application
123456 is a variable I want to be able to read into this VC++ application.
Any advice on how to do this would be greatly appreciated. I tried looking
around for an answer but I could not find a decent reference
I have a program that needs to read a variable in from the outside.
Specifically, the program will be run like this:
Set WshShell = CreateObject("WScript.Shell")
WshShell.Exec("myProgram.exe 123456")
end sub
myProgram.exe is a VC++ application
123456 is a variable I want to be able to read into this VC++ application.
Any advice on how to do this would be greatly appreciated. I tried looking
around for an answer but I could not find a decent reference