I would like to play a wav-file with LabWindow/CVI an my WIN2k machine.
I wrote a program, which the LabWindow comiles. But when I try to run it, than I get:
link error:
undefined symbol 'sndPlaySoundA@8' referenced in "versuch.c"
the problems come when I have a program like this (cut down on the follwing):
#include "windows.h"
#include "cvirte.h"
#include "userint.h"
#include "utility.h"
#include "string.h"
#include "mmsystem.h"
#include "winnt.h"
#include "versuch.h" //program is called "versuch.c"
int main (void)
{
sndPlaySound ("c:\\WINNT\\MEDIA\\CHORD.WAV", SND_SYNC);
}
What can I do? Or where is the error exactly?
Thx for answering!
Greber
Message Edited by Greber on 03-16-2005 02:58 AM