DLL not getting registered from a service (service exe)
-
Hi Friends, I am trying to register my dlls by system("regsvr32 abc.dll") command from inside the service I created in control panel->services. When start my service, everything works all fine and windows registry confirms the dll registration also, by popping up the success dialog box. But when I look into the registry for the specific registry path (that I have given in my plugin dll .reg file), I dont find my dll there! BUT, When I create a simple win32 exe, and run the same system("regsvr32 abc.dll") command this exe's code, it works all fine and I get my registered dll in the path I mentioned in dll's .rgs file. I am not able to get the difference between the execution of same command from a simple exe AND from inside a service exe code?????? I have tried this thing on both win Vista and XP. Please if anyone have worked on services plz help me!!!! Thanks!
dolly, N,IN