|
-
Sep 7th, 2007, 04:59 PM
#1
Thread Starter
Member
Shell function - how do I do this?
Hey all,
I'm needing to run an .EXE outside the program and return a number for its result (the .EXE is a serial number validity checker); 1 if the serial number is valid, and anything else isn't.
Right now, i'm using the Shell command/function to shell out to the .EXE, then checking the return variable assigned to the Shell command to see if its 1. I need it to return to the program only after it completes running the outside .EXE; it states by default it runs things asynchronously; is there a way to change this? It doesn't seem to work properly...am I doing this correctly?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|