TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Christian Scarborough
from: Mario Semo
date: 1995-09-05 13:05:12
subject: Finding a WPS object

Hello Christian,

On Aug 28 23:18 95, Christian Scarborough of 2:440/4.7 wrote:

 CS> Suppose I know the WPS handle of an object (usually a 

you mean a HOBJECT?

#define INCL_WIN
#include 
#include 

main(int argc, char *argv[], char *envp[])
{
 char szBuffer[1000];

 HAB hab = WinInitialize(0);
 HOBJECT hObject = WinQueryObject("");
 WinQueryObjectPath(hObject, szBuffer, sizeof(szBuffer));

 printf("%s\n",szBuffer);
 WinTerminate(hab);
 return 0;
}

 WARPED!, Mario

--- Msgedsq/2 2.2e
* Origin: LC/32 Development Team-Vienna-Austria (2:310/14.11)
SEEN-BY: 105/42 620/243 711/401 409 410 413 430 807 808 809 934 955 712/407
SEEN-BY: 712/515 628 704 713/888 800/1 7877/2809
@PATH: 310/14 1 24/999 2/777 105/42 712/515 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.