oscillogoat
Programmer
I am trying to call the mmsystem library that comes from VC 1.52 from MS-DOS pascal 3.31. I am Using the waveInGetNumDevs to test with.
function waveInGetNumDevs:NumDevs:word; extern;
result:= waveInGetNumDevs;
The source compiles and successfully links but sends control back to Windows and gives the error "The program has performed an illegal operation and will be shut down."
When I use the lines
function waveInGetNumDevs:NumDevs:word; extern;
result:= waveInGetNumDevs;
and it compiles but I get the link error
L2029 '_waveingetnumdevs' unresolved external
waveInGetNumDevs is described as function UINT
I have also tried the above with pascal integer type instead of word.
Anybody got any ideas?
function waveInGetNumDevs:NumDevs:word; extern;
result:= waveInGetNumDevs;
The source compiles and successfully links but sends control back to Windows and gives the error "The program has performed an illegal operation and will be shut down."
When I use the lines
function waveInGetNumDevs:NumDevs:word; extern;
result:= waveInGetNumDevs;
and it compiles but I get the link error
L2029 '_waveingetnumdevs' unresolved external
waveInGetNumDevs is described as function UINT
I have also tried the above with pascal integer type instead of word.
Anybody got any ideas?