🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.tools.owl
Article #45

Re: How do I link a library to my program??

#45
From: Kiran Muglurmath
Date: Mon, 11 Mar 1996 05:53
31 lines
2040 bytes
Kurt Watzka wrote:
> 
> Kiran Muglurmath <kiranm@fnx.com.au> writes:
> 
> >> In article <313d3c58.4431866@news.csus.edu>, wleong@sfsu.edu says...
> >> >
> >> >    I have been given a library file (winsock.lib) which contains
> >> >routines that I need to use in my program. But even if I include it
 
If the library in question is an import library for a DLL, then you must
also set the link flag to Dynamic linking in TargetExpert. If it is set
to Static linking, you will see the same symptoms you described.
 
> Neither our Watcom 10.5 nor the brand new Visual C++ 4.0 compilers
> have a TargetExpert. Have I missed a significant extension to the
> definition of the C programming language, or is this answer limited
> to a special implementation that the original poster may or may not
> have?
> 
> If you post "solutions" that are limited to _one_ implementation
> of a language, at least say so in your "answer".

The above posting appeared in comp.os.ms-windows.programmer.tools.owl
newsgroup, which deals with issues related to the ObjectWindows
framework offered with Borland C/C++ compilers. The above solution
applies to that compiler.

If you need solutions to Watcom or Visual C++ compiler related problems,
then surely the owl newsgroup is the wrong one to post it to. 

Kiran Muglurmath.
Technical Details
Message-ID: <3143BFEE.167EB0E7@fnx.com.au>
Path: arc1-ca.pugleaf.net!news.aus.world.net!usenet
References: <313d3c58.4431866@news.csus.edu> <4hkj89$iql@nnrp1.news.primenet.com> <313E7F15.FF6D5DF@fnx.com.au> <4hmif0$kff@sparcserver.lrz-muenchen.de>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.aus.world.net!usenet
From: Kiran Muglurmath <kiranm@fnx.com.au>
Newsgroups: comp.os.ms-windows.programmer.tools.owl,comp.lang.c
Subject: Re: How do I link a library to my program??
Date: Mon, 11 Mar 1996 15:53:50 +1000
Organization: AUSNet Services pty. ltd.
Message-ID: <3143BFEE.167EB0E7@fnx.com.au>
References: <313d3c58.4431866@news.csus.edu> <4hkj89$iql@nnrp1.news.primenet.com> <313E7F15.FF6D5DF@fnx.com.au> <4hmif0$kff@sparcserver.lrz-muenchen.de>
NNTP-Posting-Host: 198.142.77.2
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.0 (X11; I; SunOS 4.1.3_U1 sun4m)
To: Kurt Watzka <watzka@stat.uni-muenchen.de>