473,385 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

UMLE00501 on dotnet framework delegates when reverse engineering

[c/p between microsoft.public.dotnet.languages.csharp and
microsoft.public.visio.software.modeling, I don't really know where it
would have to be posted]

I've got a weird thing when reverse engineering a c# project which is
declaring and then using an event of type CancelEventHandler as in the
following snippet:

...
public event System.ComponentModel.CancelEventHandler MyEvent;

protected virtual void OnMyEvent (System.ComponentModel.CancelEventArgs
e)
{
if (MyEvent != null)
{
MyEvent (this, e);
}
}
...
// some code creating a CancelEventArgs
OnMyEvent(e)
...

This code compile and works perfectly, when I try to reverse engineer
that on UML (on Visio 2002 through VSEA 2003) I don't get any error, but
when I see the resulting UML from Visio, the output error windows is
warning about an UMLE00501 error I couldn't find any reference about.
Here is what I read:

"UMLE00501: CancelEventHandler[Class] : Un delegato puņ disporre di una
sola operazione".

I've Italian versions of both Visio 2002 and VSEA 2003, and a
translation of that error message could be "a delegate can get one and
only one operation".

I tested that with another Event Handler, the generic EventHandler, and
I got same mistake. When I double click on the line in the output error
windows, the focus is shifting in the Model Explorer, and there not in
the class and in the package where I used that, but directly in the
CancelEventHandler class in the package ComponentModel inside the System
package.

Anyone knowing what is going on? Is there somewhere a reference for the
UMLE family of errors (I've got also the UMLE00011 in some other point).

--
ale
http://www.sen.it
rara temporum felicitate, ubi sentire
quae velis, et quae sentias dicere, licet

Nov 17 '05 #1
4 1768
Hi Ale,

We have reviewed this issue and are currently researching on it. We will
update you ASAP. Thanks for your patience!

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Nov 17 '05 #2
Kevin Yu [MSFT], from <v-****@online.microsoft.com>,
in <news:I3**************@TK2MSFTNGXA01.phx.gbl>, wrote:
We have reviewed this issue and are currently researching on it. We
will update you ASAP. Thanks for your patience!


Thank you to get interested with that, in every chance.

--
ale
http://www.sen.it
rara temporum felicitate, ubi sentire
quae velis, et quae sentias dicere, licet
Nov 17 '05 #3
Hi ale,

Firstly, I'd suggest you can download the Visio 2003 SDK, which has one
code sample explorer. Please see how the code sample performs the handling
on visio event.
http://www.microsoft.com/downloads/d...0bd-b0bb-46e7-
936a-b8539898d44d&displaylang=en

If the code sample can't be helpful for you on this issue, I'd suggest you
can send one reproduce project and steps to me. I will perform one research
for you on this issue. Thanks in advance!

Look forward to your update. My pleasure to be of any assistance!

Best Regards,
Wei-Dong XU
Microsoft Product Support Services
This posting is provided "AS IS" with no warranties, and confers no rights.
Nov 17 '05 #4

My email address is: v-****@online.microsoft.com (please remove online
which is used to avoid spam)

Expect to your update!

Best Regards,
Wei-Dong XU
Microsoft Product Support Services
This posting is provided "AS IS" with no warranties, and confers no rights.
Nov 17 '05 #5

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

Similar topics

10
by: Darren | last post by:
OK, I'm trying to understand the need for this. If I understand correctly without this anyone can reverse engineer and obtain the source code of my application - is this correct? And this tool will...
8
by: xiao zhang yu | last post by:
me was sorry if this question are present before DotNet, no matter VB.Net or C# all they are compiled to IL, and yes, that IL will totally same as "open-sourse", every IL will easy to decompile...
7
by: Martin | last post by:
Hi, I am trying to reverse engineer some software in C. Ideally I would like to use a free program that would scan for function calls and map the route of function calls in programs in a tree...
6
by: bluekarthik | last post by:
Hi , Hi, has anyone tried reverse engineering a .drv / .dll file ? Plz tell me some techniques to reverse engineer .drv / .dll files !! karthik bala guru
15
by: Fady Anwar | last post by:
Hi while browsing the net i noticed that there is sites publishing some software that claim that it can decompile .net applications i didn't bleave it in fact but after trying it i was surprised...
5
by: Rodrigo Ferreira | last post by:
Anyone can explain me in a few words what is reverse engineering (benefficts) and how can i do that?
4
by: Fabio | last post by:
Hi all, How can I protect my .net code from Reverse engineering??? Please, any help will be useful. Thanks in advance, Fabio
2
by: mary | last post by:
Hi, for my thesis at the university I'm working on a Visual c++ 6.0 source code, to understand better it I need to extract the UML graphics: Class Diagram, Object Diagram, Use Case Diagram, State...
7
by: Gui | last post by:
Hi folks, I have unpacked an all-in-one exe produced by InstallShield. I've made the necessary changes and now I'm ready to repack the files. How can I do that? Which program should I use? ...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.