|
<< Click to Display Table of Contents >> Navigation: Forum > ADOConnection and CoInitialize |
10-17-2020, 09:25 AM:
Hello everybody
I'm using C ++ Builder 10.4.1 and IntraWeb 15.2.18
In my first test with IntraWeb last week I used the ADOConnection; ADOTable, DataSource and IntraWeb's DBGrid are used.
I was able to access the data of Access data.
For this I didn't have to program a single line of program code, I just had to adjust the connection string in ADOConnection.
Unfortunately, I had to reinstall the PC.
After the installation I load the program and make new. (the same)
Now I get the error: CoInitialize was not called.
That must have happened automatically beforehand. What do I have to do, to make this happen again automatically.
Thank you
10-17-2020, 07:36 PM:
In your ServerController properties set COMInitialization to ciMultiThreaded, then IW will take care of it for you.
(note: done differently if you deploy on late versions of IIS. See: https://www.atozed.com/forums/thread-204...ialization )
Dan
10-18-2020, 11:54 AM:
Dear Dan
Thank you very much.....
It`s running.