Thread: Winamp C# SDK
View Single Post
Old 23rd May 2011, 05:47   #13
MagusBR
Junior Member
 
Join Date: May 2008
Posts: 19
Hello Robert,

Thanks for the reply, tested UnmanagedFunctionPointer with all CallingConvention options, none worked =/

I'll try later this decoration plus Marshal.GetDelegateForFunctionPointer instead of MarshalAs(UnmanagedType.FunctionPtr). In theory both are the same, but C# is not always a exact science when unmanaged memory is in field

Thanks,

Ps: winamp 'auto-plays' when use 'CallingConvention.ThisCall' for main call (winampGetGeneralPurposePlugin), just weird
MagusBR is offline   Reply With Quote