|
-
Aug 7th, 2003, 06:42 AM
#1
Thread Starter
Fanatic Member
Library/Module in Vis. Stud 6.0
OK, i'm in the process of writing up all the useful functions i have (such as some maths functions, debugging stuff), and have been told it would be easier, rather making .cpp & .h files that must be in every project, just to make either a library or a module.
Now, because i'm from VB, i'm not really sure what the difference is, or which one i should use.
What is also a problem is I can't figure out how in Visual Studio 6.0 i can create either of these.
Anyway, any advice?
(BTW, i'm guessing .dll's count as libraries)
sql_lall 
-
Aug 7th, 2003, 04:13 PM
#2
to compile a DLL, check this thread:
http://www.vbforums.com/showthread.p...hreadid=255261
What I would like to know is how to compile a .lib like the standard libraries, so i can simply include the header and not the cpp file in the project. i have several classes that i'm happy with and use among all my projects.
Every passing hour brings the Solar System forty-three thousand miles closer to Globular Cluster M13 in Hercules -- and still there are some misfits who insist that there is no such thing as progress.
-
Aug 8th, 2003, 07:25 AM
#3
Thread Starter
Fanatic Member
Thanks
Thanks for that
However, i had a look, and am still wondering two things:
1) How do you do the specifically in Visual Studio 6.0? Like, they mention project.def... and the @1, @2 bit is puzzling
2) What exactly is a module, what can you do with it, and how do you make one.
(the las bit is most important, cos i can look elsewhere for the other two)
sql_lall 
-
Aug 8th, 2003, 11:26 AM
#4
choose the Win32 Application as your project type. Then choose the following options:
[x] DLL
[x] Empty project
you can then add the .def file along with the rest of your files by choosing "Project -> Add New Item"
Every passing hour brings the Solar System forty-three thousand miles closer to Globular Cluster M13 in Hercules -- and still there are some misfits who insist that there is no such thing as progress.
-
Aug 11th, 2003, 01:21 AM
#5
For a static library just start a Win32 Static Library project.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|