Re:Using Dll using ActiveX
Look in the Microsoft help files. The call to CoInitialize initializes the
COM library: CoInitialize(NULL);
There must be a matching call to CoUninitialize() prior to program
termination.
I believe you get access to the COM API in your BCB Apps by including
"ole2.h".
I'm sure others will have better advice, but hopefully this will get you
pointed in the right direction.
Russ
Quote
"Zoran Basaric" <ba...@energosoft.co.yu> wrote in message
news:3a7189da_2@dnews...
Quote
> Hi,
> When I try to call function from DLL (created in Delphi) I get an Error
> Message :
> Project raised exception class EOleSysError with message 'CoInitialize
> has not been called'.
> I can not find CoInitialize method in bcb help.
> DLL calls ActiveX interfaces.
> Any suggestions!?
> Baske