Home > Back-end >  Has not yet called coinitialize error, add the code in which the pas
Has not yet called coinitialize error, add the code in which the pas

Time:10-24

I a three layer procedures, customer said suddenly, has yet to call coinitialize mistakes, but I also thoroughly the running of the company, online to find the following code
USES the ActiveX.
Initialization
Coinitialize (nil);
Finalization
CoUninitialize;
The dm in the server I use ado controls, could you tell me the code above is added in mainform pas or dm. Pas? The each pas file or the server is added can also?

CodePudding user response:

Before the operation of each thread
  • Related