View Single Post
Old 05-18-2004, 10:19 AM   #1 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,530
sde is on a distinguished road
win api programming

i know how to import a windows dll in c#, but i haven't done much c++ programming.

i want to use winmm to access midi function.

in c#, i would do this:
Code:
[DllImport("winmm.dll")] 
public static extern int midiOutOpen(ref int lphMidiOut, int uDeviceID, int dwCallback, int dwInstance, int dwFlags)
what is the equivalent in c++?
__________________
Mike
sde is offline   Reply With Quote