Hello,
I get a wrong tooltip if I want to call a method with MC++ in the following situation:
I have to include a 3rd-party Header file into my project which contains a typedef as the following:
File "thirdParty.h"
typedef struct
{
int Number;
char String[256]; /* must be terminated by '\\0' */
} TEST_STRUCT;
Now if I try to call the tooltip for String::Format, I get the comment from the TEST_STRUCT.String - member. Only if I use full quallified namespace (System::String::Format) the tooltip shows the parameter list of String::Format.
(Remarks: in the following code sample, this is the cursor: |
File "test1.cpp"
#using <mscorlib.dll>
using namespace System;
#inlcude "thirdParty.h"
int _tmain()
{
String *s;
s = String::Format(|) // -> tooltip shows the comment of TEST_STRUCT.String which is wrong in this context
s = System::String::Format(|) // -> tooltip shows the parameter list of String::Format
return 0;
}
Is there a workaround?
Regards Daniel
_______________________________________________________________________
I am using Visal Studio .Net 2003 (German) v7.1.3088
Following the VAX info:
VA_X.dll file version 10.2.1440.0 built 2006.01.17
Licensed to:
VA X: [email protected] (2-user license) Support ends 2006.09.08
VA.NET 7.1:
VAOpsWin.dll version 1.3.2.0
VATE.dll version 1.0.4.12
DevEnv.exe version 7.10.3077.0
msenv.dll version 7.10.3077.0
Font: Courier New 13(Pixels)
Comctl32.dll version 5.82.2900.2180
WindowsNT 5.1 Build 2600 Service Pack 2
Single processor
Platform: Win32
Stable Includes:
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: