vb.net reflector prototypes

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mark Fishman

    #1

    vb.net reflector prototypes

    I am using Reflector on my vb.net .dll, trying to see what is
    capabilities are. I was expecting it to decompile my dll back to the
    code, but all I seem to get is the function prototypes.

    Am I doing something wrong ?

    tia,
    marfi

  • Cor Ligthert [MVP]

    #2
    Re: vb.net reflector prototypes

    Mark,
    [color=blue]
    >I am using Reflector on my vb.net .dll, trying to see what is
    > capabilities are. I was expecting it to decompile my dll back to the
    > code, but all I seem to get is the function prototypes.
    >[/color]
    Are you serious?

    Cor


    Comment

    • Herfried K. Wagner [MVP]

      #3
      Re: vb.net reflector prototypes

      "Mark Fishman" <marfi95@gmail. com> schrieb:[color=blue]
      >I am using Reflector on my vb.net .dll, trying to see what is
      > capabilities are. I was expecting it to decompile my dll back to the
      > code, but all I seem to get is the function prototypes.
      >
      > Am I doing something wrong ?[/color]

      Doubleclick the method name in the object browser treeview window.

      --
      M S Herfried K. Wagner
      M V P <URL:http://dotnet.mvps.org/>
      V B <URL:http://classicvb.org/petition/>

      Comment

      • marfi95@yahoo.com

        #4
        Re: vb.net reflector prototypes

        This is what I get when viewing the method:

        <MethodImpl(Met hodImplOptions. InternalCall,
        MethodCodeType: =MethodCodeType .Runtime), DispId(1)> _
        Public Overridable Function IsPres(<In> ByVal myType As dTypes) As
        Boolean Implements IMyDManager.IsP res
        End Function

        It's not overridden at a lower level.

        Comment

        • Chris Dunaway

          #5
          Re: vb.net reflector prototypes

          What .dll are you looking at? What version of Reflector are you using?

          Comment

          • marfi95@yahoo.com

            #6
            Re: vb.net reflector prototypes

            this was just a dll written by another dev here at our company. we
            were just experimenting around to see what was possible. using version
            4.1.70

            its almost like its been hidden somehow, but dont know how that would
            have been. I thought the only way to do that was dotfuscate, but then
            the implementation would still show up, just be harder to read ?

            Comment

            • Mattias Sjögren

              #7
              Re: vb.net reflector prototypes

              >This is what I get when viewing the method:[color=blue]
              >
              ><MethodImpl(Me thodImplOptions .InternalCall,
              >MethodCodeType :=MethodCodeTyp e.Runtime), DispId(1)> _
              >Public Overridable Function IsPres(<In> ByVal myType As dTypes) As
              >Boolean Implements IMyDManager.IsP res
              >End Function
              >
              >It's not overridden at a lower level.[/color]

              Looks like a method on a COM type in an interop assembly. It doesn't
              how any implementation since the method is implemented in the native
              COM library.



              Mattias

              --
              Mattias Sjögren [MVP] mattias @ mvps.org
              http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
              Please reply only to the newsgroup.

              Comment

              • Chris Dunaway

                #8
                Re: vb.net reflector prototypes

                But is the .dll a .Net assembly or a COM .dll? It looks as if it is
                from a COM interop assembly in which case you would see no code.

                Comment

                • marfi95@yahoo.com

                  #9
                  Re: vb.net reflector prototypes

                  Is there any way to tell what .dll its coming from ?

                  Comment

                  Working...