Link to home
Start Free TrialLog in
Avatar of jbabcock
jbabcock

asked on

Cannot use mciSendString in Visual C++ 5.0

I am trying to use the MCI functions of the API. At first I tried just putting in:

mciSendString("Some Silly Command", NULL, NULL, NULL);

To whicb the compiler whined "error C2065: 'mciSendString' : undeclared identifier". I figured the obvious thing to do was add an include statement:

#include <mmsystem.h>
...
mciSendString("Some Silly Command", NULL, NULL, NULL);

To which the linker replied "unresolved external symbol __imp__mciSendStringA@16". Now I'm stumped - what do I have to do to use these commands?
ASKER CERTIFIED SOLUTION
Avatar of galkin
galkin

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jbabcock
jbabcock

ASKER

Ahhh... now that makes sense... thanks!