under threads, how can create TSQLServerUniProvider?
Posted: Sat 30 May 2009 14:26
dear devart :
I have some question.
environment:
D2007
MSSQL200
UniDAC 2.0
RO sdk 5.0.37
my question:
1.
I use TUniConnection under main form and threads mode.
so I use only create one TSQLServerUniProvider in the main form,or every thread must create one TSQLServerUniProvider?
2.
CoInitialize and CoUninitialize must typed in the thread mode and main form,or it only typed in the main form?
thanks!
I have some question.
environment:
D2007
MSSQL200
UniDAC 2.0
RO sdk 5.0.37
my question:
1.
I use TUniConnection under main form and threads mode.
so I use only create one TSQLServerUniProvider in the main form,or every thread must create one TSQLServerUniProvider?
2.
CoInitialize and CoUninitialize must typed in the thread mode and main form,or it only typed in the main form?
thanks!