Solved

linking with mmsystem

Posted on 1998-03-14
4
248 Views
Last Modified: 2013-12-03
I'm using Msdev 5.0 VC++ and i'm trying to use mmsystem.h. But for the life of me i can't get rid of the link errors. I get: error LNK2001: unresolved external symbol __imp__mmioClose@8 for all the functions i try and use in the module.
I looked in the help file and it said to link without the /md switch (multitheaded dll) but that didn't seem to help either.
I've probably just messed my project settings up- any ideas?
thx
0
Comment
Question by:nemitzan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 22

Expert Comment

by:nietod
ID: 1412013
You need to be linking with a .lib file associated with mmsystem.h.  Are you?
0
 
LVL 4

Accepted Solution

by:
tflai earned 50 total points
ID: 1412014
Under "Project Setting"->"Link"->"Object/library modules", add "WINMM.LIB".
Hi nietod, you should have post it as an ANSWER.  Now I kind of feel bad answering this. :-)
0
 
LVL 22

Expert Comment

by:nietod
ID: 1412015
Thats okay, I didn't know the name of the library.  
0
 

Author Comment

by:nemitzan
ID: 1412016
Woohoo! Cool thx guys :)  I looked around for mmsystem.lib before, guess thats why i couldn't find it ;)
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

zlib is a free compression library (a DLL) on which the popular gzip utility is built.  In this article, we'll see how to use the zlib functions to compress and decompress data in memory; that is, without needing to use a temporary file.  We'll be c…
After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question