Why I don't need call CoInitialize in a thread created inside a COM Thread?
问题 In order to learn multithreading, I've created a thread inside a COM Thread ( TRemoteDataModule ). This is my Component Factory: TComponentFactory.Create(ComServer, TServerConn2, Class_ServerConn2, ciMultiInstance, tmApartment); Inside the Thread, I didn't needed to Call CoInitialize to use TADOQuery.Create , .Open ... .Exec I read that I need to initialize the COM library on a thread before you call any of the library functions except CoGetMalloc, to get a pointer to the standard allocator,