Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: MIDI programming on XE-5


This question is answered.


Permlink Replies: 1 - Last Post: Jan 13, 2017 1:26 PM Last Post By: Remy Lebeau (Te... Threads: [ Previous | Next ]
bruce varley

Posts: 19
Registered: 1/31/14
MIDI programming on XE-5  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 13, 2017 5:56 AM
I've been programming MIDI on Visual Studio for years, and would like to move to C++ builder for programming convenience. Can anyone please point me to something that shows me how to add the multimedia library to my projects? The help system seems to have no information other than the standard MSDN content, which (a) I'm already well familiar with, and (b) fails to address specifics of setting up with the C++ builder platform. Thanks
Remy Lebeau (Te...


Posts: 9,447
Registered: 12/23/01
Re: MIDI programming on XE-5
Correct
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 13, 2017 1:26 PM   in response to: bruce varley in response to: bruce varley
bruce wrote::

I've been programming MIDI on Visual Studio for years, and would like
to move to C++ builder for programming convenience. Can anyone please
point me to something that shows me how to add the multimedia library
to my projects?

The MIDI functions are implemented in winmm.dll. C++Builder has a copy of
winmm.lib in its "$(BDS)\lib\win32\release\psdk" folder. Simply add that
file to your project, or use a "#pragma comment(lib, winmm.lib)" statement
in your code. And then you simply use an "#include <mmsystem.h>" statement
in your code to access the MIDI functions.

--
Remy Lebeau (TeamB)
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02