Re: created windows service



Generally, if the DLL is in the same folder as the executable there should be no problem.
You might check permissions on the folder to make sure the account under which it is
running has access to that folder.
joe

On 26 Dec 2006 21:17:57 -0800, "meenu" <mnair.lekshmi@xxxxxxxxx> wrote:

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 ?
Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.



Relevant Pages

  • Re: 429 ActiveX Component cant create Object
    ... dll object inside the application folder and not the system32 folder. ... >> package using VB pkg and depl. ... >> After a succesful install, the user runs the exe and the above subject ...
    (microsoft.public.vb.com)
  • Re: Out of Memory when editing graphic...
    ... Just add a reference to the DLL in the .NET folder. ... Find great Windows Forms articles in Windows Forms Tips and Tricks ... When I try to add the barcode to ...
    (microsoft.public.dotnet.framework.drawing)
  • Re: Service pack 3 problem
    ... Opening the regsvr32 file is as you say, no dll specified, followed by the ... and no dllcache folder exists, ... After show hidden files, folders, and system files, use WINDOWS Explorer ...
    (microsoft.public.windowsxp.general)
  • Re: Linking Application with the Library file
    ... I have never worked with LOADLIBRARY and GETPROCADDRESS. ... The DLL will go in the TARGET folder of your BSP and also in the ... <apellerin AT adeneo DOT adetelgroup DOT ...
    (microsoft.public.windowsce.embedded)
  • Re: Directory Layout Suggestions
    ... Go back to your Web Project and right click on the solution name> choose add existing project> navigate to the dll project you just created and select it. ... Right click the Web Project name> select add reference> Projects> select the class library project and yer set. ... use the App_Code folder to create your classes for what will eventually go into your class library. ... he creates another subdirectory called Class Libraries. ...
    (microsoft.public.dotnet.framework.aspnet)

Loading