ObjectARX

Reply
Active Member
6 Posts
0 Kudos
Registered: ‎09-03-2012
Post 1 of 2

Error using MFC

293 Views, 1 Replies
10-16-2012 01:46 AM

 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.

Distinguished Mentor
738 Posts
100 Kudos
Registered: ‎08-06-2002
Post 2 of 2

Re: Error using MFC

10-16-2012 07:59 AM 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
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post