Page 1 of 1

Evaluating 9.2 for Delphi 2006 - Invalid Class Typecast

Posted: Tue 03 Mar 2020 17:56
by mariusan
Hi

I'm trying to evaluate the current version with Delphi 2006 and we're especially interested in the SignalR demo. However, when we compile and run the Demo it always fails on the Start method with an exception of "Invalid Class Typecast"

SignalRClient.Register('Send', DoMessageReceipt, [varString, varString, varString]);
SignalRClient.Register('Connected', DoUserConnected, [varString, varString]);
SignalRClient.Register('Disconnected', DoUserDisconnected, [varString]);
SignalRClient.Start;
SignalRClient.Send('Connected', [edNickName.Text]);

Are you able to advise on how we can get it working please?

Marius

Re: Evaluating 9.2 for Delphi 2006 - Invalid Class Typecast

Posted: Thu 05 Mar 2020 12:20
by ViktorV
Thank you for the information. We have reproduced and fixed the issue. This fix will be included in the next build of SecureBridge.
We can send you the nightly build of SecureBridge Trial Edition that includes the fix. If you'd like to receive the nightly build, please send us the IDE version number.

Re: Evaluating 9.2 for Delphi 2006 - Invalid Class Typecast

Posted: Thu 05 Mar 2020 13:33
by mariusan
Nightly build sounds great!

It is the Borland Developer Studio 2006
It says Version 10.0.2558.35231 Update 2, Hotfixed on the About dialogue.

Re: Evaluating 9.2 for Delphi 2006 - Invalid Class Typecast

Posted: Fri 06 Mar 2020 14:32
by ViktorV
Please try to use night build of SecureBridge Trial Edition with fix for Delphi 2006 at https://download.devart.com/dac/sbridge ... 3_2020.exe and inform us about the results.