Unresolved Linker Error using MIDI Streams in Borland C++ 5.01
Posted on 1997-03-11
When I try to use any of the MIDI stream functions in Borland C++ 5.01 (midiStreamOpen, midiStreamClose, etc), I get an "Unresolved External" error in the linker. The header information for these functions is contained in mmsystem.h, so the program compiles fine. But it can't seem to find the libraries needed for linking. I'm compiling a 32-bit Windows program, which is the only platform these functions are available on.
midiStreamOpen(&midistream_handle, &out_device_id, 1, NULL, NULL, CALLBACK_NULL);
Error: Error: Unresolved external 'midiStreamOpen' referenced from module midiint.cpp