Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

where is winmm.lib

229 views
Skip to first unread message

ng seng yim

unread,
Jan 29, 2000, 3:00:00 AM1/29/00
to
I would like to add sound to my Win app. Read in a book that the linker
must access winmm.lib during the build process. Is that true? But I can't
find it anywhere. It's not in windows subfolders, it's not in the Borland
LIB folder too. By the way, I'm using BC++5.00. Where can I get find
winmm.lib?

Pls help me...


Matt A.

unread,
Jan 29, 2000, 3:00:00 AM1/29/00
to

"ng seng yim" <pine...@tm.net.my> wrote in message
news:01bf6a16$ead33c00$db46...@pine-ent.tm.net.my...

The book you have obviously assumes that you're using Microsoft Visual C++,
since WINMM.LIB is a VC++ import library. It contains imports for the
functions from "multimedia API".

You don't need WINMM.LIB with Borland C++. BC++ uses a different import
library, IMPORT32.LIB, that contains imports for pretty much the entire
Win32 API, including the multimedia functions (although it's missing a few
functions that have been added since 5.0 was released, but you most likely
won't need them).

The IDE links every Win32 program with IMPORT32.LIB by default. You don't
need to do anything special to build multimedia programs with Borland C++.

I suggest you just try to compile and link your program. If you get
specific link errors that you can't figure out, post here again (preferably
with an example of the exact error message you're getting).


--
Regards,

Matt Arnold
Professional Music Products
Mark of the Unicorn, Inc.
http://www.motu.com

To obtain my real address, please replace "biteme" with "motu". My use of a
fake address is an anti-spam tactic. Sorry for the inconvenience.


ng seng yim

unread,
Feb 6, 2000, 3:00:00 AM2/6/00
to
Thanks... I checked from the runtime msg that winmm.dll was invoked .


Matt A. wrote in message <86u19m$25...@bornews.borland.com>...

0 new messages