DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
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!

Bookmarks

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


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links