Create OLE control in thread.
Posted on 1998-09-12
I am create application with OLE control and function
CreateControl work in the different threads. According help one calling
of the function OleInitialize is enough for
all application. But in this case CreateControl is not
success. Only if I call OleInitialize in the each thread
functionCreateControl is successful ended.
Where is a mistake. Why I need to call OleInitialize for
every thread where I call CreateControl.
My platform is Windows 95(or NT)