Link to home
Start Free TrialLog in
Avatar of aminmohsalih
aminmohsalih

asked on

Adding COM To a Package

Hi, I am trying to collect all components I built in one package but I have  trouble adding a COM component to this package. The COM object uses a ComServ  Unit and when I try to add the Com to the package I get an error saying "cannot add unit ComServ to package."
Avatar of SChertkov
SChertkov

This error raised {$DENYPACKAGEUNIT} in ComServ unit.
In any case you can not collect COM objects in package,
is concerned with COM object activation nature.
You must use activeX libraries.
If you want create COM object that possible add
to component palette, create ActiveX and import
it to Delphi IDE.
Avatar of aminmohsalih

ASKER

but how can I added it to component palette
ASKER CERTIFIED SOLUTION
Avatar of SChertkov
SChertkov

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial