home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / os2 / programm / 6319 < prev    next >
Encoding:
Text File  |  1992-11-10  |  1.5 KB  |  43 lines

  1. Newsgroups: comp.os.os2.programmer
  2. Path: sparky!uunet!mcsun!sun4nl!dutrun!donau!dutecaj.et.tudelft.nl!linstee
  3. From: linstee@dutecaj.et.tudelft.nl (Erik van Linstee)
  4. Subject: Need help on DosQueryProcAddr
  5. Message-ID: <1992Nov10.202532.20739@donau.et.tudelft.nl>
  6. Sender: news@donau.et.tudelft.nl (UseNet News System)
  7. Nntp-Posting-Host: dutecaj.et.tudelft.nl
  8. Organization: Delft University of Technology, Dept. of Electrical Engineering
  9. Date: Tue, 10 Nov 1992 20:25:32 GMT
  10. Lines: 31
  11.  
  12. Hi,
  13.  
  14. I am currently working on the RCS 5.6.4 port to OS/2.
  15. The original code was ported using Borland and MS C.
  16. Both have a function called DosProcAddr that has
  17. 3 arguments. I am quite sure that this is the OS/2 emx
  18. function DosQueryProcAddr. However, this function has
  19. 4 arguments. I inserted a dummy, and it compiles fine
  20. except that it says:
  21.  
  22. ms/loginos2.c: In function `getlogin':
  23. ms/loginos2.c:77: warning: passing arg 4 of `DosQueryProcAddr' from incompatible
  24.  pointer type
  25. ms/loginos2.c:88: warning: passing arg 4 of `DosQueryProcAddr' from incompatible
  26.  pointer type
  27.  
  28. The code compiles and links fine, but I have no means of testing
  29. whether the dynamic linking actually function, since I have
  30. no netware stuff, to which it is supposed to link.
  31.  
  32. Can someone give me the syntax of this function call, maybe?
  33.  
  34. Erik
  35.  
  36.  
  37.  
  38. -- 
  39. Erik van Linstee   |   Delft University of Technology   |   I'll be back ... 
  40. ----
  41.    We are god, 'cause only we can create the idea of his existence
  42.    in our holy brains...  (Yello)
  43.