warning: assignment from a incompatible pointer type
Produces "warning: assignment from a incompatible pointer type"
MMRESULT (_stdcall *fpMidiOutOpen)(LPHMIDIOUT,unsigned int,unsigned long,unsigned long,unsigned long);
MMRESULT (_stdcall *fpMidiOutShortMsg)(HMIDIOUT, DWORD);
MMRESULT (_stdcall *fpMidiOutClose)(HMIDIOUT);
fpMidiOutShortMsg = GetProcAddress(hLibrary,"midiOutShortMsg");
I Googled, and apparently I'm not supposed to point to DWORD or ULONG because of the fixed width? I'm a little lost with pointers.
I found an article that said you should use INT_PTR, UINT_PTR, DWORD_PTR, etc. instead, but that hasn't helped.