Re: CONTROL Handle


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Barbara Brazil on January 26, 2021 at 09:20:25:

In Reply to: CONTROL Handle posted by Robert G Laurin on January 25, 2021 at 13:53:09:

Hey, Robert, playing in the sandbox, eh? :-) Well, the Wiki Sandbox is just that - only for playing. I think many years ago that page was created just to document some possible XAP extensions. I gave it a try outside of XAP, just issuing the CONTROL to LUN 0. I got E38 - Function Not Supported.

So, about ShellExecute... The result returned is only an indication of the success or failure of the launch. Anything <= 32 indicates failure and more specific info can be found for each value. A return value of 42, being > 32, just indicates that it was successful. It's not the handle.

ShellExecute just passes the action off to Windows. There's no way for you to terminate the started process thru Comet. For example if you launch a .jpg the only way to terminate the application launched for that is to close it manually. ShellExecuteWait is similar except that if the application was written to return a result it will do that when it's done. Your IB program will wait to get a result before moving on.

That's my take on all of this. If someone else has something to add or doesn't agree with what I've said, please speak up!




Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?  

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):





Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]