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?
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
Please post questions to the forums, where others may benefit.
I do not offer free assistance by e-mail. Thank you!
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