Author |
Topic |
|
Uniwares
Tomato Guru
Portugal
2322 Posts |
Posted - Dec 15 2003 : 8:32:21 PM
|
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
|
If you click on "CEVent", does VA display the correct definition? |
Whole Tomato Software, Inc. |
|
|
Uniwares
Tomato Guru
Portugal
2322 Posts |
Posted - Dec 22 2003 : 2:52:27 PM
|
No, it didplays the one from MFC. |
|
|
support
Whole Tomato Software
5566 Posts |
Posted - Dec 22 2003 : 4:07:29 PM
|
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. |
|
|
support
Whole Tomato Software
5566 Posts |
Posted - Dec 22 2003 : 5:57:21 PM
|
Do you [still] have "Guess symbol definition if unknown" enabled in Text Editor|C/C++? |
Whole Tomato Software, Inc. |
|
|
Uniwares
Tomato Guru
Portugal
2322 Posts |
Posted - Dec 22 2003 : 6:37:16 PM
|
No. Its disabled, it seems to cause more damage than do good. |
|
|
Uniwares
Tomato Guru
Portugal
2322 Posts |
Posted - Dec 22 2003 : 6:39:09 PM
|
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. |
|
|
support
Whole Tomato Software
5566 Posts |
Posted - Dec 23 2003 : 08:44:39 AM
|
If you open the header and click on "CEVent", does VA then give you the correct definition? |
Whole Tomato Software, Inc. |
|
|
Uniwares
Tomato Guru
Portugal
2322 Posts |
Posted - Dec 23 2003 : 10:40:35 PM
|
Yep. (BTW: Its CEvent not CEVent; that was a typo of mine in the first post) |
|
|
Uniwares
Tomato Guru
Portugal
2322 Posts |
Posted - Mar 16 2004 : 7:03:32 PM
|
As of build 1221, HCB still shows me the wrong base class(es) |
|
|
Uniwares
Tomato Guru
Portugal
2322 Posts |
Posted - Mar 17 2004 : 11:06:01 AM
|
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. |
|
|
|
Topic |
|