🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

my first windows program

#2623
From: Siva Chelliah/50000
Date: Thu, 16 May 1991 19:14
35 lines
1550 bytes
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 ?)?
 


Please help.  I am trying to run my first windows program.

Thanks
Siva        
-- 
/=*=*=*=*=*=*=*=*=*=*=*=*=*=*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\
| Siva@bally.bally.com     | He who asks is a fool for five minuites,|
| Bally Systems,           | but he who does not ask remains a fool  |
| Reno,  NV 89502          | forever      -Old Chinese saying        |
Technical Details
Message-ID: <498@bally.Bally.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!apple!tahoe!bally!siva

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!apple!tahoe!bally!siva
From: siva@bally.Bally.COM (Siva Chelliah/50000)
Newsgroups: comp.windows.ms.programmer,comp.windows.ms
Subject: my first windows program
Keywords: program, link,library
Message-ID: <498@bally.Bally.COM>
Date: 16 May 91 19:14:50 GMT
Organization: The Pros From Dover
Lines: 35