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