home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / mswindo / programm / misc / 4345 < prev    next >
Encoding:
Text File  |  1992-12-21  |  1.3 KB  |  31 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!usenet.coe.montana.edu!news.u.washington.edu!gibdo!tvp
  3. From: tvp@gibdo.engr.washington.edu ()
  4. Subject: Please tell me how to call LibMain from a DLL
  5. Message-ID: <1992Dec18.121114.3101@u.washington.edu>
  6. Sender: news@u.washington.edu (USENET News System)
  7. Organization: clearer than blir
  8. Date: Fri, 18 Dec 1992 12:11:14 GMT
  9. Lines: 20
  10.  
  11. Sorry for posting so many newbie questions lately, but I feel I'm
  12. getting close to completing my first windows utility. (Can't call it
  13. an app really... too small.) I need to know what to do when I first
  14. enter the code for my DLL. Like if my DLL is really for defining just
  15. one single function, what exactly do I need between the top of the
  16. file and:
  17.  
  18. int MyWinFunc(...){...}
  19.  
  20. Right now, I have only one Windows specific include file (windows.h)
  21. and a call to LibMain() that appears not to be working. Can someone
  22. e-mail me one of their typical DLLs so I can see how it's supposed to
  23. go?  Thanks in advance.
  24.  
  25. ------------------------------------------------------------------------
  26. Tad Perry      Internet:    tvp@gibdo.engr.washington.edu
  27.                CompuServe:  70402,3020
  28.                NIFTY-Serve: GBG01266
  29. ------------------------------------------------------------------------
  30.  
  31.