Does anyone know how to make *.lib files (if even possible)? I think you do it by making a DLL file, but I ain't sure.
Does anyone know how to make *.lib files (if even possible)? I think you do it by making a DLL file, but I ain't sure.
they are sometimes produced with dlll files if you want one.
ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.
Take it you mean DLL.......and I kinda do, but I mainly wanna know how to make one incase I need to for some reason
what compiler/environment
BloodeShed Dev-C++ 4.01
hmmm I donno
flashdaddee.com rocks!!!
well when you selecting a project type or setting the compile/link options there should be something to the effect of DLL or Dynamic Link Library thats what you want!
as for impleentation... heres an ancient post that explains.
http://www.cprogramming.com/cboard/s...ighlight=dll.h
ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.
I use Dev-C++ 4.01. Click File->New Project and select DLL. Then, put in the information in the dialog box that comes up. When you put in your own code. Click Project->Project Options. Be sure that:
Create A DLL
is checked. That should do it!
Website(s): http://www16.brinkster.com/trifaze/
E-mail: [email protected]
---------------------------------
C++ Environment: MSVC++ 6.0; Dev-C++ 4.0/4.1
DirectX Version: 9.0b
DX SDK: DirectX 8.1 SDK
Thanks.....I'll try that.
[EDIT]I got the *.dll file to compile after a little bit of getting it to work correctly, now comes the thing. I ain't got the *.lib file. I got the *.def. Or is the *.def file the *.lib file[/EDIT]
Last edited by Quantrizi; 05-07-2002 at 06:29 PM.
a .lib file is basically a .o file which is created before you get the .exe. there should be options to compile to a .o and not a .exe somewhere. when you compile this, you shouldnt have a main.
No, I got the *.def file only. I checked the Compile as DLL box, and it will compile, but there is no nothing. Unless I set up the thing wrong, I'll retry it.
Since you brought the subject up, i was always curious about making .lib files with a borland compiler. Anyone know?
Thanks
Discover the XBlue:
http://www.angelfire.com/my/bahairomania/freegui.html
I dunno if it's really possible. When I get home (i'm at school) I can give you a link to site about this
Dev-C++ uses .a files instead of .lib, but they are the same.
Website(s): http://www16.brinkster.com/trifaze/
E-mail: [email protected]
---------------------------------
C++ Environment: MSVC++ 6.0; Dev-C++ 4.0/4.1
DirectX Version: 9.0b
DX SDK: DirectX 8.1 SDK
Ok, thanks Syntax