home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / os2 / programm / 4700 < prev    next >
Encoding:
Internet Message Format  |  1992-09-02  |  1020 b 

  1. Path: sparky!uunet!van-bc!rsoft!mindlink!a133
  2. From: Duane_Eddingfield@mindlink.bc.ca (Duane Eddingfield)
  3. Newsgroups: comp.os.os2.programmer
  4. Subject: Link386 Questions
  5. Message-ID: <14806@mindlink.bc.ca>
  6. Date: 3 Sep 92 05:02:17 GMT
  7. Organization: MIND LINK! - British Columbia, Canada
  8. Distribution: world
  9. Lines: 20
  10.  
  11.    I have been working my way thru "Programming the OS/2 Presentation Manager"
  12. very happily until I got to page 44. The code example says:
  13.  
  14.    MRESULT EXPENTRY ClientWndProc (. . . ).  Sounds good except that Link386
  15. says that ClientWndProc is undefined. I look in OS2DEF.H and find two lines:
  16.  
  17.    define APIENTRY
  18.    define EXPENTRY
  19.  
  20.    Seems to me that these should be defined to something... Charles Petzold
  21. says they are #define EXPENTRY far pascal. I didn't try this as I don't think
  22. that GCC 2.1 is going to believe that.
  23.  
  24.    Could someone please point out what silly mistake I am making :-)
  25.  
  26.    Thanks (and I promise to post the nifty GIF viewer that I am trying to
  27. construct with this).
  28.  
  29. Duane E...
  30.  
  31.