Grub
asked on
WINMM.LIB where can I get it
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?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.)
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.)
ASKER