ObjectARX

Reply
Active Member
zhoutao1130
Posts: 6
Registered: ‎09-03-2012
Message 1 of 2 (287 Views)

Error using MFC

287 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
owenwengerd
Posts: 686
Registered: ‎08-06-2002
Message 2 of 2 (275 Views)

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
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.