
VFP , mmsystem.dll and low level midi
Can anyone see what I'm doing wrong here?
set libr to foxtools.fll
outhandle=0
*results returns 0 so no error. outhandle remains at 0 (no handle
passed)
*just to make sure, call another function
sendshortmsg=regfn("midiOutShortMsg",'LL','I','mmsystem.dll')
results=callfn(sendshortmsg,outhandle,0)
*results return 5 invalid handle error
For some reason I'm not getting a handle returned to the "outhandle"
reference.
If anyone can help, please do. (This is being run on ver 5 of VFP)
Thanks in advance
Tim Kolesa