ObjectARX
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error using MFC

1 REPLY 1
Reply
Message 1 of 2
zhoutao1130
656 Views, 1 Reply

Error using MFC

 I create a new objectarx MFC suppoted project ,building the project,there are some errors :

 

5 IntelliSense: #error directive: "No Target Architecture" c:\program files (x86)\microsoft sdks\windows\v7.0a\include\winnt.h 135
 11 IntelliSense: class "CObject" has no member "operator new" c:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afx.inl 97
 12 IntelliSense: class "CObject" has no member "operator new" c:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afx.inl 105
 2 IntelliSense: first parameter of allocation function must be of type 'size_t' c:\program files (x86)\microsoft visual studio 10.0\vc\include\new.h 72
 3 IntelliSense: first parameter of allocation function must be of type 'size_t' c:\program files (x86)\microsoft visual studio 10.0\vc\include\new.h 73
 4 IntelliSense: first parameter of allocation function must be of type 'size_t' c:\program files (x86)\microsoft visual studio 10.0\vc\include\new.h 80
 6 IntelliSense: first parameter of allocation function must be of type 'size_t' c:\program files (x86)\microsoft visual studio 10.0\vc\include\crtdbg.h 1041
 7 IntelliSense: first parameter of allocation function must be of type 'size_t' c:\program files (x86)\microsoft visual studio 10.0\vc\include\crtdbg.h 1044
 8 IntelliSense: first parameter of allocation function must be of type 'size_t' c:\program files (x86)\microsoft visual studio 10.0\vc\include\crtdbg.h 1052
 9 IntelliSense: first parameter of allocation function must be of type 'size_t' c:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxtls_.h 130
 10 IntelliSense: first parameter of allocation function must be of type 'size_t' c:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxtls_.h 139
 13 IntelliSense: first parameter of allocation function must be of type 'size_t' c:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afx.h 518
 14 IntelliSense: first parameter of allocation function must be of type 'size_t' c:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afx.h 519
 15 IntelliSense: first parameter of allocation function must be of type 'size_t' c:\objectarx 2013\inc\acheapopers.h 47
 16 IntelliSense: first parameter of allocation function must be of type 'size_t' c:\objectarx 2013\inc\acheapopers.h 53
 17 IntelliSense: first parameter of allocation function must be of type 'size_t' c:\objectarx 2013\inc\acheapopers.h 60
 18 IntelliSense: first parameter of allocation function must be of type 'size_t' c:\objectarx 2013\inc\acheapopers.h 68
 19 IntelliSense: first parameter of allocation function must be of type 'size_t' c:\program files (x86)\microsoft visual studio 10.0\vc\include\new 51
 20 IntelliSense: first parameter of allocation function must be of type 'size_t' c:\program files (x86)\microsoft visual studio 10.0\vc\include\new 67
 21 IntelliSense: first parameter of allocation function must be of type 'size_t' c:\program files (x86)\microsoft visual studio 10.0\vc\include\new 79

 

is anyone can help me ?

thanks very much.

1 REPLY 1
Message 2 of 2
owenwengerd
in reply to: zhoutao1130

Those are IntelliSense errors, not build errors. Just turn them off: right-click on the error pane's report view column header and uncheck 'Show IntelliSense Errors'.

--
Owen Wengerd
ManuSoft

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost