Click here to Skip to main content
15,895,709 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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

1 solution

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.
 
Share this answer
 
Comments
Anil Honey 206 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.
Anil Honey 206 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
Anil Honey 206 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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900