i always get this when i try to compile it:
--------------------Configuration: CDaudio - Win32 Debug--------------------
Compiling...
open.cpp
Linking...
Open.obj : error LNK2001: unresolved external symbol __imp__mciSendStringA@16
Debug/Open.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
Open.exe - 2 error(s), 0 warning(s)
How do you open the cd-rom in c++
Either include winmm.lib in your project, or (if using MSVC) use
"If people are good only because they fear punishment and hope for reward, then we are a sorry lot indeed." - Albert Einstein
#pragma comment(lib,"winmm.lib")
"If people are good only because they fear punishment and hope for reward, then we are a sorry lot indeed." - Albert Einstein
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement