Click here to Skip to main content
12,072,540 members (59,461 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# C#4.0
Dear Friends,

Here i want to know how to break the dll in run time and get the path of one folder which is inside dll.So if any Information Regarding this please share with me.


Regards,

AnilKumar.D
Posted 13-Dec-12 17:37pm

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

You can't. Once it's running, it's running. You can view the code using reflection, but you can't break in to it, the code doesn't exist at run time, it's been compiled.
  Permalink  
Comments
archanakumari 13-Dec-12 23:11pm
   
In the Dll i have a folder which have Images so i want to use that images.For that i want to break that dll and get the path of the image file.
Christian Graus 13-Dec-12 23:13pm
   
Well, as noted, you can't break in to a dll that is running. If it's C#, you can decompile it, change the code and create a new version, I guess.
archanakumari 14-Dec-12 5:25am
   
How to do it can u give me any example for reference
Christian Graus 14-Dec-12 14:57pm
   
google Reflektor
archanakumari 16-Dec-12 22:27pm
   
Actually iam working with Rdlc Reports.For that Reports i have give Physical Path to that Reports.Its Working fine when application Runs.But if i create set-up its expecting path so the Error is coming its not getting the Rdlc Reports path through set-up exe.So how can get the Path of Rdlc Reports now.Because after creating set-up all files are becoming dll's.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.160208.1 | Last Updated 13 Dec 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100