hi all can anyone please tell me how can i code my MFC application to run as an NT service (win2k) best regards vicky