?
Solved

Coinitialize error on IntraWeb using ADO

Posted on 2003-03-24
2
Medium Priority
?
1,087 Views
Last Modified: 2012-06-27
When creating a stand alone application using IntraWeb, I get
"Coninitialize has not been called" on my web browser. This
error does not occur when I replace ADO with other database
components such as dbExpress or BDE. Does anyone have any
trick to avoid this error?

greeting,
Ferry
0
Comment
Question by:Fresh_
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 9

Accepted Solution

by:
mocarts earned 375 total points
ID: 8195508
CoInitialize must be called for each thread which uses com library..
so, put in your main forms/datamodul create CoInitialize(nil); and in destroy event CoUninitialize;

wbr, mo.
0
 

Expert Comment

by:psanchezs
ID: 8587317
ATOZED refers:

Set the ComInitialization property in your application's server controller.

http://www.atozedsoftware.com/intraweb/faq/Deployment.html


0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses
Course of the Month11 days, 20 hours left to enroll

752 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