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?
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".
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER