Results 1 to 5 of 5

Thread: Library/Module in Vis. Stud 6.0

  1. #1

    Thread Starter
    Fanatic Member sql_lall's Avatar
    Join Date
    Jul 2002
    Location
    Up Above (i.e. AUS)
    Posts
    571

    Talking 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

  2. #2
    PowerPoster sunburnt's Avatar
    Join Date
    Feb 2001
    Location
    Boulder, Colorado
    Posts
    1,403
    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.

  3. #3

    Thread Starter
    Fanatic Member sql_lall's Avatar
    Join Date
    Jul 2002
    Location
    Up Above (i.e. AUS)
    Posts
    571

    Talking 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

  4. #4
    PowerPoster sunburnt's Avatar
    Join Date
    Feb 2001
    Location
    Boulder, Colorado
    Posts
    1,403
    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.

  5. #5
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    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
  •  



Click Here to Expand Forum to Full Width