Board index » cppbuilder » Creating NT service serving as COM server
÷áì???é? eé×?×áò?
![]() CBuilder Developer |
Tue, 10 Jun 2003 19:16:38 GMT
Creating NT service serving as COM server
I need to create NT service wich retrieves some data from web site
periodicaly and stores it in database. This was done without problems. Now I want to control the service parameters and viewing retrived data snapshot. I tried to include COM server in the service wich gains access to this data. But when I try to connect COM client to the server it starts a new copy of server EXE if I create object using CoClassCreator or get NULL interface trying to connect to running service by ActiveInstance method of TCOMIMyInterface object: ---------- code sample ---------- TCOMIMyInterface itf; bool __fastcall TForm2::GetData() -------- another sample -------- bool __fastcall TForm2::GetData() |