T O P I C R E V I E W |
xMRi |
Posted - May 24 2006 : 04:09:03 AM I miss CString::ReleaseBuffer when I type: CString str; str.R
Any ideas?
Using current version 1445! |
18 L A T E S T R E P L I E S (Newest First) |
feline |
Posted - Jun 07 2006 : 3:32:33 PM normally installing a new version of VA would trigger a rebuild, so you should not have needed another rebuild. still i am glad this is now fixed |
xMRi |
Posted - Jun 07 2006 : 04:36:57 AM Sorry! I just forced a rebuild of my database and it works now. |
xMRi |
Posted - Jun 07 2006 : 04:30:45 AM Now with 1446 I see no memebr at all of the CString class! |
feline |
Posted - Jun 06 2006 : 3:35:30 PM strange. using VS2005, VA 1446 and a C++ MFC project i am seeing both GetLength() and ReleaseBuffer() suggested for a CString instance.
are you looking at completion or suggestion listboxes? what do you have: VA Options -> Text Editor -> listboxes -> get content from default intellisense
set to? are you in a position to try a new default project, to see if this is somehow project specific? |
straightwaytek |
Posted - Jun 02 2006 : 10:04:14 PM Hello, I can verify that the CString bug appears in Visual Studio 2005 on a MFC project. When referencing a CString variable most of the member functions appear except for a notable few (in this case GetLength and ReleaseBuffer come to mind) I am still noticing this bug running the latest build of Visual Assist X (VAX Version 1446). Does anyone know why such members do not appears when using Visual Assist X on Visual Studio 2005?
Sincerely,
James Simpson |
feline |
Posted - Jun 01 2006 : 5:56:32 PM VA 1446 has just been posted, which contains some fixes for listing CString members. upgrading to this version may also help. |
jpizzi |
Posted - Jun 01 2006 : 03:17:07 AM Hmmm. If you put the code back in stdafx.h and rebuild the database, does it then start working again? |
xMRi |
Posted - Jun 01 2006 : 02:01:14 AM The link to the Y directory is our public libary and include path. It also contains stable includes but no standard classes from the MFC/ATL/CRT...
I get only one option the atlstr.h! I looked into the stdafx.h in the mic directory and I see that the CString stuff is commented out.
The behaviour is the same in every project I have. |
feline |
Posted - May 31 2006 : 3:49:28 PM the only thing here that looks odd is the stable include:
Y:\\Projekt\\Common\\Include;
if you do ALT-G on CString where goes VA take you? when i do this i get two options, "atlstr.h" and "visual assist x\\misc\\stdafx.h"
do you see the same problem in a new, default application? |
xMRi |
Posted - May 31 2006 : 02:43:10 AM Sorry, here they are: VA_X.dll file version 10.2.1445.0 built 2006.04.12 Licensed to: VA X: [email protected] (4-user license) Support ends 2007.03.27 VA.NET 7.1: [email protected] (1-user license) VA 4.1: [email protected] (1-user license) VAOpsWin.dll version 1.3.2.4 VATE.dll version 1.0.4.15 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 2 processors
Platform: Win32 Stable Includes: Y:\\Projekt\\Common\\Include; C:\\Programme\\Microsoft Visual Studio .NET 2003\\Vc7\\include; C:\\Programme\\Microsoft Visual Studio .NET 2003\\Vc7\\atlmfc\\include; C:\\Programme\\Microsoft Visual Studio .NET 2003\\Vc7\\PlatformSDK\\include\\prerelease; C:\\Programme\\Microsoft Visual Studio .NET 2003\\Vc7\\PlatformSDK\\include; C:\\Programme\\Microsoft Visual Studio .NET 2003\\SDK\\v1.1\\include;
Library Includes: D:\\Proj32\\AGSQL\\Common\\Libraries\\BCGControlBar; C:\\Programme\\Microsoft Visual Studio .NET 2003\\Vc7\\atlmfc\\src\\mfc; C:\\Programme\\Microsoft Visual Studio .NET 2003\\Vc7\\atlmfc\\src\\atl; C:\\Programme\\Microsoft Visual Studio .NET 2003\\Vc7\\crt\\src;
Other Includes:
|
jpizzi |
Posted - May 30 2006 : 10:04:44 PM That would be the information from the Visual Assist Options About Window. Select Copy Info and paste into a new message here. |
xMRi |
Posted - May 30 2006 : 04:49:49 AM quote: Originally posted by jpizzi
What about giving us the "standard debug" information?
What is this? How can I create it? |
jpizzi |
Posted - May 29 2006 : 7:39:12 PM What about giving us the "standard debug" information?
Isn't is possible that this is related to stable includes or some other environment-wide setting? |
feline |
Posted - May 29 2006 : 7:06:25 PM this is odd. i should be able to reproduce this.
a fix has been made in the last few days for suggestions on CString, which should be present in the next build of VA. we are hoping to have a public beta of the new 15xx versions in a few days, which should have this fix. depending on how long it takes this may be the best way forward.
have you tried a new default project to see if you get this problem? there is a small chance that all of your normal projects have the same setting that causes this problem to show up. |
xMRi |
Posted - May 29 2006 : 03:51:08 AM Checked it, doesn't make a difference. I see this effect in all of my projects! There is nothing special with the projects... |
feline |
Posted - May 27 2006 : 1:40:07 PM i nearly always have this turned off on my machines, so this setting should not make any difference. if changing this does not help can you try to reproduce this problem in a basic project? it is possible that some project specific settings you have are a factor. |
xMRi |
Posted - May 26 2006 : 01:41:49 AM Using VS2003 with VA 1445.
The check box "get content from default intellisense" was disabled.
I set it to checked now. I will see. Even than strange. |
feline |
Posted - May 25 2006 : 2:33:06 PM using VS2003, C++ and VA 1445 i cannot reproduce this. both ReleaseBuffer() and ReleaseBufferSetLength() are being suggested.
which IDE are you using? does this happen in a test project? what do you have:
VA Options -> Text Editor -> listboxes -> get content from default intellisense
set to? |