Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 VA X 1205-1221: it picks the wrong base class
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Uniwares
Tomato Guru

Portugal
2321 Posts

Posted - Dec 15 2003 :  8:32:21 PM  Show Profile
I have one class which happens to be named CEVent (like the equivalent in MFC) and a derived class CAutoResetEvent. I am not using MFC in any loaded project.
The HCB shows anyway CObject, CEvent and CSyncObject as base classes, which are the MFC classes, but it does not show my own.

The file which contains the CAutoResetEvent includes only the file which defines MY CEvent class.

That is somehow disturbing.

Edited by - Uniwares on Mar 16 2004 7:03:52 PM

support
Whole Tomato Software

5566 Posts

Posted - Dec 22 2003 :  2:12:54 PM  Show Profile
If you click on "CEVent", does VA display the correct definition?

Whole Tomato Software, Inc.
Go to Top of Page

Uniwares
Tomato Guru

Portugal
2321 Posts

Posted - Dec 22 2003 :  2:52:27 PM  Show Profile
No, it didplays the one from MFC.
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Dec 22 2003 :  4:07:29 PM  Show Profile
The file which contains the CAutoResetEvent includes only the file which defines MY CEvent class.

Is the "CEVent" header in your project? Include path? If you click on the #include line, does the correct path display in the definition field?

Whole Tomato Software, Inc.
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Dec 22 2003 :  5:57:21 PM  Show Profile
Do you [still] have "Guess symbol definition if unknown" enabled in Text Editor|C/C++?

Whole Tomato Software, Inc.
Go to Top of Page

Uniwares
Tomato Guru

Portugal
2321 Posts

Posted - Dec 22 2003 :  6:37:16 PM  Show Profile
No. Its disabled, it seems to cause more damage than do good.
Go to Top of Page

Uniwares
Tomato Guru

Portugal
2321 Posts

Posted - Dec 22 2003 :  6:39:09 PM  Show Profile
quote:
Originally posted by support

Is the "CEvent" header in your project? Include path? If you click on the #include line, does the correct path display in the definition field?



Everything correct here.
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Dec 23 2003 :  08:44:39 AM  Show Profile
If you open the header and click on "CEVent", does VA then give you the correct definition?

Whole Tomato Software, Inc.
Go to Top of Page

Uniwares
Tomato Guru

Portugal
2321 Posts

Posted - Dec 23 2003 :  10:40:35 PM  Show Profile
Yep. (BTW: Its CEvent not CEVent; that was a typo of mine in the first post)
Go to Top of Page

Uniwares
Tomato Guru

Portugal
2321 Posts

Posted - Mar 16 2004 :  7:03:32 PM  Show Profile
As of build 1221, HCB still shows me the wrong base class(es)
Go to Top of Page

Uniwares
Tomato Guru

Portugal
2321 Posts

Posted - Mar 17 2004 :  11:06:01 AM  Show Profile
And even worse, VAX tries autocompletion with the members from MFC's CEvent class. Argh. Thats driving me nuts. If that happens once more, I'll wipe MFC from the disk.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000