I tried the following:
typedef bool (_stdcall *fpMidiOutOpen)(LPHMIDIOUT,unsigned int,unsigned long,unsigned long,unsigned long);
typedef bool (_stdcall *fpMidiOutShortMsg)(HMIDIOUT, DWORD);...
Type: Posts; User: enderandrew
I tried the following:
typedef bool (_stdcall *fpMidiOutOpen)(LPHMIDIOUT,unsigned int,unsigned long,unsigned long,unsigned long);
typedef bool (_stdcall *fpMidiOutShortMsg)(HMIDIOUT, DWORD);...
gcc is telling me I can't declare a bool before *
Also, to do this, won't I also then need to declare something like cardFuncs as a structure?
How you declare void cdtTerm in a struct? I...
This:
#include <mmsystem.h>
...
MMRESULT (_stdcall *fpMidiOutOpen)(LPHMIDIOUT,unsigned int,unsigned long,unsigned long,unsigned long);
MMRESULT (_stdcall *fpMidiOutShortMsg)(HMIDIOUT, DWORD);...
Howdy. I'm not a programmer by trade, in fact, I am extremely new to it, and am largely picking up programming as a hobby. However as a fairly new SysAdmin, I figure some C knowledge, and perhaps...