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

Tree Item Problem. (Really don't know how to explain this) - mg code

Bob
I am adding managed code to a project that I created under Visual 7.0 C++ because I want to utilize parts of the framework. The project runs fine when I am under Visual 7.0 and the Managed Code extensions are turned off. When I turn them off, one of my views terminates on the "UpdateData" call for the dialog. In the past when I have had this it was generally do to a resource problem and I was able to track it down on the data exchange side or message map. Here I can not even step into it before I terminate with this error

An unhandled exception of type 'System.TypeLoadException' occurred in progamname.ex

Additional information: Could not load type _TREEITEM from assembly programname, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null

All works fine when I don't use the managed code side. If I comment out the "UpdateData" it will load but not populate. I am overriding the base class update data on this

Nov 17 '05 #1
2 1349
Hi Bob,
I am adding managed code to a project that I created under Visual 7.0 C++ because I want to utilize parts of the framework. The project runs fine
when I am under Visual 7.0 and the Managed Code extensions are turned off.
When I turn them off, one of my views terminates on the "UpdateData" call
for the dialog. In the past when I have had this it was generally do to a
resource problem and I was able to track it down on the data exchange side
or message map. Here I can not even step into it before I terminate with
this error:
An unhandled exception of type 'System.TypeLoadException' occurred in progamname.exe
Additional information: Could not load type _TREEITEM from assembly programname, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null.
All works fine when I don't use the managed code side. If I comment out

the "UpdateData" it will load but not populate. I am overriding the base
class update data on this.

See http://www.winterdom.com/mcppfaq/archives/000262.html

--
Tomas Restrepo
to****@mvps.org
Nov 17 '05 #2
Bob
Thanks!
Nov 17 '05 #3

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

Similar topics

37
by: Gregor Horvath | last post by:
Hi, >>>type() <type 'list'> >>>type(('1')) <type 'str'> I wonder why ('1') is no tuple????
1
by: Jerry Khoo | last post by:
hello, everybody, i am kinda new here, nice to meet u all. Now, i am > cs students and are now facing difficult problems in understanding > what a binary tree is, how it works, and the algorithm...
4
by: Henry Jordon | last post by:
I have everything pretty much done but I need to fix something in my coding. I want to be able to enter strings such as "love", "hate", "the", etc. but am unable to figure how to do this. I have...
22
by: delraydog | last post by:
It's quite simple to walk to the DOM tree going forward however I can't figure out a nice clean way to walk the DOM tree in reverse. Checking previousSibling is not sufficient as the...
13
by: hornedw | last post by:
I have been working on a ecommerce website for myself. What I needed some assistance on was when i was trying to display the categories/subcategories for the different products. I decided to use...
2
by: xianwei | last post by:
First, typedef struct pair { Node *parent; Node *child; } Pair; static Pair SeekItem(cosnt Item *pI, const Tree *pTree) { Pair look;
6
by: Gordon | last post by:
I've developed a CMS that manages content across several sites. The content is represented in a tree structure maintained in a database, where each item has an id and a parent that points to the...
2
by: slizorn | last post by:
hi guys, i need to make a tree traversal algorithm that would help me search the tree.. basically i need to read in a text file... shown below H H,E,L E,B,F B,A,C A,null,null c,null,D
2
by: slizorn | last post by:
hi guys, i need to make a tree traversal algorithm that would help me search the tree.. creating a method to search a tree to find the position of node and to return its pointer value basically i...
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: 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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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,...
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...
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...

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.