Page 1 of 1

Delphi

Posted: Wed Nov 18, 2020 2:40 am
by jmunkdk
Has anybody managed to the present Phidgets to work with Delphi?

Re: Delphi

Posted: Wed Nov 18, 2020 9:18 am
by mparadis
Delphi used to be supported in the Phidget21 version of the libraries, which you can find guidance for here:
https://www.phidgets.com/docs21/Language_-_Delphi

Of course, using Phidget21 would mean you can't use any of our newer VINT devices.

Re: Delphi

Posted: Wed Nov 18, 2020 1:30 pm
by Patrick
Phidget21 supported Delphi with the old COM/ActiveX library.

It should be possible to use Phidget22 with Delphi via the .NET library, but I don't have experience with this.

-Patrick

Re: Delphi

Posted: Wed Jun 02, 2021 9:58 am
by GregS1000RR
Any updates?

Would also be interested.

Current Delphi software worked perfectly with Phidget21 since many, many years, until recently with Win10-LTSC where it cannot load ActiveX DLL, due to missing dependencies.

We are wondering if we have to rewrite the code to use Phidget22,
but so far no idea yet how to proceed.

Any help would be appreciated

Thanks

Re: Delphi

Posted: Wed Jun 02, 2021 10:15 am
by mparadis
I would start by trying to get some of our Phidget22 .Net code samples working in Delphi, per Patrick's suggestion. Once you get that working, you can convert your old Phidget21 code to Phidget22. There's a guide on what changes to look out for here.

Re: Delphi

Posted: Fri Jun 11, 2021 12:01 pm
by GregS1000RR
Thank you for this very fast reply.

After reviewing the provided Code Upgrade guidelines, it seems that the final benefit is not worth the huge effort required to move from 21 to 22.

I'm "just" missing what makes Win10 LTSC different from Win10 Home in the ActiveX installation.

Do you have any idea why Phidget21 ActiveX-COM works perfectly under Win10 Home&Pro and not under the LTSC version ?

Or do you have the list of dependencies the Phidget21 requires ?

Thanks