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
 1221/.NET2003 - Red underlined include filenames?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

LarryLeonard
Tomato Guru

USA
1041 Posts

Posted - Mar 18 2004 :  12:21:34 PM  Show Profile
For some reason, VAX is marking these two lines with red underlines:

#include <Lmcons.h>

// Needed for EnumProcessModules() and GetModuleFileNameEx().
#include <Psapi.h>
#pragma comment (lib, "<Psapi")
I find this odd, because VAX doesn't mark #include <Lmcons.h> as mispelled. A clue right be that the suggestions for each 'mispelling' are 'Palpi' and 'Passepied': neither are in my source code, but both are actual English words. (The former is the plural of palpus, "the soft palm of the hand"; the latter is "A spirited dance in triple meter, popular in France and England in the 17th and 18th centuries, resembling a minuet but faster".)

How easy would it be to not check spelling on any line that starts with a "#"?

Edited by - LarryLeonard on Mar 18 2004 2:27:38 PM

Stephen
Tomato Guru

United Kingdom
781 Posts

Posted - Mar 18 2004 :  1:11:02 PM  Show Profile
This reminds me of thread #1322. So I think it might be something to do with the fact that you have "Psapi" in a string and in an #include. What happens if you change them both to Lmcons?

Stephen Turner
ClickTracks http://www.clicktracks.com/
Winner: ClickZ's Best Web Analytics Tool 2003 & 2004
Go to Top of Page

Uniwares
Tomato Guru

Portugal
2322 Posts

Posted - Mar 18 2004 :  1:57:50 PM  Show Profile
quote:
Originally posted by LarryLeonard

How easy would it be to not check spelling on any line that starts with a "#"?



Except for lines with #error and #pragma message of course!
Go to Top of Page

LarryLeonard
Tomato Guru

USA
1041 Posts

Posted - Mar 18 2004 :  2:31:21 PM  Show Profile
quote:
What happens if you change them both to Lmcons?
Weird. If I do that, I get:

#include <Lmcons.h>												// UNLEN

// Needed for EnumProcessModules() and GetModuleFileNameEx().
#include <Lmcons.h>
#pragma comment (lib, "Lmcons")
All three of them are marked as mispelled!

quote:
Except for lines with #error and #pragma message of course!
Man, there's always an exception, isn't there?
Go to Top of Page

Uniwares
Tomato Guru

Portugal
2322 Posts

Posted - Mar 18 2004 :  2:32:02 PM  Show Profile
Sorry
Go to Top of Page

Stephen
Tomato Guru

United Kingdom
781 Posts

Posted - Mar 18 2004 :  2:56:44 PM  Show Profile
Yeah, I thought so. I strongly suspect it's to do with the spell-checker caching spelling mistakes and remembering them at inappropriate moments. There are a couple more examples in the thread I cited earlier.

Stephen Turner
ClickTracks http://www.clicktracks.com/
Winner: ClickZ's Best Web Analytics Tool 2003 & 2004
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