Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 1721 - Completion not working in VC6

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
SvenC Posted - Mar 29 2009 : 08:37:40 AM
Hi,

In VC6 the default intellisense list cannot be navigated with Cursor-Up/Down and neither <TAB> nor <ENTER> complete the current selection, even if the tooltip of the completion list says to use <TAB> or <ENTER>.

To reproduce:

1) I created a default MFC MDI app with the VC6 wizard.
I put the cursor into CMainFrame::CMainFrame
I type "GetC" which selects GetCalendarInfo in the intellisense drop down list. A tooltip is shown to the right of the list, showing some info about GetCalendarInfo and telling me to use <TAB> or <ENTER>
I try to navigate down with Cursor-Down but that closes the intellisense drop down and moves the cursor in the source code instead.

2) I type "GetC" and press <ctrl>-<space>. An intellisense drop down list is shown which looks slightly different (I guess the first drop down was from VS and this one is from VAX?). This list show GetCallStack as current selection and does allow Cursor-Up/Down movements.

So there seems some problems with the default VS intellisense drop down list.

This happens only in VC6, not in VC 2008.

--
SvenC
9   L A T E S T    R E P L I E S    (Newest First)
SvenC Posted - Apr 03 2009 : 12:28:32 PM
Agreed. I'll retest when the RC becomes available
feline Posted - Apr 03 2009 : 11:08:40 AM
I am not seeing any problems with Windows 7 beta, which is reporting its self to be build 7000.

If this problem is specific to certain builds of Windows 7 then there is no point in looking further until the RC is posted. The problem may go away again by then.
SvenC Posted - Apr 02 2009 : 09:52:07 AM
Yes, Platform-SDK is installed on both machines.
accord Posted - Mar 31 2009 : 2:02:41 PM
>Windows 7 build 7057 x64 -> cursor keys works
Do you have Platform SDK installed on this machine as well?
SvenC Posted - Mar 31 2009 : 03:10:34 AM
Here is the System Info without license info:

VA_X.dll file version 10.5.1721.0 built 2009.03.25
Licensed to:
MSDev.exe version 6.0.9782.2
Devshl.dll version 6.0.9782.0
Devedit.pkg version 6.0.9782.0
Font: Courier -16(Pixels)
Comctl32.dll version 5.82.7068.0
Windows 7 6.1 Build 7068
2 processors (x86)

Platform: Win32 (x86)
Stable Includes:
F:\\PROJECTS\\MICROSOFTSDK_VC6\\INCLUDE;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\INCLUDE;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\MFC\\INCLUDE;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\ATL\\INCLUDE;

Other Includes:

Stable Source Directories:
C:\\Program Files\\Microsoft Visual Studio\\VC98\\MFC\\SRC;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\MFC\\INCLUDE;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\ATL\\INCLUDE;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\CRT\\SRC;


GetCalendarInfo comes from WinNls.h from the Platform SDK from 2003 - the last one supported with VC6.
http://www.microsoft.com/msdownload/platformsdk/sdkupdate/psdk-full.htm


When I disable VAX I need to press Ctrl+Space to open the default VS intellisense list. I can use CursorUp/Down without problems. So it is the VAX drop down list which does not get the CursorUp/Down keys.


With Vista and Win7 you get several warnings during setup of VS6 that some executables have problems on that OS. I ignored them and did not have a single problem to use old VC6 and VB6 projects. You need to start VC6 with "run as admin" on first start as it enters some hklm keys but afterwards you can run it normally. VB6 always has to be started with "run as admin".


The MSDN download of Win7 is an older build. In a few weeks we should see the official RC version.
feline Posted - Mar 30 2009 : 1:56:01 PM
I am currently downloading "Windows 7 Beta (x86) - DVD (English)" from MSDN. I don't know which build number that is, I am not seeing the build number obviously listed on the download page. After that I will try and setup a test in VMware. This could take a day or two.

Do you see the same problem if VA is disabled / not loaded?

VC6 is not officially supported by Microsoft under Vista, so I doubt it is supported under Windows 7 either. I had to tell the Vista to run VC6 even though it was not supported, and if you do a web search lots of people cannot even get VC6 to install under Vista.
accord Posted - Mar 30 2009 : 1:40:07 PM
Tried with you settings, but still cannot reproduce your problem.

When I typed "GetC" I didn't get GetCalendarInfo.
Where does this function come from?
You can check it by pressing alt+g over it, or by typing into find symbol dialog (alt+shift+s)

Can you please go to:

VA Options -> System Info -> Copy Info

and paste the details (from the clipboard) into this thread. This will give us the basic information about your setup.
Maybe the different include directories causing the difference between your two machines. Not likely but worth to consider.
SvenC Posted - Mar 30 2009 : 05:47:49 AM
Just uploaded my settings (Case 25483)

I verified this on my desktop computer and cannot reproduce it there either.

Windows 7 build 7057 x64 -> cursor keys works
Windows 7 build 7068 x86 -> cursor keys do not work

I check if I have any differences in the settings.
accord Posted - Mar 29 2009 : 8:07:03 PM
I wasn't able to reproduce your problem. Here are my steps:

1. File -> New... -> Projects tab -> MFC AppWizard (exe) -> Typed project name -> OK -> Finish
(Multiple Documents is the default selection)
2. I went into CMainFrame constructor implementation in MainFrm.cpp (ln 42)
3. Typed "GetC", got a list, and I was able to navigate and to accept the list.
4. The same result with GetC <ctrl>-<space>

Am I doing something differently?

If not, can you please send us your Visual Assist settings:

VA Options -> Performance -> Export Settings
(You will get a registry file here.)

You can use this form:
http://www.wholetomato.com/support/contact.asp

to send the file. Please include this thread ID or URL in the description, so we can match it up.

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