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

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!sun-barr!cs.utexas.edu!csc.ti.com!tilde.csc.ti.com!mksol!mksol!dowte
  3. From: dowte@mksol.dseg.ti.com (Terry E. Dow)
  4. Subject: Screen Saver link error.
  5. Message-ID: <1992Nov11.213206.11251@mksol.dseg.ti.com>
  6. Sender: dowte@mksol (Terry E. Dow)
  7. Nntp-Posting-Host: localhost
  8. Organization: Texas Instruments
  9. Date: Wed, 11 Nov 1992 21:32:06 GMT
  10. Lines: 24
  11.  
  12. I am using Borland C++ 3.1 & AF and found a copy of a screen saver source code in
  13. "Windows Tech Journal" (June 1992, page 27).  I got a copy of scrnsave.h and .lib
  14. from a friend and placed them then the /borlandc/include and ./lib directory
  15. respectively.  I am using the BCW IDE to build.  I get through the compile, but I
  16. get a link error:
  17.  
  18. Compiling SSXORLIN.C:
  19. Warning SSXORLIN.C 137: Parameter 'lParam' is never used
  20. Warning SSXORLIN.C 141: Parameter 'hInstance' is never used
  21. Compiling SSXORLIN.RC:
  22. Linking SSXORLIN.EXE:
  23. Linker Error: Undefined symbol DEFSCREENSAVERPROC in module SSXORLIN.C
  24. Linker Error: Undefined symbol _MAIN in module WINMAIN
  25.  
  26. I have read around and have not been able to find how to knowing include the
  27. scrnsave.lib with the IDE.  I must be missing something simple.  If this sounds
  28. familiar to anyone, please let me know what I need to do to correct this.
  29.  
  30. Thanks to all who read this,
  31. -- 
  32. Terry E. Dow           |site: Spring Creek, building: 4, coorindates: 2N80
  33. Texas Instruments Inc  |voice #: 214 575-6758,  digital pager #: 214 314-3719
  34. PO Box 869305 M/S 8518 |Fax #: 214 575-6771, MSG id: DOWT, PC drop: PSK9
  35. Plano, Tx 75086, USA   |Internet adress: Terry.Dow@dseg.ti.com
  36.