Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Enumerators unknown in enum

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
Mattijs Posted - Feb 22 2006 : 06:44:47 AM
Dear Support,

When using enums, it's very handy that VA knows the enumerators, and suggests them when typing. However, when using the following syntax

typedef enum
{
FSpf_looping = 0x0001,
FSpf_synchronous = 0x0002,
FSpf_asynchronous = 0x0004,
} FSPlayFlags ;

or

enum FSPlayFlags
{
FSpf_looping = 1,
FSpf_synchronous = 2,
FSpf_asynchronous = 4,
} ;


Visual Assist only recognizes the first enumerator (in this case 'FSpf_looping'), and ignores the rest. When the '= ...' is removed, all enumerators are known by VA.

Cheers,

Mattijs


VA_X.dll file version 10.1.1430.0 built 2005.11.04
Licensed to:
VA X: [email protected] (1-user license) Support ends 2006.11.04
VA 6.0: [email protected] (1-user license)
VAOpsWin.dll version 1.3.3.0
VATE.dll version 1.0.4.2
MSDev.exe version 6.0.9782.2
Devshl.dll version 6.0.9782.0
Devedit.pkg version 6.0.9782.0
Font: Fixedsys -15(Pixels)
Comctl32.dll version 5.81.4916.400
WindowsNT 5.0 Build 2195 Service Pack 4
2 processors

Platform: Win32 (x86)
Stable Includes:
D:\\SDKs\\DirectX9.0\\Include;
D:\\SDKS\\DIRECTX8.1\\SAMPLES\\MULTIMEDIA\\DIRECTSHOW\\BASECLASSES;
D:\\Program Files\\Microsoft Visual Studio\\VC98\\INCLUDE;
D:\\Program Files\\Microsoft Visual Studio\\VC98\\INCLUDE\\Zlib;
D:\\SDKS\\MAX7SDK\\INCLUDE;
D:\\SDKS\\MAX7SDK\\INCLUDE\\cs;
D:\\PROGRAM FILES\\MICROSOFT VISUAL STUDIO\\VC98\\ATL\\INCLUDE;
D:\\PROGRAM FILES\\MICROSOFT VISUAL STUDIO\\VC98\\mfc\\INCLUDE;
D:\\Projects\\Jazz\\F2D2XX;
D:\\PROJECTS\\4SPACE\\LIBRARIES\\INCLUDE\\FREETYPE;
D:\\SDKs\\OpenAL\\Include;
D:\\Program Files\\NVIDIA Corporation\\Cg\\include;

Library Includes:
D:\\Program Files\\Microsoft Visual Studio\\VC98\\MFC\\SRC;
D:\\Program Files\\Microsoft Visual Studio\\VC98\\MFC\\INCLUDE;
D:\\Program Files\\Microsoft Visual Studio\\VC98\\ATL\\INCLUDE;
D:\\Program Files\\Microsoft Visual Studio\\VC98\\CRT\\SRC;

Other Includes:

3   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Feb 23 2006 : 3:42:10 PM
it is often worth looking for the change history, to see if there are any relevant bug fixes in the latest builds as well
Mattijs Posted - Feb 23 2006 : 05:25:57 AM
Thank you, downloading the latest release indeed fixes it for me too. The next time I have a problem with Visual Assist (and this is rare, because it is such a wonderful and useful tool), I will FIRST download the latest version of VA_X before complaining on the forum...
feline Posted - Feb 22 2006 : 2:58:16 PM
this is working correctly for us, using VS2003 and VA 1440. if you upgrade VA to 1440 this should be fixed for you as well.

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