🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #2625

Re: my first windows program

#2625
From: CADSI
Date: Thu, 16 May 1991 22:51
37 lines
2123 bytes
From article <498@bally.Bally.COM>, by siva@bally.Bally.COM (Siva Chelliah/50000):
> 
> I have the SDK for Windows 3.0.  I copied a sample program (snap3.c) from a
> magazine and tried to get it working.  I got numerous link errors (unresolved
> externals )
> Among them are :
> 
>     CREATEWINDOW in file(s)
>         snap3.obj (snap3.c)
> 
>     FATALAPPEXIT in file(s)
>       c:\appl\windev\lib\SLIBCEW.LIB (windows\fatal.asm)
> 
>     OUTPUTDEBUGSTRING in file(s)
>       c:\appl\windev\lib\SLIBCEW.LIB (dos\nmsghdr.asm)
> 
> I am going crazy.    I used the following link command in a make file
>  
>        link /NOD snap3,,,libw slibcew,snap3.def
> 
>  1) using lib I found out that CreateWindow is there in the library libw.
>  2) I do not understand how you can give an ASCII file (sanp3.def) to the
>     linker.
>  3) Do I have to do something after installing the SDK  (compile something ?)?

You need to take the correct linker off your MSC diskettes.  When MSC installs
itself, it does not install the segmented linker (at least this was the
case at MSC 5.1 and I quit MSC at that rev.).  I think the linker was on
disk 6 at that rev, but I can't totally remember.  ANyway, I think if
you peruse your disks, you'll find another disk.  If this is still the
case with MSC, this maybe ought to go into the FAQ.

|----------------------------------------------------------------------------|
|Tom Hite					|  The views expressed by me |
|Manager, Product development			|  are mine, not necessarily |
|CADSI (Computer Aided Design Software Inc.	|  the views of CADSI.       |
|----------------------------------------------------------------------------|
Technical Details
Message-ID: <1991May16.225153.12003@ccad.uiowa.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!ns-mx!ccad.uiowa.edu!cadsi
References: <498@bally.Bally.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!ns-mx!ccad.uiowa.edu!cadsi
From: cadsi@ccad.uiowa.edu (CADSI)
Newsgroups: comp.windows.ms.programmer,comp.windows.ms
Subject: Re: my first windows program
Message-ID: <1991May16.225153.12003@ccad.uiowa.edu>
Date: 16 May 91 22:51:53 GMT
References: <498@bally.Bally.COM>
Organization: CAD-Research, U. of Iowa, Iowa City, Iowa
Lines: 37