papacharchabil
New Member
2 Posts |
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 |
Edited by - papacharchabil on Oct 25 2005 04:44:41 AM |
|