473,468 Members | 1,329 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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

Nov 21 '05 #1
8 2427
Mark,
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.

Are you serious?

Cor
Nov 21 '05 #2
"Mark Fishman" <ma*****@gmail.com> schrieb:
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 ?


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/>
Nov 21 '05 #3
This is what I get when viewing the method:

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

It's not overridden at a lower level.

Nov 21 '05 #4
What .dll are you looking at? What version of Reflector are you using?

Nov 21 '05 #5
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 ?

Nov 21 '05 #6
>This is what I get when viewing the method:

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

It's not overridden at a lower level.


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.
Nov 21 '05 #7
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.

Nov 21 '05 #8
Is there any way to tell what .dll its coming from ?

Nov 21 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Michele Simionato | last post by:
So far, I have not installed Prothon, nor I have experience with Io, Self or other prototype-based languages. Still, from the discussion on the mailing list, I have got the strong impression that...
14
by: fb | last post by:
Does the C language require you to prototype functions? If it's not required, is it recommended?
7
by: junky_fellow | last post by:
Can a function have two different prototypes ? If not , then how can main() have two different prototypes ? int main(void) and int main argc(int argc, char *argv) I mean to say, if I declare...
1
by: petermichaux | last post by:
Hi, I have searched the archives but didn't find the questions and answers I am looking for. I have been looking at Prototype.js quite a bit lately as I need to create a very small library of...
5
by: John A Grandy | last post by:
How to use the .NET Reflector to determine which .NET version and assembly was compiled in ?
20
by: Ari Krupnik | last post by:
scripts can add methods to the prototypes of builtin objects in JaavScript. I can assign functions to String.prototype.*, for instance. I want to add a method to Node, but when I try to execute...
73
by: Steph Barklay | last post by:
Hi, I'm currently taking a data structures course in C, and my teacher said that function prototypes are not allowed in any of our code. He also said that no professional programmers use function...
4
by: robtyketto | last post by:
Greetings, I’m writing a research report on justifying disposable prototypes. The problem being there is a wealth of material regarding failures in the IT press and some of these put partial...
1
by: josephbubba | last post by:
Greetings, Question about how the NaN constant is defined in .NET. When I look at the C# definition for the System.Double NaN definition in Roeder's Reflector, it looks like this: public...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.