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-Programming Mailing List Archives

Return to [ 10 | September | 2005 ]

<< Previous Message <<


Date: Sat, 10 Sep 2005 12:41:46 PDT7
From: "Steven Levine" <steve53@earthlink.net >
Reply-To: scoug-programming@scoug.com
To: scoug-programming@scoug.com
Subject: SCOUG-Programming: OS/2 Toolkit Programming and Watcom

Content Type: text/plain

In <20050910110340-61571-7@scoug.com>, on 09/10/05
at 11:03 AM, "Harry Motin" said:

>What I'm trying do to is write c-code for a commandline executable
>program (compiled and created by the Watcom compiler). I want the
>executable to return the "ProgDetails" of a WPPROGRAM object instance (=
a
>WPPROGRAM object on my desktop).

This is non-trivial. You might say I can do this with with REXX and Henk=

Kelder's wptools.dll so why can't I do this from C code? There are
several reasons. The major one is that WPTOOLS.DLL goes through the back=

door which means it can only support the WPS types it understands.

What you might want to look at is using Rich Walsh's RWS server

http://hobbes.nmsu.edu/pub/incoming/rws060.zip

It allows arbitrary applications access to acces arbitrary WPS services.

>Error! E2038:_wpQueryProgDetails_ is an undefined reference
>Error! E2038:_wpAllocMem_ is an undefined reference
>file wpQueryProgDetails.obj(...,): undefined symbol _wpQueryProgDetails_=

>file wpQueryProgDetails.obj(...,): undefined symbol _wpAllocMem_

This is to be expected and will not change.

>Here's my code for WpQueryProgDetails.c:

You need to review the WPS Programming Guide to understand why what you
are trying can't possibly work.

>char *Self =3D ""; /*Remove this one after I fi=
gure
>out about the WPProgram data type*/

Not that it will help your code, but Self is a pointer to a SOMObject.

HTH,

Steven

--
----------------------------------------------------------------------
"Steven Levine" MR2/ICE 2.67 #10183 Warp4.someth=
ing/14.100c_W4
www.scoug.com irc.fyrelizard.com #scoug (Wed 7pm PST)
----------------------------------------------------------------------

=====================================================

To unsubscribe from this list, send an email message
to "steward@scoug.com". In the body of the message,
put the command "unsubscribe scoug-programming".

For problems, contact the list owner at
"postmaster@scoug.com".

=====================================================


<< Previous Message <<

Return to [ 10 | September | 2005 ]



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.