Comments & issues
Supporting Windows 8 or newer
jmunkdk
Fresh meat
Posts: 1 Joined: Thu Dec 20, 2018 11:09 am
Post
by jmunkdk » Wed Nov 18, 2020 2:40 am
Has anybody managed to the present Phidgets to work with Delphi?
mparadis
Site Admin
Posts: 679 Joined: Fri Oct 28, 2011 12:17 pm
Post
by mparadis » Wed Nov 18, 2020 9:18 am
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.
Patrick
Lead Developer
Posts: 672 Joined: Mon Jun 20, 2005 8:46 am
Location: Calgary
Post
by Patrick » Wed Nov 18, 2020 1:30 pm
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
Post
by GregS1000RR » Wed Jun 02, 2021 9:58 am
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
mparadis
Site Admin
Posts: 679 Joined: Fri Oct 28, 2011 12:17 pm
Post
by mparadis » Wed Jun 02, 2021 10:15 am
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
Post
by GregS1000RR » Fri Jun 11, 2021 12:01 pm
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