coassoftwaresystems / delphi-modbus

Delphi ModbusTCP components
MIT License
119 stars 64 forks source link

Registering Components... #26

Closed Nuzzi closed 4 weeks ago

Nuzzi commented 6 years ago

Great tools, folks. Thank you! I am having a problem getting the components to show up in the Tool Palette. I load the DPK, compile both projects, install and it says it installs fine. If I check the packages under Options it shows up fine and lists both components, but neither component shows up in the Tool Palette. Any suggestions? This is in Berlin (10.1) and Tokyo (10.2) RAD Studio (using with C++).

Nuzzi commented 6 years ago

I think I just answered my own question. Interesting. if I have a Delphi project, it shows up fine. I will create a C++ project and register and see how that goes.

Daijobou commented 4 years ago

You must open project->options for both DelphiModbusXX (compile) and dclDelphiModbusXX (install) and change for linker output from "only dcu" to "all c++builder libs". Now you see the component in Delphi and C++Builder. Tested with Rad Studio 2009 and Rad Studio 10.1.