473,804 Members | 3,716 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

UMLE00501 on dotnet framework delegates when reverse engineering

[c/p between microsoft.publi c.dotnet.langua ges.csharp and
microsoft.publi c.visio.softwar e.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 CancelEventHand ler as in the
following snippet:

...
public event System.Componen tModel.CancelEv entHandler MyEvent;

protected virtual void OnMyEvent (System.Compone ntModel.CancelE ventArgs
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: CancelEventHand ler[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
CancelEventHand ler 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 1791
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.mic rosoft.com>,
in <news:I3******* *******@TK2MSFT NGXA01.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&di splaylang=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.mic rosoft.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
3761
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 prevent this? Why isn't this tool automatically executed by default whenever I build my apps? My company is building corporate applications and don't want our source code available to anyone. I assume there is a Dotfuscator that
8
675
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 and get the source nicety, although there have comeout with some "obfuscators" solution, but the structure still remain exactly same as the source after obfuscate. me unable to understand what the benefit will IL bring to me, is that benefit of...
7
5168
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 structure. ie. main() defined in a.c | ----------------> init_comms() defined in b.c
6
9518
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
5091
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 that i could retrieve my code from my applications after i compile it so i need to know to prevent this from happening to my applications Thanx in advance
5
1736
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
1497
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
4263
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 Diagram, Sequence Diagram, Collaboration Diagram, Activity Diagram. I've installed Visio 2003 and I'm trying to reverse engineering my project to get the conceptual design of it. When I start Visio, it exstracts and decodes correctly the...
7
5337
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? For unpacking I used IsXunpack. But which one should I use to repack the files into an all-in-one exe again? Maybe I should use InstallShield itself, but how?
0
9585
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10586
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10338
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10323
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10082
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7622
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5525
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5658
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2997
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.