home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!van-bc!rsoft!mindlink!a133
- From: Duane_Eddingfield@mindlink.bc.ca (Duane Eddingfield)
- Newsgroups: comp.os.os2.programmer
- Subject: Link386 Questions
- Message-ID: <14806@mindlink.bc.ca>
- Date: 3 Sep 92 05:02:17 GMT
- Organization: MIND LINK! - British Columbia, Canada
- Distribution: world
- Lines: 20
-
- I have been working my way thru "Programming the OS/2 Presentation Manager"
- very happily until I got to page 44. The code example says:
-
- MRESULT EXPENTRY ClientWndProc (. . . ). Sounds good except that Link386
- says that ClientWndProc is undefined. I look in OS2DEF.H and find two lines:
-
- define APIENTRY
- define EXPENTRY
-
- Seems to me that these should be defined to something... Charles Petzold
- says they are #define EXPENTRY far pascal. I didn't try this as I don't think
- that GCC 2.1 is going to believe that.
-
- Could someone please point out what silly mistake I am making :-)
-
- Thanks (and I promise to post the nifty GIF viewer that I am trying to
- construct with this).
-
- Duane E...
-
-