Google
 
Web ppczone.net

View Full Version : #error : Must define a target architecture


Pyari
08-07-2006, 02:05 AM
I am trying to build a vc++ pocket pc 5.0 application in visual studio 2005.
i have an RTC initialisation program and i have included rtccore.h
i am getting this error:

c:\program files\microsoft visual studio
8\vc\platformsdk\include\winnt.h(666) : fatal error C1189: #error : Must
define a target architecture.

what could be the cause?

r_z_aret@pen_fact.com
08-07-2006, 07:25 PM
Questions about programming are far more likely to get useful answers
if asked in a newsgroup for programmers. For C/C++, that is probably
microsoft.public.pocketpc.developer


On Sun, 6 Aug 2006 23:05:02 -0700, Pyari
<Pyari@discussions.microsoft.com> wrote:

>I am trying to build a vc++ pocket pc 5.0 application in visual studio 2005.
>i have an RTC initialisation program and i have included rtccore.h
>i am getting this error:
>
>c:\program files\microsoft visual studio
>8\vc\platformsdk\include\winnt.h(666) : fatal error C1189: #error : Must
>define a target architecture.
>
>what could be the cause?

-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).

Robert E. Zaret, eMVP
PenFact, Inc.
20 Park Plaza, Suite 478
Boston, MA 02116
www.penfact.com