Board index » delphi » COM Server in Package

COM Server in Package


2005-04-19 11:59:25 PM
delphi137
Here is the message to which I am entitled to compilation of the component:
[ Error ] $$DENYPACKAGEUNIT ' ComServ' cannot be put in a package
Is it possible to put COM server as component in package?
Thanks
 
 

Re:COM Server in Package

if you statically link the package I expect yes
if you dynamically link it (runtime package), then you'd have to export from
the package (DLL) the COM related procs (dllRegisterServer etc.) and
register it yourself (it might still not work OK)
Quote
Here is the message to which I am entitled to compilation of the
component:

[ Error ] $$DENYPACKAGEUNIT ' ComServ' cannot be put in a package

Is it possible to put COM server as component in package?

Thanks