> I can see that the callback descriptor is incorrect - the first argument is an unsigned int, so would be 32-bits not 16, i.e. `dword` not `word`. This would cause you other problems than the crash you describe, however.
Thanks for taking a look.
> It suggests you have got the calling convention wrong. To be sure you'd have to examine the original source and build definition (if not documented), but the chances are that it is using the default C calling convention, so cdecl, not stdcall. Using the wrong one of these would certainly result in a crash on return, because these employ different conventions at to whether caller or callee is responsible for adjusting the stack pointer.
I did try both cdecl and stdcall but got the same exception type (C0000005) in each case. I'm not sure what's left at this point other than something being wrong with the FluidEvent and FluidSequencer arguments. There's nothing wrong with the values of the arguments in the callback body, however, so I'm at a loss.
> Which you are choosing to disparage because you don't understand it? It is likely that the details require to diagnose the fault are in that gobbledygook. I'd imagine the exception code is one of the stack fault codes.
I looked up the exception code and what I understand is that it's throwing an access violation error after trying to execute an invalid memory address. I don't know if there is anything else to glean from it, but I've attached the full crash report below.
********************************************************************************
************************** Dolphin Crash Dump Report ***************************
*********************** VM version: 7.1.24-0-g1bb62dcfa ************************
22:36:32, 31/12/2022: Dolphin7.exe caused an unhandled Win32 Exception C0000005
at 34DDFD8C in module 345E0000 ()
*----> Exception Parameters <----*
00000008
34DDFD8C
*----> CPU Context for thread 0x234c <----*
EAX = 00000000 EBX = 34DDFE0C ECX = 08A20000
ESI = 34DDFDC4 EDI = 73BC806A EIP = 34DDFD8C
ESP = 34DDFD80 EBP = 2D07FE30 EFL = 00010206
CS = 0023 SS = 002B DS = 002B
ES = 002B FS = 0053 GS = 002B
*----> Memory Statistics <----*
Virtual memory used: 1038Mb
Virtual memory available: 3057Mb
****N.B. This exception did NOT occur in the main Dolphin execution thread ****
*----> CPU Context for main thread 0x3404 <----*
EAX = 00000000 EBX = 00000002 ECX = 00000000
ESI = 00000000 EDI = 00000001 EIP = 7706586C
ESP = 00C0F9B4 EBP = 00C0FA24 EFL = 00000206
CS = 0023 SS = 002B DS = 002B
ES = 002B FS = 0053 GS = 002B
In module 77060000 (C:\WINDOWS\System32\win32u.dll)
***** End of crash report *****