Actually I had tried the old "F1" trick but nothing happened. That
was because I was reading the word as "Colnitialize" when it was
actually "CoInitialize". Spot the difference?? (is the 3rd letter a
lower case "L" or an upper case "i").
Well I was fooled and am suitably retrite.
Now back to the problem .... Why might I get two very different
results from inserting this ActiveX component into two different
applications? Why does the one that works not need to have a call
to CoInitialize included but the other might???
And why can't I get a call to CoInitialize to work? What unit do I
need to include to make it happen??
Steven
> On 1 Aug 99, at 12:57, Chris Crowe wrote:
> Normally I just type the code say "CoInitialize" and then put the cursor
> in the middle of the text and press F1 to get help, it is usually a nice
> fast way to find out if the function is delphi or win32.
>
> Chris
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Steven Wild Sent: Sunday, August 01, 1999 12:20 PM To: Multiple
> recipients of list delphi Subject: [DUG]: Colnitialize
>
>
> I have imported an activeX component and created a simple test
> application to see that it works. It does.
>
> However, when I then take that same component and add it to an
> existing application I get the following error.
> "Exception EOleSysError ..............
> Colnitialize has not been called."
>
> I can not find any reference to "Colnitialize", nor do I understand
> why it works in one context but not the other.
>
> Any help would really be appreciated.
>
> Steven
> Steven Wild
> Director
> Wild Software Ltd
> P O Box 33-216
> Christchurch, NZ
> Ph & Fax 64 3 377-0495
> _______________________
>
> Chreos Business Systems
> _______________________
> --------------------------------------------------------------------------
> -
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
>
>
Steven Wild
Director
Wild Software Ltd
P O Box 33-216
Christchurch, NZ
Ph & Fax 64 3 377-0495
_______________________
Chreos Business Systems
_______________________
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz