home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / mswindo / programm / misc / 3303 < prev    next >
Encoding:
Text File  |  1992-11-08  |  1.0 KB  |  24 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!utcsri!torn!watserv2.uwaterloo.ca!watmath!undergrad.math.waterloo.edu!cayley.uwaterloo.ca!cwvernon
  3. From: cwvernon@cayley.uwaterloo.ca (C. Vernon)
  4. Subject: Re: Changing Window's focus: possible?
  5. Message-ID: <BxEn7p.5Cx@undergrad.math.waterloo.edu>
  6. Sender: news@undergrad.math.waterloo.edu
  7. Organization: University of Waterloo
  8. References: <682@lax.lax.pe-nelson.com> <1992Nov5.145745.3278@hyper.hyper.com> <6NOV199207570849@zeus.tamu.edu>
  9. Date: Sun, 8 Nov 1992 16:02:13 GMT
  10. Lines: 12
  11.  
  12. In article <6NOV199207570849@zeus.tamu.edu> sam4628@zeus.tamu.edu writes:
  13. >P.S.  I typed in the HELLOWIN example out of Petzold (using BC++) and got
  14. >it to work with minor mods.  However, I get a warning that I'm trying to
  15. >export a non-public function when I include my window proc in the EXPORT
  16. >line of the DEF file.  Any suggestions?
  17.  
  18. Did you use the "_export" keyword when defining your functions like:
  19.  
  20. long FAR PASCAL _export WndProc...
  21.  
  22. Also, Borland C++ does not need an export section in the .def file.
  23.  
  24.