Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. .net reflactor Problem help

.net reflactor Problem help

Scheduled Pinned Locked Moved .NET (Core and Framework)
helpquestioncsharp
11 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H hande54

    hi! I would like to disassembly some dll files with .Net Reflactor but I got the MSCDRUN, Module 'C:\WINDOWS\system32\MSCDRUN.DLL' does not contain a CLI header". compliance. I searched this problem the only thing I learned about the reason is this files had not been written any cli languages or there might be usage of obfuscation tool to keeping code secret . do you have any opinion how can I overcome this problem ?

    L Offline
    L Offline
    Luc Pattyn
    wrote on last edited by
    #2

    So it holds native code, not .NET managed code. You could use DUMPBIN to peek inside. :)

    Luc Pattyn


    Local announcement (Antwerp region): Lange Wapper? Neen!


    H 1 Reply Last reply
    0
    • L Luc Pattyn

      So it holds native code, not .NET managed code. You could use DUMPBIN to peek inside. :)

      Luc Pattyn


      Local announcement (Antwerp region): Lange Wapper? Neen!


      H Offline
      H Offline
      hande54
      wrote on last edited by
      #3

      thanks for your attention. could you explain it in detail ? because it does not express me anaything :(

      1 Reply Last reply
      0
      • H hande54

        hi! I would like to disassembly some dll files with .Net Reflactor but I got the MSCDRUN, Module 'C:\WINDOWS\system32\MSCDRUN.DLL' does not contain a CLI header". compliance. I searched this problem the only thing I learned about the reason is this files had not been written any cli languages or there might be usage of obfuscation tool to keeping code secret . do you have any opinion how can I overcome this problem ?

        D Offline
        D Offline
        Dave Kreskowiak
        wrote on last edited by
        #4

        Simple. You don't. Reflector will not work on a native code .DLL. You can find other disassemblers out there, but reversing a native code .DLL is not going to be that easy.

        A guide to posting questions on CodeProject[^]
        Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
             2006, 2007, 2008
        But no longer in 2009...

        H 1 Reply Last reply
        0
        • D Dave Kreskowiak

          Simple. You don't. Reflector will not work on a native code .DLL. You can find other disassemblers out there, but reversing a native code .DLL is not going to be that easy.

          A guide to posting questions on CodeProject[^]
          Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
               2006, 2007, 2008
          But no longer in 2009...

          H Offline
          H Offline
          hande54
          wrote on last edited by
          #5

          Hi Dave I am new to this subject so I have very little opinion do you have any idea for other disassemblers ?

          L D 2 Replies Last reply
          0
          • H hande54

            Hi Dave I am new to this subject so I have very little opinion do you have any idea for other disassemblers ?

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #6

            I think Dave gave you the answer; you can disassemble a dll but it will not mean much to you. Perhaps you could explain what you are trying to achieve with this?

            H 1 Reply Last reply
            0
            • L Lost User

              I think Dave gave you the answer; you can disassemble a dll but it will not mean much to you. Perhaps you could explain what you are trying to achieve with this?

              H Offline
              H Offline
              hande54
              wrote on last edited by
              #7

              I have a graduation project. I need to get the data form the blood pressure meter which has a usb gateway. this device also includes software that enables user to archieve the result in html or txt format. What I need to do is trasferring measured result from BP meter to PDA instead of PC. I think that if I reach the dll code of the application I can find a solution to do it. ıf you have better I idea I am completely open mind.

              L 1 Reply Last reply
              0
              • H hande54

                I have a graduation project. I need to get the data form the blood pressure meter which has a usb gateway. this device also includes software that enables user to archieve the result in html or txt format. What I need to do is trasferring measured result from BP meter to PDA instead of PC. I think that if I reach the dll code of the application I can find a solution to do it. ıf you have better I idea I am completely open mind.

                L Offline
                L Offline
                Luc Pattyn
                wrote on last edited by
                #8

                Rather than disassembling existing executable code you should try this list: 1. read the documentation, especially the "programmers guide" for your BP meter; 2. study the source code of any PC application that the manufacturer may have provided; 3. check the manufacturer's web site; 4. contact the manufacturer if any of the above isn't available; 5. google your problem. :)

                Luc Pattyn


                Local announcement (Antwerp region): Lange Wapper? Neen!


                1 Reply Last reply
                0
                • H hande54

                  Hi Dave I am new to this subject so I have very little opinion do you have any idea for other disassemblers ?

                  D Offline
                  D Offline
                  Dave Kreskowiak
                  wrote on last edited by
                  #9

                  Disassembling the code in that .DLL is not going to help you at all. MSCDRUN is the runtime library for Microsoft's Connection Designer. It doesn't have anything in it that describes how the connection itself is made or how data is transferred. Like Luc said, your best bet is to start with the manufacturer of the device and see if they have an SDK for it.

                  A guide to posting questions on CodeProject[^]
                  Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                       2006, 2007, 2008
                  But no longer in 2009...

                  H 1 Reply Last reply
                  0
                  • D Dave Kreskowiak

                    Disassembling the code in that .DLL is not going to help you at all. MSCDRUN is the runtime library for Microsoft's Connection Designer. It doesn't have anything in it that describes how the connection itself is made or how data is transferred. Like Luc said, your best bet is to start with the manufacturer of the device and see if they have an SDK for it.

                    A guide to posting questions on CodeProject[^]
                    Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                         2006, 2007, 2008
                    But no longer in 2009...

                    H Offline
                    H Offline
                    hande54
                    wrote on last edited by
                    #10

                    thanks for your attention. some of my collegues suggested me to make reverse engineering using dll files of the software but as you mention before I could analyze some of dll but they do not imply anything to me. I will follow your suggested way.

                    1 Reply Last reply
                    0
                    • H hande54

                      hi! I would like to disassembly some dll files with .Net Reflactor but I got the MSCDRUN, Module 'C:\WINDOWS\system32\MSCDRUN.DLL' does not contain a CLI header". compliance. I searched this problem the only thing I learned about the reason is this files had not been written any cli languages or there might be usage of obfuscation tool to keeping code secret . do you have any opinion how can I overcome this problem ?

                      A Offline
                      A Offline
                      annathor
                      wrote on last edited by
                      #11
                      1. maybe you can P/Invoke the metodhs in the dll, use the Depedency walker to se what methods there is in the dll, use google to learn about those methods and implement them in your .net application. 2) Use a disassembly for unmanaged code, and recreate the logic in the resoulting asm code in .net 3) Use a c++ decompiler, and recreate the logic in .net, all c++ decompilers, but rememer they produces really bad output.
                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups