473,387 Members | 1,534 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,387 software developers and data experts.

MissingMethodException

Hi,

i have a problem that i can't solve for quite a long time. I created
a dll with C# and added a reference to it in my project.
i create an object from that dll (TableControl), in this object there
two more objects from that dll (TableBody, TableModel).
TableBody contains getter

public Size Size_{
get{
// ....
return new Size(x,y);
}
}

and TableControl
[code:1:53221f3ce2]
public TableBody Body{
get {return body;}
set{
// initializing
}
}
[/code:1:53221f3ce2]

aftrer i initilize variable tControl = new TableControl(); i am
watching variables with debugger and what i get is really vierd (for
me):
1) if i watch : tControl.Body.Size_ at first it returns me
System.MissingMethodException
2) but if i watch this : tControl.Body ir returns me the value of
body object and everything is fine (Value and Type of Size_ is
System.Drawing.Type) all other fields are also initialized well.
3) and if i watch tControl.Body.Size_ again it doesn't return me
MissingMethodException, but the information at second case

i analized that dll with some disassemly and that method exists.

What might be the problem ?? Could you give some advice ?
thank you in advance
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
Nov 22 '05 #1
0 1236

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

Similar topics

0
by: andrew | last post by:
Hi, i have a problem that i can't solve for quite a long time. I created a dll with C# and added a reference to it in my project. i create an object from that dll (TableControl), in this object...
1
by: Benjamin | last post by:
I am making a Windows EXE (.NET Visual Basic Windows Application). I would like to make it possible to open Excel Worksheets from my EXE. This should work independent of Excel version on client...
1
by: D. Bron | last post by:
Hello, Can anyone tell me why I'm getting the following exception: Method not found: Void Maple.Collections.Set.UnionAll(System.Collections.ICollection) I'm not using reflection, I'm not...
6
by: Chris Jackson | last post by:
OK, this one has me completely confused. Here's the situation: I have a home-rolled session management system, which allows me to share session state between my ASP.NET applications and my ASP...
0
by: Gos | last post by:
I have a form object (I pass form object into variable obj and do late binding) to be passed as an argument. Dim Prop As String Dim Properties As Type Private Sub LoadObjectSettings(ByRef...
0
by: Harry F. Harrison | last post by:
Hi folks, I'm getting the following error message using the System.Activator.CreateInstance shared method: A first chance exception of type 'System.MissingMethodException' occurred in...
0
by: Tim Anderson | last post by:
I have a multi-project solution imported from VS 2003. It includes an exe and several dlls. If I add a method to a class in a DLL project, and then call it from exe project, this is picked up by...
0
by: MrJim | last post by:
Hi, I'm experiencing an unhandled at 'smsMessage.send' with the following error 'can't find an entry point '#48' in a pinvoke dll 'cemapi.dll''. I've checked the references and they seem...
0
by: Liam | last post by:
I'm using VS 2005 and I have a custom ConfigurationSection class that works perfectly. However, when I reference it from my test project it works fine for all of the properties except when they...
1
by: S Clough | last post by:
I've got a VS2005 solution (written in C# and OpenGL) with an executable, that calls lots of sub project dlls (which are in the same solution). I briefly changed the main project to a dll (class...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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,...

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.