Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: IWStartup error 'CoInitialize() has not been called'


This question is answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 2 - Last Post: Oct 8, 2017 8:19 AM Last Post By: charles leggette
charles leggette

Posts: 45
Registered: 7/17/00
IWStartup error 'CoInitialize() has not been called'  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 7, 2017 5:51 AM
Using C++, Tokyo 10.2, latest release, IW Server shows, but when we click Chrome or IE, the above error pops up...UserSession unit does get called, but Class initialization fails....not linking with RT Packages or RTL32 runtime library.Using ADO which in design mode connects and all Tables can be made active. I do have some Ado Queries on page but they are not utilized until much later...
Chad Hower

Posts: 613
Registered: 3/2/07
Re: IWStartup error 'CoInitialize() has not been called'  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 7, 2017 3:20 PM   in response to: charles leggette in response to: charles leggette
On 10/7/2017 8:51 AM, charles leggette wrote:
Using C++, Tokyo 10.2, latest release, IW Server shows, but when we
click Chrome or IE, the above error pops up...UserSession unit does
get called, but Class initialization fails....not linking with RT
Packages or RTL32 runtime library.Using ADO which in design mode
connects and all Tables can be made active. I do have some Ado
Queries on page but they are not utilized until much later...

There is a property in the ServerController to tell IW to call ComInit
for you. Look in the SC props.
charles leggette

Posts: 45
Registered: 7/17/00
Re: IWStartup error 'CoInitialize() has not been called'  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 8, 2017 8:19 AM   in response to: charles leggette in response to: charles leggette
Coinit can be set in ServerController....

Changed app and results were perfect...
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02