Title: | Microsoft Visual C++ bug reports and kits |
Notice: | Register in Topic 2. 5.Last for latest Kit |
Moderator: | DECWET::THOMAS N |
Created: | Tue May 17 1994 |
Last Modified: | Fri Jun 06 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 521 |
Total number of notes: | 2938 |
Hello; Maybe I'm missing something but we are getting lnk2001 (undefined symbol) errors anytime we use the CTreeCtrl::InsertItem() CTreeCtrl::GetItem() CListCtrl::InsertColumn() CListCtrl::SetColumn() CListCtrl::insertItem() operations. We would probably get more from these classes but these are all we are using. We're using v4.1 (RISC) edition. This does not occur on the v4.2 (standard x86 version). I think I recall that these should be present as of VC++ v4.0 - right? I've made sure that afxcmn.h is #included in stdafx.h for windows 95 common control support. I;ve \ reinstalled VC++ v4.1 (axp) with all options just to check that. Any ideas. Thanks? Mike Herrera
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
472.1 | probably fixed in 4.2B | DECWET::PETERSON | Wed Mar 05 1997 14:32 | 14 | |
I've checked the MFC export definitions, and CTreeCtrl::InsertItem is in the VC 4.0 and VC4.2B versions, and I believe the VC 4.1 version. The problem may be in the name mangling. Other include files may have a different structure name for a parameter type used in these calls. I believe VC 4.2B fixed a problem similar to this by updating a system include file so that the parameter type name in the include file matched the parameter type name that the library was built with. If updating to VC 4.2B doesn't fix the problem, compare the mangled name that is not found with the mangled name in the MFC library (link /dump /symbols mfc42.lib | qgrep CTreeCtrl | qgrep InsertItem) and see if the difference doesn't provide a clue where to look. | |||||
472.2 | Fixed in v4.2B | TINCUP::M_HERRERA | Thu Mar 06 1997 13:11 | 5 | |
Kim and Eric; This is fixed in v4.2B, thanks for all your help... Mike H. |