Solved

EloeSysError-"CoInitialize has not been called"

Posted on 2001-06-27
3
255 Views
Last Modified: 2010-04-06
I try to run a DLL with TWebBrowser and I got the error message.

EloeSysError-"CoInitialize has not been called"

Need help, Thanks.

JL
0
Comment
Question by:jlislo
  • 2
3 Comments
 
LVL 13

Accepted Solution

by:
Epsylon earned 50 total points
ID: 6232649
Just call

CoInitialize(nil);

at DLL startup e.g. in the 'initialization' section of a unit.

Don't forget to put 'ActiveX' in the uses clause.


Call CoUninitialize in the finalization section.
0
 

Author Comment

by:jlislo
ID: 6232662
Thank you very much!
0
 
LVL 13

Expert Comment

by:Epsylon
ID: 6232680
You're welcome
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now