Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 .fail() doesn't show up for ifstream

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
diehard2 Posted - Mar 05 2010 : 11:26:10 AM

Hi, I have no intellisense for the ifstream fail member, the other members are there however. My project compiles, and the VS find references locates it. Using VS 2008 SP1 and VAX 10.6.1810.0




10   L A T E S T    R E P L I E S    (Newest First)
accord Posted - Mar 17 2010 : 6:21:03 PM
I am seeing the same effect here. Thank you for the clear description.

case=41148

It is a tricky bug, is caused by the name of the template function. value is a keyword in C++/CLI.
VA recognizes the symbols if you explicitly specify the symbol:
boost::program_options::value<bool>()->default_value(false);

but it is not a handy workaround...
diehard2 Posted - Mar 10 2010 : 11:47:54 AM
Hi, I've got one more for you from the same project. You can replicate by pasting the following code into the project I sent you




The -> operator gives no members, but this code compiles correctly and works.


diehard2 Posted - Mar 10 2010 : 11:16:14 AM
Hello accord, I apparently had a broken SDK install, after changing the paths in the stable include, and rebuilding, that fixed it. Out of curiosity, every time I update my SDK, do I have to change those paths, or will VAX figure it out for me? Thanks.
accord Posted - Mar 10 2010 : 03:56:48 AM
After importing your settings it was also broken for me. I realized that you have this line in your settings:

C:\\Program Files\\Microsoft SDKs\\Windows\\v6.1\\include

I dont have this directory, I only have 6.0 so I though it is only broken for me.
Do you have installed Windows SDK 6.1?
Does this directory exist on your side?
If yes, I will investigate further.
diehard2 Posted - Mar 09 2010 : 4:44:29 PM
Thanks accord, after clearing and rebuilding the db, those members show up again. One other thing however, the WINAPI, HINSTANCE, DWORD, and LPVOID still show up underlined (as in the second picture I posted). Is there a way to fix this?
accord Posted - Mar 09 2010 : 3:59:10 PM
Finally, I was able to reproduce the problem and put in a bug report:

case=40734

It was caused by recursive macro parsing. If you undo the steps here:

http://docs.wholetomato.com?W363

This problem will disappear. As I can see, you turned on to solve the problem in this thread:
http://forum.wholetomato.com/forum/topic.asp?TOPIC_ID=9292

But you wrote this later:
quote:
Hi accord, setting the registry keys didn't fix it, but adding the #define's to the stdafx.h seems to have done the job.

so I think you can turn it off now since it doesn't required for the macro workaround.
diehard2 Posted - Mar 09 2010 : 10:26:54 AM
Hello Accord,

Those screenshots are taken from the test project I sent to support. In my main project, hResult is also underlined. I have sent the .reg file to support. This project was created right from the ATL wizards, with no alterations to the code other than the function I added. Thanks for the help.
accord Posted - Mar 09 2010 : 03:41:12 AM
Most odd. I still get correct results. I've also set boost directory but it did not cause any problem for me. Has the screenshot taken using your test project? Can you please export your settings using

VA Options -> Performance -> Export Settings
and
IDE tools menu -> Import and Export Settings -> Export selected environment settings

and send them to me using the form

http://www.wholetomato.com/support/contact.asp

so I can import them here to see if it makes any difference. Please paste the URL of this topic to the description field of the form so we can match it up.

Something odd is going on here and the solution may lies in your settings.
diehard2 Posted - Mar 08 2010 : 10:58:31 AM
Hello, I downloaded the latest beta version, and cleaned and rebuilt the databases. I still see the same problem. In my main project, hInstance is also underlined, but that problem doesn't appear here.

VA_X.dll file version 10.6.1814.0 built 2010.03.01
Licensed to:
VA X: xxxxxx (1-user license) Support ends 2011.02.26
DevEnv.exe version 9.0.30729.1
msenv.dll version 9.0.30729.1
Font: Courier New 19(Pixels)
Comctl32.dll version 6.0.2900.5512
Windows XP 5.1 Build 2600 Service Pack 3
2 processors (x86)

Platform: Custom
Stable Includes:
c:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\include;
c:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\include;
C:\\Program Files\\Microsoft SDKs\\Windows\\v6.1\\include;
C:\\Program Files\\Microsoft SDKs\\Windows\\v6.1\\include;

Other Includes:
$(FDSBoostIncludePath);


Stable Source Directories:
c:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\src\\mfc;
c:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\src\\mfcm;
c:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\src\\atl;
c:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\crt\\src;




EDIT: I uploaded a project showing this effect to support and referenced this post
accord Posted - Mar 05 2010 : 3:47:52 PM
It is working for me. Can you please rebuild your symbol databases to see if this helps?

VA Options -> Performance -> Clear
and
VA Options -> Performance -> Rebuild

If it doesn't help, can you please go to

VA Options -> System Info -> Copy Info

and post the results (from the clipboard)? This will give us the basic information about your setup.

You can also try our latest beta build to see if this helps:

http://www.wholetomato.com/downloads/default.asp

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000