🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #4531

Re: DLLs

#4531
From: christopher johnson
Date: Sat, 02 Mar 1996 21:18
23 lines
1523 bytes
david@baldar.abs.net wrote:

> Are there any good references out there on writing DLLs?  I just got MS C++ 
> 4.0.  Writing the .c is easy.  But the .def and .mak still eludes me (the 
> online notes with MS C++ leave something to be desired).  Any recommendations? 
>   Thanks.
> 				Dave

Documentation on writing DLLs is pretty easily come by at the bookstore. 
I think most Visual C++ tutorial books should have a chapter or so on that.

As for the .def and .mak files, if version 4.0 is anything like earlier
versions, just go ahead and create a new project.  When you have a chance
to change the Application type, make it a DLL, and then add all the code
files you need in your project.  The framework takes care of creating a
.mak file for you.  As for the .def file, if you don't add one to your
project, it should ask if you would like one automatically generated on
the first compile.  Do so, and then tweak it to your needs.

Hope that wasn't just a pile of twaddle.

				Chris Johnson
				hbmus009@csun.edu
Technical Details
Message-ID: <4hae01$9id@dewey.csun.edu>
Path: arc1-ca.pugleaf.net!csun.edu!hbmus009
References: <NEWTNews.825739945.5620.david@baldar.abs.net>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!csun.edu!hbmus009
From: hbmus009@csun.edu (christopher johnson)
Newsgroups: comp.std.c,comp.lang.c,comp.lang.basic.visual.misc
Subject: Re: DLLs
Followup-To: comp.std.c,comp.lang.c,comp.lang.basic.visual.misc
Date: 2 Mar 1996 21:18:57 GMT
Organization: California State University, Northridge
Message-ID: <4hae01$9id@dewey.csun.edu>
References: <NEWTNews.825739945.5620.david@baldar.abs.net>
NNTP-Posting-Host: louie.csun.edu
X-Newsreader: TIN [version 1.2 PL2]