Hi everyone, I am trying to force myself to call this function C ++ in C #:
BOOL __stdcall CodecStart(int hRadio,void __stdcall (*CallbackFunc)(void *),void *CallbackTarget);
this is from the WinRadio api found here http://www.winradio.com/home/g305_sdk.htm .
I found that other people were asking about calling this particular function on the network, and they had:
public delegate void CallbackFunc( IntPtr p); [DllImport("WRG305API.dll")] public static extern bool CodecStart(int hRadio, CallbackFunc func, IntPtr CallbackTarget);
but I canβt figure out how to implement this further.
any thoughts or recommendations on how to call it?
many thanks
source share