Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Incorrect parameter bolded

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
papacharchabil Posted - Oct 25 2005 : 04:33:12 AM
Hello,

This post is different from the one below having the same title.

This problem happens if the function im in takes as parameter a pointer to a function.

Lets take an example:

typedef struct myStruct myStruct;
typedef struct ACTION ACTION;

myStruct * OpenStruct(
char* (*pfnFunction)(void *),
char* (*pfnNewItemFunction)(void *),
short (*pfnCallback)(MISHORT,ACTION*),
long lMax,
short iItemPerBlock
);

When im typing lets say:

OpenStruct(pfn1, pfn2, pfn3,

and i do a CTRL + SHIFT + SPACE the incorrect parameter get bolded. This is due to incorrect parsing of the function prototype in case it takes pointer to functions as parameter.

VA_X.dll file version 10.1.1428.0 built 2005.10.19
2006.01.10
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.82.2900.2180
WindowsNT 5.1 Build 2600 Service Pack 2
4 processors

Platform: Custom
Stable Includes:
d:\\program files\\microsoft visual studio .net 2003\\vc7\\include;
d:\\program files\\microsoft visual studio .net 2003\\vc7\\atlmfc\\include;
d:\\program files\\microsoft visual studio .net 2003\\vc7\\PlatformSDK\\include\\prerelease;
d:\\program files\\microsoft visual studio .net 2003\\vc7\\PlatformSDK\\include;
d:\\program files\\microsoft visual studio .net 2003\\sdk\\v1.1\\include;

Library Includes:
d:\\program files\\microsoft visual studio .net 2003\\vc7\\atlmfc\\src\\mfc;
d:\\program files\\microsoft visual studio .net 2003\\vc7\\atlmfc\\src\\atl;
d:\\program files\\microsoft visual studio .net 2003\\vc7\\crt\\src;

Other Includes:



Regards
2   L A T E S T    R E P L I E S    (Newest First)
support Posted - Jun 19 2006 : 5:21:16 PM
Fixed in build 1524:

Bolding within parameter info no longer confused by function pointers. (case=475)
feline Posted - Oct 26 2005 : 7:21:32 PM
you can get the same problem calling qsort when you reach the 4th parameter, the function pointer

case=475

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