--- In [email protected], "jabauzit" <jabau...@...> wrote:
>
> I downloaded the free Borland Turbo C++ Explorer, brushed up my C -
> not C++, I don't like very much - which I did not use in may be 20
> years, got disoriented by the IDE, had some trouble creating the GUI
> within the dll but here it is!
> I am at the same stage as with Delphi but with a big plus: the
> callback is working.
> 
> One side effect: the dll went from 429kB to 37kB.

 Jean-Claude,

   Delhi and C++Builder are inflated with compiler bloatware, so using the lean 
and mean Turbo C++ the size of the DLL went considerably down...

 You wrote :

> When I select the Input for my dll Winrad call OpenHW, SetHWLO(0)
> to which I send back a negative value and finally Winrad call
> TuneChanged(0).

Well, the handling of a negative value as return from the SetHWLO call was 
planned to be implemented in V1.33 - But then I decided (almost abruptly) to 
stop developing Winrad, which remained at 1.32...
So Winrad does not inspect the return value from SetHWLO to behave 
accordingly... if you inspect the distributed source code, you will see for 
yourself...

About the callback, there is one thing that I can do, If you prepare for me a 
DLL that somewhat works even without any hardware connected, then I can execute 
Winrad in debug mode, and check what happens when the DLL calls the callback. 
You can just prepare a skeleton where only the callback is actually 
implemented, so that I can see what Winrad receives and possibly understand why 
the error happens.

73  Alberto  I2PHD


Reply via email to