winmm.lib

This is a discussion on winmm.lib within the Windows Programming forums, part of the Platform Specific Boards category; how do i enable it in visual c++ 2008? do you have to buy the std or pro???...

  1. #1
    Registered User
    Join Date
    Jun 2008
    Posts
    127

    winmm.lib

    how do i enable it in visual c++ 2008? do you have to buy the std or pro???

  2. #2
    Registered User
    Join Date
    Dec 2007
    Posts
    795
    I think its
    Project--> Open project properties --> Configuration Properties --> Linker --> General -->
    Additional Libraries Properties and there you put the path there.

    But it didnt work for me so i just used
    #pragma comment (lib, "winmm.lib") in my .cpp file and it worked.
    Compiler MSVC++ 2013 with Code::Blocks.

  3. #3
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,604
    Project--> Open project properties --> Configuration Properties --> Linker --> Input
    Make sure to add it for both Debug and Release.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. winmm.lib
    By jaquenta in forum C Programming
    Replies: 10
    Last Post: 12-12-2008, 02:15 PM
  2. Eject a cd with C++ code
    By Yuri in forum C++ Programming
    Replies: 8
    Last Post: 08-24-2005, 01:09 AM
  3. lcc win32 and winmm.lib
    By underthesun in forum Windows Programming
    Replies: 1
    Last Post: 07-01-2005, 05:36 AM
  4. explicit library file
    By subdene in forum C++ Programming
    Replies: 5
    Last Post: 06-21-2004, 10:25 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21