Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ADOConnection and CoInitialize
#1
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. Angry 
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
Reply
#2
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
Reply
#3
Dear Dan
Thank you very much.....
It`s running. Smile
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)