Hi Pedro, Thanks, I exchanged (DWORD) with (DWORD_PTR) and no longer get the error with the new compile. It is late here, so I will do more testing in the morning...
GrahamG On 8/10/11, Pedro Lopez-Cabanillas <pedro.lopez.cabanil...@gmail.com> wrote: > Hi, > > On Wednesday 10 August 2011, Graham Goode wrote: >> I've got a successful compile using VS2008 in 64-bit environment (with >> some warnings during compile, but no errors). > > The warnings can be an important clue on what is wrong, especially if there > are warnings when compiling fluid_winmidi.c and fluid_dsound.c > >> On running >> fluidsynth.exe I get this error >> >> FluidSynth version 1.1.4 >> Copyright (C) 2000-2011 Peter Hanappe and others. >> Distributed under the LGPL license. >> SoundFont(R) is a registered trademark of E-mu Systems, Inc. >> >> fluidsynth: error: Couldn't open MIDI input: An invalid parameter was >> passed to a system function. (error 11) > > Something is wrong with midiInOpen() parameters [1], in fluid_winmidi.c line > 172 or around. Lines 77 and 275 should also match the prototype of > MidiInProc() [2]. Try changing (DWORD) by (DWORD_PTR). > > I don't have a 64 bit windows machine to test, sorry. > > Regards, > Pedro > > [1] http://msdn.microsoft.com/en-us/library/dd798458%28v=vs.85%29.aspx > [2] http://msdn.microsoft.com/en-us/library/dd798460%28v=vs.85%29.aspx > > _______________________________________________ > fluid-dev mailing list > fluid-dev@nongnu.org > https://lists.nongnu.org/mailman/listinfo/fluid-dev > _______________________________________________ fluid-dev mailing list fluid-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/fluid-dev