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

Reply via email to