SCOUG-HELP Mailing List Archives
Return to [ 13 |
November |
2007 ]
<< Previous Message <<
>> Next Message >>
Content Type: text/plain
On Mon, 12 Nov 2007 05:15:54 -0800, Harry Motin wrote:
>On Sun, 11 Nov 2007 20:46:06 -0800, Steven Levine wrote:
>
>>There are several ways to get this information.
>>
>>You neglected to mention which toolkit you are using, but the vast
>>majority supply the full pathname to the application in argv[0].
>Thank you. I'm using the IBM Developer's Toolkit, OS2TK45. I see argv reference in a
>few places in the online reference. I've never seen this array before and I'll have to
read
>up on it.
>HCM
>
>
>=====================================================
>
>To unsubscribe from this list, send an email message
>to "steward@scoug.com". In the body of the message,
>put the command "unsubscribe scoug-help".
>
>For problems, contact the list owner at
>"postmaster@scoug.com".
>
>=====================================================
>
>
>
Hello Everyone again,
Once again I'm trying to code a PM window application so that it can find the path to its
own executable file. I'm using the IBM OS/2 Developer's Toolkit, OS2TK45.
I've decided that what I really want to do is have the code find the handle to the
executable file (is this possible) and then from there, use "WinQueryObjectPath" to find
the path to the executable, given the file handle.
Am I on the right track here? Does the windowing code generate a handle for the
executable file? And if it does, how can I get that handle? Finally, can I then use that
handle as the "object handle" in the "WinQueryObjectPath" API call?
Thank you for any help on this!
HCM
=====================================================
To unsubscribe from this list, send an email message
to "steward@scoug.com". In the body of the message,
put the command "unsubscribe scoug-help".
For problems, contact the list owner at
"postmaster@scoug.com".
=====================================================
<< Previous Message <<
>> Next Message >>
Return to [ 13 |
November |
2007 ]
The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA 92799-6904, USA
Copyright 2001 the Southern California OS/2 User Group. ALL RIGHTS
RESERVED.
SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group.
OS/2, Workplace Shell, and IBM are registered trademarks of International
Business Machines Corporation.
All other trademarks remain the property of their respective owners.
|