Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ADO dataset problem in NT Services.

Status
Not open for further replies.

coffytan

Programmer
Mar 25, 2004
12
MY
Dear all,

I need to create an NT service which will keep on checking the availability of any record in a table within a time frame. However, I found out that my NT Service execution is stop whenever it try to open the Ado Dataset. Do you know why is it happen?? Can an NT Service used Ado Dataset to connect to SQL database??
 
Hi Coffytan,

this is because you must initialize ActiveX, in a normal delphi form application,this is done for you, however in a service/dll/thread you must do this yourself. read these threads :
thread102-841625
thread102-833178

cheers

--------------------------------------
What You See Is What You Get
 
whosrdaddy,

Thx for you information. I had solved my problem.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top