SCOUG Logo


Next Meeting: Sat, TBD
Meeting Directions


Be a Member
Join SCOUG

Navigation:


Help with Searching

20 Most Recent Documents
Search Archives
Index by date, title, author, category.


Features:

Mr. Know-It-All
Ink
Download!










SCOUG:

Home

Email Lists

SIGs (Internet, General Interest, Programming, Network, more..)

Online Chats

Business

Past Presentations

Credits

Submissions

Contact SCOUG

Copyright SCOUG



warp expowest
Pictures from Sept. 1999

The views expressed in articles on this site are those of their authors.

warptech
SCOUG was there!


Copyright 1998-2024, 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.

The Southern California OS/2 User Group
USA

SCOUG-HELP Mailing List Archives

Return to [ 13 | November | 2007 ]

<< Previous Message << >> Next Message >>


Date: Tue, 13 Nov 2007 18:32:12 -0800
From: "Harry Motin" <hmotin@sbcglobal.net >
Reply-To: scoug-help@scoug.com
To: < "scoug-help@scoug.com" > scoug-help@scoug.com >
Subject: SCOUG-Help: Window Programming Help

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.