Re: Virtual Library Interfaces (VLI).




Andre Joosten wrote:
> I have moved on from GetProcAddress
> And use VLI as per documentation.. But still No Joy..
>
>
> TTaxDll = Interface
> Procedure CalcProfit (Cost : Currency;
> CostTaxID : Integer;
> Sell : Currency;
> SellTaxID : Integer;
> Var ProfitD : Currency;
> Var ProfitP : Double);
> End;
>
> fTaxDll : TTaxDll;
>
>
> If Supports('STAX.DLL', TTaxDll , fTaxDll) Then .....
>
>
> Fails.. Without any hints..
> Anybody any ideas...

.