大家好:
请大家帮帮我,我把2003的程序移到VS2005上,编译报一个错误(函数调用产生歧义的错误)如下:
error C2668: 'ATL::TrackPopupMenu' : ambiguous call to overloaded function
C:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\atlosapice.h(684): could be 'BOOL ATL::TrackPopupMenu(HMENU,UINT,int,int,int,HWND,const RECT *)'
C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\include\winuser.h(1434): or 'BOOL TrackPopupMenu(HMENU,UINT,int,int,int,HWND,const RECT *)'
while trying to match the argument list '(HMENU, long, LONG, LONG, int, HWND, int)'