Delphi

Comments & issues
Post Reply
jmunkdk
Fresh meat
Posts: 1
Joined: Thu Dec 20, 2018 11:09 am
Contact:

Delphi

Post by jmunkdk »

Has anybody managed to the present Phidgets to work with Delphi?
User avatar
mparadis
Site Admin
Posts: 660
Joined: Fri Oct 28, 2011 12:17 pm
Contact:

Re: Delphi

Post 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.
User avatar
Patrick
Lead Developer
Posts: 634
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

Re: Delphi

Post 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
GregS1000RR
Fresh meat
Posts: 3
Joined: Wed Jun 02, 2021 9:35 am
Contact:

Re: Delphi

Post 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
User avatar
mparadis
Site Admin
Posts: 660
Joined: Fri Oct 28, 2011 12:17 pm
Contact:

Re: Delphi

Post 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.
GregS1000RR
Fresh meat
Posts: 3
Joined: Wed Jun 02, 2021 9:35 am
Contact:

Re: Delphi

Post 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
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests