Atozed Forums
ServerController: ComInitialization property - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: ServerController: ComInitialization property (/thread-1055.html)



ServerController: ComInitialization property - msgopala - 05-02-2019

What is the ServerController: ComInitialization property and what does it do? 

Mine was set to ciNone but everything worked. There are 2 other options ciMultithreaded and ciNormal. Could someone please explain these setings 

Thanks


RE: ServerController: ComInitialization property - Jose Nilton Pace - 05-02-2019

Hi, ComInitialization is used for ADO connections.


RE: ServerController: ComInitialization property - msgopala - 05-02-2019

so if I am not using an ADO connection then its irrelevant whether its set to ciNone or any other option, right?


RE: ServerController: ComInitialization property - Jose Nilton Pace - 05-02-2019

Yes, theoretically it should not matter.


RE: ServerController: ComInitialization property - DanBarclay - 05-02-2019

(05-02-2019, 02:35 PM)msgopala Wrote: so if I am not using an ADO connection then its irrelevant whether its set to ciNone or any other option, right?

It is for when you are using COM interfaces *like* ADO.   Yes, needed for ADO.   Whether you still need it depends on whether you are using some other COM interface that needs it.

Dan


RE: ServerController: ComInitialization property - duffo64 - 05-02-2019

(05-02-2019, 04:06 PM)DanBarclay Wrote:
(05-02-2019, 02:35 PM)msgopala Wrote: so if I am not using an ADO connection then its irrelevant whether its set to ciNone or any other option, right?

It is for when you are using COM interfaces *like* ADO.   Yes, needed for ADO.   Whether you still need it depends on whether you are using some other COM interface that needs it.

Dan

For example, IWCGjQuery (cgdevtools) needs COM initialization as well.


RE: ServerController: ComInitialization property - Alexandre Machado - 05-06-2019

(05-02-2019, 01:32 PM)msgopala Wrote: What is the ServerController: ComInitialization property and what does it do? 

Mine was set to ciNone but everything worked. There are 2 other options ciMultithreaded and ciNormal. Could someone please explain these setings 

Thanks

People already responded and they are correct. You should only enable ComInitialization if you are using any COM interface. ADO is based on COM, so it is needed if you use ADO. Otherwise, leave it as ciNone


RE: ServerController: ComInitialization property - msgopala - 05-06-2019

(05-06-2019, 07:48 AM)Alexandre Machado Wrote:
(05-02-2019, 01:32 PM)msgopala Wrote: What is the ServerController: ComInitialization property and what does it do? 

Mine was set to ciNone but everything worked. There are 2 other options ciMultithreaded and ciNormal. Could someone please explain these setings 

Thanks

People already responded and they are correct. You should only enable ComInitialization if you are using any COM interface. ADO is based on COM, so it is needed if you use ADO. Otherwise, leave it as ciNone

I use TMS components and the only reason I am wanting to be sure is because for one of their component errors it was suggested by their forum admin to set the ComInitialization property to ciNormal, as their TTIWAdvImageButtton picture type handling uses OLE.

https://www.tmssoftware.com/site/forum/forum_posts.asp?TID=13326&PID=47101#47101


RE: ServerController: ComInitialization property - Alexandre Machado - 05-09-2019

Holy moly.... a web control which uses OLE to display a picture.... I'm speechless....  Angel


RE: ServerController: ComInitialization property - Alexandre Machado - 05-09-2019

I'll have to check if there is something in our back log related to this specific TMS control which causes issues in IW applications.

Last year, while investigating why a customer application was failing under load, we detected that it was due to some TMS control bug, one decade old at least, never fixed. If I remember correctly, it also had OLE on its core... One thing is certain: OLE doesn't scale.