Board index » delphi » W2K Service Application and COM connection
Gürcan YüCEL
![]() Delphi Developer |
Sun, 25 Sep 2005 23:22:37 GMT
W2K Service Application and COM connection
Hi,
Im trying to write W2K service application on W2K professional with Delphi6 Ent. I wrote service application. My service doing everything well. On service, ServiceStart event, I running a function in another unit; procedure TService1.ServiceStart(Sender: TService; var Started: Boolean); in init procedure; // dm is datamodule try if dm.ComSrv.Connected then dm.ComSrv.Connected:=false; dm.ComSrv.ComputerName:=App.COMServer; //give the server name by code try When I debug it as explained in delphi helps (Attaching to Process) I saw Thanks. Grcan YUCEL In windows programming I create datamodule and connected to DCOMServer many Anyone has an idea? |