Solved

linking with mmsystem

Posted on 1998-03-14
4
239 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

If you have ever found yourself doing a repetitive action with the mouse and keyboard, and if you have even a little programming experience, there is a good chance that you can use a text editor to whip together a sort of macro to automate the proce…
What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

943 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now