Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: 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.

Posted 13-Dec-12 16:37pm

1 solution

Rate this: bad
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.
archanakumari at 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 at 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 at 14-Dec-12 5:25am
How to do it can u give me any example for reference
Christian Graus at 14-Dec-12 14:57pm
google Reflektor
archanakumari at 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
0 Sergey Alexandrovich Kryukov 475
1 OriginalGriff 280
2 BillWoodruff 230
3 CPallini 220
4 ChauhanAjay 149
0 OriginalGriff 6,609
1 Sergey Alexandrovich Kryukov 6,240
2 CPallini 5,180
3 George Jonsson 3,574
4 Gihan Liyanage 2,522

Advertise | Privacy | Mobile
Web01 | 2.8.140916.1 | Last Updated 13 Dec 2012
Copyright © CodeProject, 1999-2014
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