Solved

WINMM.LIB where can I get it

Posted on 1997-06-20
3
251 Views
Last Modified: 2013-12-03
This relates to my last question about timeSetEvent(). I use Borland C++ 5.01 and can't workout whether it is linking in WINMM.LIB or not. I can't find WINNMM.LIB anywhere on my hard drive and have reinstalled Borland twice and I come to the conclusion WINMM.LIB is not included. So I tried creating WINMM.LIB from the DLL using ImpLib and linked it in however that did not work either, my program still hung. I went onto the borland site and they don't provide any help except by phone and I am in AUstralia.Does anyone know where I can get WINMM.LIB from ?I have come to the conclusion that I should have bought MSVC++ instead of borland C++. Oh well you make mistakes every so often and my next upgrade will be to VC++.I have a Pentium 200 with 48 Meg ram, 4Meg Video card (s3 Verg). WOuld my configuration have anything to do with timeSetEvent() not working?
0
Comment
Question by:Grub
[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
3 Comments
 

Author Comment

by:Grub
ID: 1398784
I have actually solved my problem. I think there is a bug or maybe Borland is designed to do it but when I compile and run an executable in Borland C++ that uses timeSetEvent() my program doesn't recieve a response from timeSetEvent(). However when I close Borland and run the executable from Explorer it works fine.If someone knows why this happens or how to stop Borland from doing this I would appreciate it as it is very limitting to program development and very annoying.
0
 
LVL 3

Accepted Solution

by:
vinniew earned 20 total points
ID: 1398785
done.

0
 

Expert Comment

by:sternter
ID: 1398786
 I have used winmm with VB5 and had no problem in the development environment.  I believe that winmm.lib is shipped with Win95/98/NT and is installed if the Multimedia options are selected at setup time.  (You can install anytime using the "Add/Remove Programs" feature in the control panel.)

  I would suggest that you try other fuctions such as timeGetTime in the Borland development environment to see if they work.  Borland may intercept certain interrupts to protect itself.  I have some purchased OCXs which use timeSetEvent.  I am pretty sure they are written in MSVC.  So while I have not tried this function in Visual C++ myself, I believe you are wise to plan on upgrading to Microsoft.  (After all, winmm is a Microsoft library.)
0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

Suggested Solutions

In this article, I will show how to use the Ribbon IDs Tool Window to assign the built-in Office icons to a ribbon button.  This tool will help us to find the OfficeImageId that corresponds to our desired built-in Office icon. The tool is part of…
As more and more people are shifting to the latest .Net frameworks, the windows presentation framework is gaining importance by the day. Many people are now turning to WPF controls to provide a rich user experience. I have been using WPF controls fo…
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…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

763 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