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
 Incomplete Property list in VAX Member listbox
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

daniel.hampe
Junior Member

Germany
21 Posts

Posted - Nov 28 2005 :  04:39:01 AM  Show Profile
Hello,

until the "release" of the release candidate 10.2.1432 I was using VAX in version 10.1.1418 - in this version there hasn't been the bug I will describe in following.
Now I am using VAX 10.2.1434, but the bug still remains.

Let's say we have our own class MyClass (written in Managed C++) with Properties:

namespace MyTest
{
	__gc class MyClass
	{
	public:
		__property bool get_ReadOnly(void)
		{
			return true;
		}

		__property void set_WriteOnly(bool value)
		{
			// store value
		}

		__property bool get_FullAccess(void)
		{
			return false;
		}
		__property bool set_FullAccess(bool value);
		{
			// store value
		}

	public:
		MyClass() {}
		~MyClass() {}
	};
}


Now, if we are using this MyClass anywhere, no matter if in the same file, same assembly or in an other assembly, the VAX Member listbox, which is replacing Microsoft's Intellisence, won't show the properties of our custom MyClass as we expected.

namespace MyTest
{
	void main(void)
	{
		MyClass *c = new MyClass();

		c->|
	}	
}


If we let show the Member listbox at the position where the (red) cursor is, it only offers the following members:

get_FullAccess
get_ReadOnly
MyClass
set_FullAccess
set_WriteOnly
~MyClass

I am missing the additional presentation of properties without the get_ and set_ prefixes.
The Member listbox should show the following entries:

FullAccess
get_FullAccess
get_ReadOnly
MyClass
ReadOnly
set_FullAccess
set_WriteOnly
WriteOnly
~MyClass

This bug is only present with custom Managed C++ classes. If I use the Framework classes from Microsoft, all properties are shown in the used way.

I also experimented with custom C# classes in Managed C++ code. In this case the properties are only shown without the get_ an set_ prefixes - but Microsoft's intellisense also lists the properties with their Managed C++ prefixes ...

Hope you can fix this soon, because it's annoying to type all the properties by hand ;-)

Regards Daniel.
_______________________________________________________________________

I am using Visal Studio .Net 2003 (German) v7.1.3088
Following the VAX info:

VA_X.dll file version 10.2.1434.0 built 2005.11.25
Licensed to:
VA X: [email protected] (2-user license) Support ends 2006.09.08
VA.NET 7.1:
VAOpsWin.dll version 1.3.3.0
VATE.dll version 1.0.4.2
DevEnv.exe version 7.10.3077.0
msenv.dll version 7.10.3077.0
Font: Courier New 13(Pixels)
Comctl32.dll version 5.81.4916.400
WindowsNT 5.0 Build 2195 Service Pack 4
Single processor

Platform: Win32
Stable Includes:
D:\\Entwicklung\\NotesCppAPI\\include;
D:\\Entwicklung\\Microsoft Visual Studio .NET 2003\\Vc7\\include;
D:\\Entwicklung\\Microsoft Visual Studio .NET 2003\\Vc7\\atlmfc\\include;
D:\\Entwicklung\\Microsoft Visual Studio .NET 2003\\Vc7\\PlatformSDK\\include\\prerelease;
D:\\Entwicklung\\Microsoft Visual Studio .NET 2003\\Vc7\\PlatformSDK\\include;
D:\\Entwicklung\\Microsoft Visual Studio .NET 2003\\SDK\\v1.1\\include;

Library Includes:
D:\\Entwicklung\\Microsoft Visual Studio .NET 2003\\Vc7\\atlmfc\\src\\mfc;
D:\\Entwicklung\\Microsoft Visual Studio .NET 2003\\Vc7\\atlmfc\\src\\atl;
D:\\Entwicklung\\Microsoft Visual Studio .NET 2003\\Vc7\\crt\\src;

Other Includes:

feline
Whole Tomato Software

United Kingdom
18749 Posts

Posted - Nov 28 2005 :  7:01:36 PM  Show Profile
i am getting the same thing here

case=895

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

support
Whole Tomato Software

5566 Posts

Posted - Dec 06 2005 :  8:34:42 PM  Show Profile
This bug creeped into VA X when we rewrote our C/C++ parser after build 1418.

We expect to fix this for the next build.
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