Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2009-04

OCX / ActiveX

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Robert

is there any possibility to use an ActiveX component from Lazarus on Windows - at least low level. Any HOW-TO / example? Its about a hardware driver which is only accessible through an ActiveX DLL.

Reply by email

Marco van de Voort
to Robert
Robert wrote
is there any possibility to use an ActiveX component from Lazarus on Windows - at least low level. Any HOW-TO / example? Its about a hardware driver which is only accessible through an ActiveX DLL.

2.3.1 is able to start and instrument word or IE using dispatch interfaces.

See examples in winunits-base/examples.

I don't know the exact status of 2.2.4 in this regard. A lot of the windows headers parts are merged, but I don't know how much of the languag and objpas/variants units parts are merged.

For 2.2.4 I'd try to get the IDL description of the OCX, and then translate it to FPC taking winunits-base units (like shlobj) as an template.

There are no FPC tutorials yet, but this is fairly close to how Delphi does it, so general Delphi tutorials should be fine.

Reply by email