SCOUG-Programming Mailing List Archives
Return to [ 10 |
September |
2005 ]
>> Next Message >>
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.
|