--- In [email protected], "cesco12342000" <[EMAIL PROTECTED]> wrote:
>
> but the callback function says:
> 
> -------
> void __stdcall __declspec(dllexport) SetCallback(void (* Callback)
> (int, int, float, short *)) 
> -------

 That is only a documentation error. The definition inside Winrad (in
the defines.h module) is as follows :

  typedef void  (__stdcall * pfnSetCallback)(void (*) (int, int,
float, void *));

So a void * is the real type of the argument. I was asked many months
ago to do that change by Phil Covington, to allow him to write a DLL
to interface Winrad with his QS1r, which he did with positive results.

I just forgot to update the documentation, but the code in Winrad is
already capable of accepting float data, if type 7 is specified.

Sorry for the inconvenience, I will update that PDF document. And
thanks for spotting it.

73  Alberto  I2PHD


Reply via email to