🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.programming
Article #16327

Re: Lib Files in Visual C++

#16327
From: Scott McPhillips
Date: Tue, 09 May 2000 00:00
18 lines
1795 bytes
Breezer wrote:
> 
> I have a file called UTIL.LIB which contains the class ARC16.  Can someone
> tell me how exactly I can include this file in my new project so I can use
> the class without this error:
> 
>     ARC16 Test;
> 
> ==>>"ARC16 : undeclared identifier"
> 
> Thanx

This error means you need an h file that defines the lib symbols.  
#include "util.h" to define the symbols for the compiler, and put the lib file
into the linker setting page to define the code for the linker.

-- 
Scott McPhillips [VC++ MVP]
Technical Details
Message-ID: <3918949A.E61AE191@REMOVETHIShome.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <8f9n0s$959$1@inf6serv.rug.ac.be>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1138df,65546f2e25e9431f
X-Google-Attributes: gid1138df,public
X-Google-Thread: 107324,65546f2e25e9431f
X-Google-Attributes: gid107324,public
X-Google-Thread: f959c,65546f2e25e9431f
X-Google-Attributes: gidf959c,public
X-Google-Thread: 104971,65546f2e25e9431f
X-Google-Attributes: gid104971,public
X-Google-Thread: fcea4,65546f2e25e9431f
X-Google-Attributes: gidfcea4,public
X-Google-Thread: 104d65,65546f2e25e9431f
X-Google-Attributes: gid104d65,public
From: Scott McPhillips <scottmcp@REMOVETHIShome.com>
Subject: Re: Lib Files in Visual C++
Date: 2000/05/09
Message-ID: <3918949A.E61AE191@REMOVETHIShome.com>
X-Deja-AN: 621323021
Content-Transfer-Encoding: 7bit
References: <8f9n0s$959$1@inf6serv.rug.ac.be>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: abuse@home.net
X-Trace: news1.rdc1.md.home.com 957912262 24.3.47.220 (Tue, 09 May 2000 15:44:22 PDT)
Organization: McPhillips Designs
MIME-Version: 1.0
NNTP-Posting-Date: Tue, 09 May 2000 15:44:22 PDT
Newsgroups: be.comp.programming,comp.os.ms-windows.programmer.tools.mfc,microsoft.public.vc.mfc,microsoft.public.vc.mfc.docview,microsoft.public.vc.mfcole,nl.comp.programmeren