created windows service

Tech-Archive recommends: Fix windows errors by optimizing your registry



I have created windows service.In the pgm there is a function call
which is to the DLL. .Now i have to make the pgm installable.How can we
put the pgm along with the DLL.I just put both these in the insert file
list of INSTALL SHIELD.Then during installing the service both the
files(.exe and .dll) are in the same folder.but while starting the
service, error occurs file not found....(i think the .exe can't access
the dll file,because of the incorrect path).........same path problem
comes in making the createService call. how can i solve this.Is there
any default working directory where i can put this DLL ?

.



Relevant Pages

  • Re: Wohin mit einer zu registrierenden DLL
    ... Wenn es eine allgemeine DLL ist dann gehört diese entweder ins System32 oder in unter gemeinesame Dateien in einen Ornder mit dem Herstellernamen. ... Andernsfalls kann diese auch in das Pgm Verzeichniss. ... Wenn es eine DLL an 2 Stellen gibt und an beiden Reg. ...
    (microsoft.public.de.vb)
  • Re: created windows service
    ... if the DLL is in the same folder as the executable there should be no problem. ... .Now i have to make the pgm installable.How can we ... list of INSTALL SHIELD.Then during installing the service both the ...
    (microsoft.public.vc.mfc)
  • Re: created windows service
    ... put the pgm along with the DLL. ... I dont know anything about service but why are you not able to ... start the service manually (without Install Shield stuff)? ...
    (microsoft.public.vc.mfc)
  • Re: regsvr32 error code 0x80004002
    ... configuration file. ... Regarding DLL hell, I want to talk it from another perspective. ... Per-application Configuration on Windows XP ... To have it work, you must install Application ...
    (microsoft.public.vc.mfc)
  • Re: Static or Shared MFC DLLs?
    ... I also don't know what would be the point of only grabbing the DLL from SxS if it was the exact same version as what was manifested to; if no one screwed up, the same version numbers would indicate identical DLL's, and who cares whether the DLL is loaded from SxS or from the app-local directory, it is the identical DLL? ... But you don't need to install something in Add/Remove Programs called "Visual C++ Runtime Files" that they will naively click on to uninstall thinking it was put there by their latest adware shareware program. ... Just think what a great experience Windows would be if it could install/uninstall/update as seemlessly as FireFox does, and its silky smooth process of updating plug-ins. ...
    (microsoft.public.vc.mfc)