Import COM Component: C # and Delphi XE Difference

I need to work with a COM component. Unfortunately, its manufacturer does not explicitly support Delphi and provides only C # and VB.NET examples. There is no type library for this component.

OTOH is quite simple in VS2010, because the corresponding COM library (WinSig.exe) is listed as a reference.

In the VS2010 IDE, this is in the "Project - Add Link - COM Tab". In Delphi XE, I cannot find this entry in "Component - Import Component - ActiveX".

I checked the entries in the two IDEs and found that there are some COM components included in the Delphi IDE that are also in the VS IDE, but there are not many COM components in the Delphi environment.

See the screenshot file , which shows that the first seven COM components are not displayed in the Delphi environment.

Can anyone explain why this is so, and maybe help for this particular problem?

+3
source share
1 answer

Did you check the option Import a Type Libraryin the wizard Import Component(on the first page)? ActiveX is already than COM. In addition, you can use the button Addto select a file if you know the location of the library.

+4
source

All Articles