Decompiling a .DLL file to view Source Code

Hi guys,
I have a DLL file which I would like to decompile in order to edit the source code... Does anyone have any idea of  how I come go about doing this?
I don not have the original solution (The person who wrote it has left the company)
Thanks
Neefy

Hello,
I am in the same situation as Neefy was. I followed everyones advice and went to get .Net Reflector. Sadly you have to pay $35 for it now. I am  not sure if the company wants to buy this if it does not work how we want. I noticed they have a beta version
out for free. I downloaded this and then FileGenerator plugin from the link provided. I started following Rukshan's steps. I get to step 4. After I click add and locate the plugin I get an error saying that it failed to to load the add-in.
Does anyone know if this is because the plugin is not compatible with the beta? Or is it that the plugin does not even work with their newest version, version 7 because when this thread was created I believe they were not using version 7.
I have tried downloading older versions off of .cnet, but when you run the reflector.exe a message pops up saying newer version available would you like to download it. If you choose no it removes the .exe if you choose yes it says you must visit the website
to download (to pay) and then it deletes the .exe.
Thanks for any help on this
Rob
*Edit*
Something else I am wondering:
I believe the .dll that I want to view the source code was in C or C++ with a slight chance of being C#. If I use .NET Reflector and it was written in C/C++ will it successfully create a C# file?
*edit edit*
Seems there is actual error output:
Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. (ReflectionTypeLoadException)
LoaderExceptions:
Could not load file or assembly 'Reflector, Version=5.0.0.0, Culture=neutral, PublicKeyToken=18ca6bb8dd6a03c3' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
(FileLoadException)
That error message repeats 7 more times.
*edit edit edit*
couple of hours of searching I found free stable version 6.5
Here:
http://www.brothersoft.com/red-gate-.net-reflector-284053.html
I downloaded it and tried to use the plugin. Seems to be working. I think the problem might be the fact that version 7 is in beta. Hopefully the problem doesn't exist in final production of version 7.
Cheers! Hope this helps someone else
*edit edit edit edit*
So I think it worked. It generated 2000 files(mostly System.XXXXXX.XXXXX etc..). Does anyone know where I would be able to actually find the code written by programmer who wrote the .dll not the .NET files. Thanks!

Similar Messages

  • View source code of the page executed in browser...

    Hi,
    Request you to help me to view the source code of the page executed in browser using a Query/ Web Template. We can view the HTML code when we go to
    Page--> View source code.
    But i want to see the Java code behind the web page.
    Regards,
    Koundinya K

    You can use tools like JD-GUI and the see the code. If you want to customize a cartirdge, you can always extend the class and add your stuff to the contentItem.
    Thanks

  • Ffox hangs when I try to view source code - any ideas how to stop this?

    Ffox hangs when I try to view source code - any ideas how to stop this?
    hangs forever... have to use control-alt-del to close :-(

    Usually a USB error. Read here:
    http://support.apple.com/kb/ts3694#4000

  • Very Easy Question: How to view source code of JAR file

    Hi Experts,
    1) Can we can see the content of JAR file?
    2) How we can we see content of JAR file?
    3) I have with me JAR file. It is sap.compcui_gpoadp~ObjectAndDataProvider.JAR. I have to make some changes in the JAR file source code. How I can find the source code?
    I tried to see the source code using NWDS. However, I can not see the code.
    Regards,
    Gaurav

    >
    Gary wrote:
    > Can I make changes in the source code of JAR file? Can I make changes in the code?
    You cannot do this by simple repacking/rearchiving of JAR, because it contains special descriptor with fingerprint. In general, JAR is unmodifiable, however, you can create a new one with modified sources.
    You can try to import the JAR in some Java project in Eclipse, for example. Then make your changes and use the Eclipse's Export JAR wizard in order to repack the modified source Java files in a new JAR.
    >
    Gary wrote:
    > Can I rename the JAR file and still it will usable? Please confirm.
    I general, yes, the operation is allowed. However, you cannot do this with JAR deployed on some J2EE server or Portal, for example. Because there are references to it.
    >
    Gary wrote:
    > Please let me know if by any chance I can see the content of JAR file in NWDS.
    Yes, sure. Use Import from Archive wizard in Eclipse. Or add the JAR in the class path of some Java project and Eclipse will show you the content of it.
    BR, Sergei

  • Converting class files into java source codes

    Dear Friends,
    It is true that conversion of class files to its java source codes is possible through some software. I want to know, is there any way to protect my java source codes from viewing or copying illegally by other persons ?
    If I create JAR file from java files, can it be also convertible back to source codes ?
    Avi

    You can use code obfuscators in order to protect your code. And yes a jar file can also be decompiled.
    http://www.retrologic.com/
    http://www.2lkit.com/products/2LKitObf/
    http://www.codingart.com/codeshield.html
    http://www.drjava.de/obfuscator/

  • How to convert class file to Java source code ?

    Hi All ,
    Currently am working in Peoplesoft Demo project using java as Plug in.We have only the class files and jar files and we have planned to modify the code for future enhancements.We dont have any legal issues here as we are already working with our client for the original source code.
    Kindly help me out in doing this reverse engineering process.We have come to know the below steps would help us out.Can someone guide us in acheiving this process step by step.Please add your experience here and let us know what are the other steps required ..
    (1)Rename the file from .jar to .zip and extract the .zip file.
    (2)Decompile the desired .class file using 3rd party tool and get .java file.
    (3)Modify the .java file and compile it.
    (4)Now zip the extracted files and rename the it from .zip to .jar.
    We need to verify whether the modified .jar file will work
    Thanks & Regards
    Kar1983

    Thanks for your reply ....We have asked them so many times ..but they say they dont have it .Since we have planned to do some enhancements from our end we have planned to do reverse engineering process.

  • View Source Code of Existing iPhone Apps

    Is there a way to view the source code of existing iPhone Apps?

    The files uploaded to the iTunes store are only those included in the .app package. These include all the resources, so all the .nib files would be there, but there's no source code in that package as far as I know. You can view the package you would upload by expanding the Product folder in the Xcode Groups & Files tree. Then Ctrl-click on the .app icon, select Reveal in Finder, Ctrl-click on the .app package and select Show Package Contents.
    Lots of independent developers (as distinct from corporation employees) are willing to share their knowledge including excerpts from their code, and that's what this forum is all about. I've pasted lots of source code from my app into the answers I've provided in this forum. If you contact a developer privately, I think it would be better to ask "How did you do that?" instead of asking for the complete source code. But there are lots of people out there who enjoy teaching others even more than protecting their ideas. My only disappointment in this forum is that many (but certainly not all!!) are really good at saying "please", but seem to have some language problem with "thank you".

  • Problem while including the header file in C source code in CIN

    While Creating code interface node....
    In the C source code we are supposed to include the Header file "extcode.h".In my system i have installed
    Turbo C. I couldn't able to find the above header files.When i am trying to use the above header file i am getting error,what could be the reason

    Hi,
    You need to point your turbo C to ..\labview\cintools which is where you will find the extcode.h and other h file and also the lib file.
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • Sql Developer - View source code of procedures, functions & packages in another schema

    Our developers need the ability to view procedures, function, packages etc. in the production database (using SQL DEVELOPER).  They don't have access to sign on as the owner of these
    objects in Production.  They must use their own limited access UserID for this purpose.
    This limited access UserID has been granted select privilege on DBA_SOURCE & DBA_OBJECTS.  The developers need the ability to view the source of these object via
    the tree view in SQL DEV.  They should be able to click on "other users" in the SQL DEV tree view and see a listing of the owner schema objects.  Then they should
    be able to select the desired object and view the source code.  These developers are used to using GUI interfaces.  Selecting from DBA_SOURCE would not be an
    option for them.
    I understand that if the limited user is granted SELECT ANY DICTIONARY or SELECT_CATALOG_ROLE then this functionality will work.  The problem is those
    privileges/roles  provide much more access than should be granted to these limited access users. Granting DBA to these users is also not an option.
    In TOAD and other end-user tools this functionality works when only select privilege on DBA_SOURCE & DBA_OBJECTS has been granted.  We need this same functionality
    in SQL DEV.
    While searching this forum and the internet, I see that other installations have this same issue.
    Please enhance SQL Developer with this functionality. 
    Thank you, ellen

    Just to double check that I'm interpreting the problem correctly, is the following true:
    select * from all_objects where object_name = 'DBA_SOURCE'
    returns nothing
    select * from dba_source where name = your PL/SQL module
    returns all the code

  • View source code of UDF's and Standard Functions

    Hi Friends,
    Is it possible to view the source code written in the UDF's and Standard Functions.
    If possible please enlighten me.
    Thanks,
    Swapna.

    Hi,
    I dont think u can view the src code for Standard function but try this.
    While holding down "ctrl" + "shift" + "0" key click on the standard function.See if u can export it and check for some src
    code
    Regards,
    Shabari

  • Set application file name in source code

    Hello,
    in some projects i use the same software, only with different interfaces, or sometimes with customized panels. Within the sourcecode i just activate or deactivate the functions i need with defines, f.e: #define USE_TCP...and  #ifdef USE_TCP...........#endif. 
    Is it possible to set the application name in source code (instead of BUILD -> TARGET SETTINGS) ?.
    I'm lookink for something like 
    #idfef UART_TARGET........project_uart.exe
    #elif defined TCP_TARGET........project_tcp.exe
    #else ............... project_standard.exe
    #endif
    in other compilers (for microcontrollers) i can do something like this with #EXPORT (HEX, FILE=HEX_FILENAME)
    Any ideas?
    Thanks and greetings from Bremerhaven, Germany
    Norbert Rieper

    Ohh....
    Well there is the :
    CVI_AppBuildProject (CAObjHandle objectHandle, ERRORINFO
    *errorInfo, long *returnValue);
    But it's only for build with no names support , that's what I know but maybe there is something else which I don't know of.....
    One more thing - At the menu Build > Builed Steps 
    there you can define your options at 3 stages :
    Custom Build Actions—Actions that occur immediately before
    LabWindows/CVI starts dependency checking after you initiate a build.
    Pre-build Actions—Actions that occur after LabWindows/CVI
    checks for dependencies and before it builds the target. Pre-build actions occur
    only when the target needs to be built.
    Post-build Actions—Actions that occur after the target is
    built. Post-build actions occur only when a build is successful. 
    Try over there maybe it will help you....
    Kobi Kalif
    Software Engineer

  • I recently upgraded to FireFox 8.0. Now I can no longer see the option to view source code. Where has this gone?

    Nothing more to add, cannot find view source.

    "Ctrl+U" or in the View Menu
    If you want to see the keyboard shortcuts in Windows 7 menus, the removal was Microsoft's doing, and can be restored see item #9 in
    * http://dmcritchie.mvps.org/windows-7/win7.htm#steps
    If you made source be Notepad for you local files, you can still see the formatted source by bookmarking the following chrome shortcut. I give a keyword shortcut of "source:"
    * javascript:location="view-source:"+location
    Keyboard shortcuts
    * Keyboard shortcuts | How to | Firefox Help<br>https://support.mozilla.com/kb/Keyboard%20shortcuts
    * Firefox and other Browser Keyboard Shortcuts (Comparison Table)<br>http://dmcritchie.mvps.org/firefox/keyboard.htm
    Keyword shortcuts:
    * Firefox Keyword Shortcuts<br>http://dmcritchie.mvps.org/firefox/kws.htm
    You can make '''Firefox 8.0''' look like Firefox 3.6.*, see numbered '''items 1-10''' in the following topic [http://dmcritchie.mvps.org/firefox/firefox-problems.htm#fx4interface Fix Firefox 4.0 toolbar user interface, problems (Make Firefox 4.0 thru 8.0, look like 3.6)]. ''Whether or not you make changes, you should be aware of what has changed and what you have to do to use changed or missing features.''
    * http://dmcritchie.mvps.org/firefox/firefox-problems.htm#fx4interface
    <p>There is a lot more beyond those first 10 steps listed, if you want to make Firefox more functional.</p>
    <p><small>Please mark "Solved" one answer that will best help others with a similar problem -- hope this was it.</small></p>

  • View Source code

    Gurus,
    I have a Schema APPLOWN that owns the application objects (tables,pl/sql objects,etc.). Like wise I have seperate schemas for BATCH,WEB,LOAD & DEV
    The APPLDEV is the developer schema where the developer can use it for querying tables.
    Now, How do I enable the developer to see the PL/SQL objects source code that are owned by APPOWN? What kind of grant am I missing for APPLDEV user?
    Please help.

    grant execute on APPOWN.procedure_name to APPOWN;Even allowing for the typo this is not necessarily the correct approach. this allows the APPDEV accounts to run the code which is different from merely seeing the source code. Bear in mind also that being granted EXECUTE on a package allows us to see the source of the package spec but not the body (this is wht pacakages are so good for security).
    So the question becaomes, if the account is not allowed to execute the code why should it be allowed to see the source? For developers the answer is presumably "to understand what the code does".
    The correct approach is
    (1) Decent documentation. Notice that I managed to keep a straight face when I typed that
    (2) having all the code in a source control repository. This is good practice anyway but does have the advantage that people can eyeball the code without changing the database privileges (which is desirable).
    In the absence of those two good things the third option is for SYS to create a view like
    CREATE OR REPLACE VIEW appown_source AS
    SELECT * FROM DBA_SOURCE
    WHERE owner = 'APPOWN'
    GRANT SELECT ON appown_source TO appdev
    /Cheers, APC

  • Viewing source code Safari 8.0

    How do you view the source code for a website in Safari 8.0/Yosemite?

    Safari - Preferences - Advanced - Show Advanced Menu, then  Develop menu and  select Show Page Source. 

  • Is there HTML link code which will open "View Source Code" in a visitor's browser?

    This is for use only by my client during development.
    TIA

    This is a JavaScript that displays source code for any URL you type in to defeat the dreaded "disable right click".  Maybe you could fiddle it for your purpose.
    http://javascript.internet.com/page-details/source-viewer.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.com/blogspot.com

Maybe you are looking for