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
 Enumerators unknown in enum
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Mattijs
New Member

Netherlands
5 Posts

Posted - Feb 22 2006 :  06:44:47 AM  Show Profile  Reply with Quote
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:

feline
Whole Tomato Software

United Kingdom
18951 Posts

Posted - Feb 22 2006 :  2:58:16 PM  Show Profile  Reply with Quote
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.

zen is the art of being at one with the two'ness
Go to Top of Page

Mattijs
New Member

Netherlands
5 Posts

Posted - Feb 23 2006 :  05:25:57 AM  Show Profile  Reply with Quote
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...
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18951 Posts

Posted - Feb 23 2006 :  3:42:10 PM  Show Profile  Reply with Quote
it is often worth looking for the change history, to see if there are any relevant bug fixes in the latest builds as well

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000