Dll Issue


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Dll Issue

  1. #1
    Join Date
    Dec 2003
    Location
    India
    Posts
    61

    Dll Issue

    Hi all,

    I've made a .NET application which refers to a .NET dll.I made a reference to this Dll which is in path c:\Suresh\Dll.This Dll works fine in my PC.

    But when i run this setup in some other PC in different locations like C:\Program Files...(the setup contains only 2 files..i.e the exe file and he dll file and bothe copied to the same location)..I get errors...I believe that is because the Exe is looking for a Dll in folder C:\Suresh\Dll which is not available in aother PC..

    So what i wanted is to make the reference to point to the Dll from the exe wherever the setup is installed..

    Note:After the setup is installed both the EXE and Dll will be in same location.

    How can i do this?

    Thanks,
    Suresh.

  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    I don't think EXEs store the location from which support DLLs are referenced. You might try the steps described here to troubleshoot your problem: http://blogs.msdn.com/suzcook/archiv.../29/57120.aspx
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center