Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Bug: Can't complete sentance

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
fascist Posted - Apr 25 2007 : 09:04:49 AM
cCompList - struct
cBaseCur - struct
cPolicies - CArray
csaData - CStringArray

cCompList->cBaseCur.cPolicies.GetAt(i).csaData.GetAt(i).
^ can't evaluate member list

11   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Apr 30 2007 : 07:46:06 AM
Working is good.

If you run into more problems can you post bug reports to the correct part of the forum, "Suggestions and Ideas" is for suggestions, not bug reports.

Also the more detail you provide up front the more easily and accurately we can help you.
fascist Posted - Apr 28 2007 : 05:07:31 AM
hm... i've reinstall my VA and now it works...
feline Posted - Apr 27 2007 : 12:53:40 PM
I am not seeing anything obviously odd in these settings.

What type of project did you create? Can you zip up this project and send me a copy, that way I will know that I am testing the same thing as you. Please submit the files via the form:

http://www.wholetomato.com/support/contact.asp

including this thread ID or URL in the description, so we can match it up.

You might want to try upgrading to VA 1555 to see if this helps.
fascist Posted - Apr 27 2007 : 08:08:03 AM
VA_X.dll file version 10.3.1549.0 built 2007.03.16
VAOpsWin.dll version 1.3.4.8
VATE.dll version 1.0.6.2
MSDev.exe version 6.0.8168.2
Devshl.dll version 6.0.8168.0
Devedit.pkg version 6.0.8168.0
Font: Courier New CYR 11(Pixels)
Comctl32.dll version 5.82.2900.2982
Windows XP 5.1 Build 2600 Service Pack 2
2 processors

Platform: Win32 (x86)
Stable Includes:
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;

Library Includes:
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;

Other Includes:

p.s. same thing with new project
feline Posted - Apr 27 2007 : 08:00:14 AM
sl@sh thank you for this!

fascist I have tried the code from sl@sh on two different machines. VS2005 with VA 1554 and VS2005 with VA 1549 and when I type the dot I get the CStringArray symbols.

Can you start by providing some information about the problem? Can you reproduce this in a new project? Is it dependent on some other piece of code you have not told us about?

Can you please go to:

VA Options -> About -> Copy Info

and paste the details (from the clipboard) into this thread. This will give us the basic information about your setup.
fascist Posted - Apr 27 2007 : 04:25:48 AM
quote:
Originally posted by sl@sh

class CPolicies {
public:
  CStringArray csaData;
};
struct STRUCT2 {
  CArray<CPolicies,CPolicies> cPolicies;
};
struct STRUCT1 {
  struct STRUCT2 cBaseStruct;
} *cCompList;
void foo() {
  STRUCT1 *cCompList;
  size_t i;
  // some sensible initialization
  cCompList->cBaseStruct.cPolicies.GetAt(i).csaData.GetAt(i).|
}



This code have the same problem... on vs6 and on vs2005 too...
VA version 10.3.1549.0

4. it's only an example, so i use same variable
sl@sh Posted - Apr 27 2007 : 04:12:18 AM
From your incomplete (to say the least) description I gather that your code looks somethin like this:

class CPolicies {
public:
  CStringArray csaData;
};
struct STRUCT2 {
  CArray<CPolicies,CPolicies> cPolicies;
};
struct STRUCT1 {
  struct STRUCT2 cBaseStruct;
} *cCompList;
void foo() {
  STRUCT1 *cCompList;
  size_t i;
  // some sensible initialization
  cCompList->cBaseStruct.cPolicies.GetAt(i).csaData.GetAt(i).|
}

(red '|' indicating cursor position)

1. Provided this is correct, it would have been nice to get that much information (including the basic code as listed above) from the start.

2. If this is not correct it would have been even nicer to get the correct code from the start.

3. The above code works for me - after typing the last '.' I get the list of CStringArray symbols as appropriate (however, working with VS2003, so maybe this is a VC6 specific problem)

4. I wonder why you are using the same index variable i to both access your CArray and CStringArray
fascist Posted - Apr 26 2007 : 1:17:53 PM
quote:
Originally posted by feline

If I am reading this right, and I think I am, your code is trying to use CStringArray::csaData


u r not right... cPolicies is not a CStringArray...
cPolicies is "CArray <CPolicies,CPolicies>", and CPolicies class contains csaData member (it's my own class)
feline Posted - Apr 26 2007 : 10:44:00 AM
If I am reading this right, and I think I am, your code is trying to use CStringArray::csaData

VS2005 informs me this does not exist, and I cannot find any sign of this in the header file in VC6 either.

Since this bit does not work VA does not understand csaData, so it will not understand the things that follow it.
fascist Posted - Apr 26 2007 : 07:19:44 AM
1. Visual Studio 6 (latest sp)
2. C++ language
3. Win32 project
feline Posted - Apr 25 2007 : 11:43:09 AM
Which IDE and version of VA are you using?
Which programming language are you using?

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