How do I specify a DLL path
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: How do I specify a DLL path

  1. #1
    Join Date
    Apr 2001
    Posts
    75

    How do I specify a DLL path

    Hi,

    I have downloaded a DLL and a example program that comes with it. The problem is that at runtime, the executable does not find the .dll file unless I move the executable in the same folder than the dll. Then it works.

    If I do the opposite and copy the .dll file into the executable's folder, then the .dll file is found but I get a message saying that the .dll cannot start because a Library (SPLib) was not found.

    I have specified the path in the projet->settings->link->input-> additional lib box, in the tools->options->library Files


    What else should I do ? Maybe add it in the system's path also ? I do not know how to do it.

    Any suggestion ?
    Thanks,
    tirilo


  2. #2
    Join Date
    May 2001
    Posts
    185

    Re: How do I specify a DLL path

    You can try use regsvr32 /i to register your Dll. may be this can help you.

    Good luck.
    constructor@rambler.ru

  3. #3
    Join Date
    Apr 2001
    Posts
    75

    Re: How do I specify a DLL path

    Thanks for the hint but it does not seem to work .

    Take care

    Tirilo


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center