🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #1820

Need help on DosQueryProcAddr

#1820
From: Erik van Linstee
Date: Tue, 10 Nov 1992 20:25
31 lines
1534 bytes
Hi,

I am currently working on the RCS 5.6.4 port to OS/2.
The original code was ported using Borland and MS C.
Both have a function called DosProcAddr that has
3 arguments. I am quite sure that this is the OS/2 emx
function DosQueryProcAddr. However, this function has
4 arguments. I inserted a dummy, and it compiles fine
except that it says:

ms/loginos2.c: In function `getlogin':
ms/loginos2.c:77: warning: passing arg 4 of `DosQueryProcAddr' from incompatible
 pointer type
ms/loginos2.c:88: warning: passing arg 4 of `DosQueryProcAddr' from incompatible
 pointer type

The code compiles and links fine, but I have no means of testing
whether the dynamic linking actually function, since I have
no netware stuff, to which it is supposed to link.

Can someone give me the syntax of this function call, maybe?

Erik



-- 
Erik van Linstee   |   Delft University of Technology   |   I'll be back ... 
----
   We are god, 'cause only we can create the idea of his existence
   in our holy brains...  (Yello)
Technical Details
Message-ID: <1992Nov10.202532.20739@donau.et.tudelft.nl>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sun4nl!dutrun!donau!dutecaj.et.tudelft.nl!linstee

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sun4nl!dutrun!donau!dutecaj.et.tudelft.nl!linstee
From: linstee@dutecaj.et.tudelft.nl (Erik van Linstee)
Subject: Need help on DosQueryProcAddr
Message-ID: <1992Nov10.202532.20739@donau.et.tudelft.nl>
Sender: news@donau.et.tudelft.nl (UseNet News System)
Nntp-Posting-Host: dutecaj.et.tudelft.nl
Organization: Delft University of Technology, Dept. of Electrical Engineering
Date: Tue, 10 Nov 1992 20:25:32 GMT
Lines: 31