Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Can someone please shoot me for my oversight?

Can someone please shoot me for my oversight?

Scheduled Pinned Locked Moved The Lounge
csharpvisual-studiotutorialquestion
8 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    John Aldrich
    wrote on last edited by
    #1

    I've apparently forgotten how to link libraries in Visual Studio. Either that or Microsoft doesn't want you to link libraries with your programs in VS.NET 2002. I remember how in VC6, but can't figure for the life of me how to do it in VC7.


    It's good to see kids turning their minds to wholesum activities such as programming, instead of wasting their lives in the hedonistic disciplines of Sex, Drugs, & Rock & Roll... or Sex with Drugs, or Sex with Rocks while Rolling in Drugs, or whatever new-fangled perversions you little monsters have thought up now... [Shog9 on Kid Programmers]

    T 1 Reply Last reply
    0
    • J John Aldrich

      I've apparently forgotten how to link libraries in Visual Studio. Either that or Microsoft doesn't want you to link libraries with your programs in VS.NET 2002. I remember how in VC6, but can't figure for the life of me how to do it in VC7.


      It's good to see kids turning their minds to wholesum activities such as programming, instead of wasting their lives in the hedonistic disciplines of Sex, Drugs, & Rock & Roll... or Sex with Drugs, or Sex with Rocks while Rolling in Drugs, or whatever new-fangled perversions you little monsters have thought up now... [Shog9 on Kid Programmers]

      T Offline
      T Offline
      Tim Smith
      wrote on last edited by
      #2

      Either add the library as an addition library (for 3rd party libs) or add the library project as a dependent to the primary project. Tim Smith "Programmers are always surrounded by complexity; we can not avoid it... If our basic tool, the language in which we design and code our programs, is also complicated, the language itself becomes part of the problem rather that part of the solution." Hoare - 1980 ACM Turing Award Lecture

      J D 2 Replies Last reply
      0
      • T Tim Smith

        Either add the library as an addition library (for 3rd party libs) or add the library project as a dependent to the primary project. Tim Smith "Programmers are always surrounded by complexity; we can not avoid it... If our basic tool, the language in which we design and code our programs, is also complicated, the language itself becomes part of the problem rather that part of the solution." Hoare - 1980 ACM Turing Award Lecture

        J Offline
        J Offline
        John Aldrich
        wrote on last edited by
        #3

        Ok...I think I need to clarify myself as little further here, because no offense, but that answer sounded a little wierd. What I need to do is to be able to link winmm.lib to my project so that I can use mciSendCommand(). I'm not building my own lib, sinmply trying to use the windows media stuff to be able to play a cd from within my app. I need to know how to link this. Used to be able to do what I want thru the link tab in VC6. Microsoft pulled a menu switch-a-roo on me, and got me all confuzzled...I apologize if I'm skirting the line with this question.


        It's good to see kids turning their minds to wholesum activities such as programming, instead of wasting their lives in the hedonistic disciplines of Sex, Drugs, & Rock & Roll... or Sex with Drugs, or Sex with Rocks while Rolling in Drugs, or whatever new-fangled perversions you little monsters have thought up now... [Shog9 on Kid Programmers]

        B 1 Reply Last reply
        0
        • T Tim Smith

          Either add the library as an addition library (for 3rd party libs) or add the library project as a dependent to the primary project. Tim Smith "Programmers are always surrounded by complexity; we can not avoid it... If our basic tool, the language in which we design and code our programs, is also complicated, the language itself becomes part of the problem rather that part of the solution." Hoare - 1980 ACM Turing Award Lecture

          D Offline
          D Offline
          Daniel Turini
          wrote on last edited by
          #4

          or a

          #pragma comment(lib, "blablabla.lib")

          My latest articles: XOR tricks for RAID data protection Win32 process suspend/resume tool

          J 1 Reply Last reply
          0
          • J John Aldrich

            Ok...I think I need to clarify myself as little further here, because no offense, but that answer sounded a little wierd. What I need to do is to be able to link winmm.lib to my project so that I can use mciSendCommand(). I'm not building my own lib, sinmply trying to use the windows media stuff to be able to play a cd from within my app. I need to know how to link this. Used to be able to do what I want thru the link tab in VC6. Microsoft pulled a menu switch-a-roo on me, and got me all confuzzled...I apologize if I'm skirting the line with this question.


            It's good to see kids turning their minds to wholesum activities such as programming, instead of wasting their lives in the hedonistic disciplines of Sex, Drugs, & Rock & Roll... or Sex with Drugs, or Sex with Rocks while Rolling in Drugs, or whatever new-fangled perversions you little monsters have thought up now... [Shog9 on Kid Programmers]

            B Offline
            B Offline
            Bjoern Graf
            wrote on last edited by
            #5

            Project Properties->Linker Settings->Input->Additonal Dependecies Thats all :) Bjørn.

            J 1 Reply Last reply
            0
            • D Daniel Turini

              or a

              #pragma comment(lib, "blablabla.lib")

              My latest articles: XOR tricks for RAID data protection Win32 process suspend/resume tool

              J Offline
              J Offline
              John Fisher
              wrote on last edited by
              #6

              This is the method I like. The source code using the functions specifies the need for the library rather than each project using this file needing the library added to its configuration. :) John

              1 Reply Last reply
              0
              • B Bjoern Graf

                Project Properties->Linker Settings->Input->Additonal Dependecies Thats all :) Bjørn.

                J Offline
                J Offline
                John Aldrich
                wrote on last edited by
                #7

                Your a saint, man :-) You just earned yout self a spot in the about box credits along with the rest of you guys that were so kind to help out with suggestions. I kno it was a trivial thing which I knew how to do easily on vc6, but vc7..that's another story. Thanks again.


                It's good to see kids turning their minds to wholesum activities such as programming, instead of wasting their lives in the hedonistic disciplines of Sex, Drugs, & Rock & Roll... or Sex with Drugs, or Sex with Rocks while Rolling in Drugs, or whatever new-fangled perversions you little monsters have thought up now... [Shog9 on Kid Programmers]

                T 1 Reply Last reply
                0
                • J John Aldrich

                  Your a saint, man :-) You just earned yout self a spot in the about box credits along with the rest of you guys that were so kind to help out with suggestions. I kno it was a trivial thing which I knew how to do easily on vc6, but vc7..that's another story. Thanks again.


                  It's good to see kids turning their minds to wholesum activities such as programming, instead of wasting their lives in the hedonistic disciplines of Sex, Drugs, & Rock & Roll... or Sex with Drugs, or Sex with Rocks while Rolling in Drugs, or whatever new-fangled perversions you little monsters have thought up now... [Shog9 on Kid Programmers]

                  T Offline
                  T Offline
                  Tim Smith
                  wrote on last edited by
                  #8

                  That is what I said, just very very poorly. Ewwww.... I must proof read more. Tim Smith "Programmers are always surrounded by complexity; we can not avoid it... If our basic tool, the language in which we design and code our programs, is also complicated, the language itself becomes part of the problem rather that part of the solution." Hoare - 1980 ACM Turing Award Lecture

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups