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

Type 'XXX' is not defined on line 16707566

I upgraded by VS.NET to v2003 and I'm now attempting to upgrade all my project files. I have a solution with several projects. In project A is a interface called IForm which has 2 events: DBOperationComplete and DBOperationFailed. In project B is a Windows form which implements IForm. The IForm namespace is 'UI.Base'

I'm getting a build error "Type 'UI.Base.IForm.DBOperationFailedEventHandler' is not defined." The odd thing is that the line the error comes from is 16707566.

I've check my namespace, created new project files, new Windows App classes and recreated the entire project that is having the problem. The reference is seen. The other functions and methods that IForm requires all work fine. I can even right-click on IForm and 'Go To Definition'. I go across the reference and find the IForm file just fine.

Any ideas about what is happening and how I fix it? I have other interfaces which don't cause problems, but these also are also only interface for straight classes and not UI WinForms.

Thank you,
Kevin Rose
Jul 21 '05 #1
1 2104
guy
I had this a while back and it was a spurious error, the real error wasnt reported.
btw the line number 16707566 looks like a magic number or flag that has been misinterpreted somewhere, in hex it is FEEFEE !

guy

"Kevin Rose" wrote:
I upgraded by VS.NET to v2003 and I'm now attempting to upgrade all my project files. I have a solution with several projects. In project A is a interface called IForm which has 2 events: DBOperationComplete and DBOperationFailed. In project B is a Windows form which implements IForm. The IForm namespace is 'UI.Base'

I'm getting a build error "Type 'UI.Base.IForm.DBOperationFailedEventHandler' is not defined." The odd thing is that the line the error comes from is 16707566.

I've check my namespace, created new project files, new Windows App classes and recreated the entire project that is having the problem. The reference is seen. The other functions and methods that IForm requires all work fine. I can even right-click on IForm and 'Go To Definition'. I go across the reference and find the IForm file just fine.

Any ideas about what is happening and how I fix it? I have other interfaces which don't cause problems, but these also are also only interface for straight classes and not UI WinForms.

Thank you,
Kevin Rose

Jul 21 '05 #2

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

Similar topics

19
by: Peter A. Schott | last post by:
I've got a file that seems to come across more like a dictionary from what I can tell. Something like the following format: ###,1,val_1,2,val_2,3,val_3,5,val_5,10,val_10...
13
by: dawatson833 | last post by:
I have several stored procedures with parameters that are defined with user defined data types. The time it takes to run the procedures can take 10 - 50 seconds depending on the procedure. If I...
3
by: phil | last post by:
I recently tried converting my asp.net 1.1 app to 2.0 in visual studio 2005 beta 2. I get several "type xxx is not defined" errors. It seems that some of my code file within my web application...
1
by: Kevin Rose | last post by:
I upgraded by VS.NET to v2003 and I'm now attempting to upgrade all my project files. I have a solution with several projects. In project A is a interface called IForm which has 2 events:...
11
by: icanoop | last post by:
I would like to do this MyClass x; istringstream("XXX") >> x; // Works in VC++ but not GCC instead of MyClass x; istringstream iss("XXX"); iss >> x; // Works in both GCC and VC++
7
by: chaz | last post by:
Hi, * this class is defined in assembly XXXXClsLib : Public class VVDB : inherits DBFuncs ... * Assembly YYYYFwApi has a reference to XXXXClsLib * this class B in YYYYFwApi has an imports stmt...
2
by: whisher | last post by:
Hi. I'm taking my first steps with xml and SimpleXML functions. xml.php (It could be made dynamically with a mysql result I post this snippet for example ) PHP Code xml.php: <?php $xmlstr...
0
by: vve | last post by:
I'm discovering a strange behaviour in an C# project using ZedGraph (https://sourceforge.net/projects/zedgraph/). After adding a signal to it, it seems that the clr goes mad for some reason. I...
2
by: =?Utf-8?B?UGV0ZXI=?= | last post by:
I think if the object type of the control is not System.Windows.Forms.xxx, then it is a user-defined control. But how to tell the type of the user-defined control: Composite(User), Extended, and...
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...
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...
0
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
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...

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.