engycz / propc

OPC Server/Client Delphi library
50 stars 17 forks source link

Compiling in newer Delphi versions, or Lazarus/FPC #9

Open hollymcr opened 3 years ago

hollymcr commented 3 years ago

It would be great to be able to use this excellent OPC library in something newer than D6 (latest mentioned in the docs) or D7 (where I have successfully got it working).

I've had no success in current Delphi versions, nor in Lazarus (FreePascal). It's a long shot but has anyone else tried/succeeded with this?

Basti-Fantasti commented 2 weeks ago

It's been a while since your posting but I was able to compile it on D12 I also installed the visual component successfully.

The demos also compile, but do not work. E.g. the Demo1 does not connect due to a missing dependeny. It says

Debug-Ausgabe:
clientcore\windows\advcore\ctf\shellhandwriting\client\handwritingclient.cpp(344)\Msctf.dll!75D1AC5F: (caller: 75D0CC1D) LogHr(1) tid(444c) 8007007E Das angegebene Modul wurde nicht gefunden.
    Msg:[onecore\internal\sdk\inc\wil\opensource/wil/winrt.h(1686)\Msctf.dll!75D11CE2: (caller: 75D1A836) Exception(1) tid(444c) 8007007E Das angegebene Modul wurde nicht gefunden.
] 

Prozess ClientDemo1.exe (21348)

which means that the module is not found ?!?