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 ]

>> Next Message >>


Date: Sat, 10 Sep 2005 08:10:47 PDT7
From: "Harry Motin" <hmotin@sbcglobal.net >
Reply-To: scoug-programming@scoug.com
To: "SCOUG Programming" <scoug-programming@scoug.com >
Subject: SCOUG-Programming: OS/2 Toolkit Programming and Watcom

Content Type: text/plain

Hi,
I need some help with using the OS/2 Toolkit and the Watcom package together. I'm
trying to use the two Toolkit functions,

_wpQueryProgDetails(Self, pProgDetails, &ulSize)

_wpAllocMem(Self, ulSize, NULL)

The two above functions come directly from the WPS Programming Reference .*INF
files from the Toolkit.

When I make all of the *.c and *.h files, I get a compiler error that states that I have two
undefined references, as follows:

_wpQueryProgDetails_

_wpAllocMem_

In other words, these undefined references have an underscore ("_") at the end,
compared to my two functions, which don't have that. I gather that these undedefined
references are coming from the Toolkit library, which the Watcom compiler knows
about.

Now, when I change "_wpQueryProgDetails" to "_wpQueryProgDetails_" and remake, I
then get an error that I have an undefined references as follows:

_wpQueryProgDetails__

In other words, the single underscore at the end now becomes a double underscore.
Obviously, I don't know what's going on here.

Can anyone help me with this. Thanks for any information.
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-programming".

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

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


>> Next 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.