|
-
Aug 27th, 2013, 11:30 AM
#1
Thread Starter
Frenzied Member
[RESOLVED] command line and new object
I run into a scenario that I am stuck. I have an exe, and in the program, there's this sequence:
1. Create an object provided by API.
2. Call that object to login.
3. On logoff, call that object to logoff
This is working fine; however, now what if I want to pass in command line to my program to logoff at any time that program is running. So in step 2, once the program is logged in. I want to be able to have a shortcut that I can point to that program.exe /logoff and it should call the step 3. It's not working so far, my guess is the object is a new object now and it doesn't tie to that existing object.
Perhaps, pass in the command line to the existing running exe? not sure if that's achieveable.
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
|