PDA

View Full Version : windows-sdk: include winSCard.h



maxel
3rd August 2010, 16:04
Hey everybody,

after upgrading from winXp+Vc2008 to win7_64 bit+ Eclipse with minGw, my project doesnt compile anymore.
Causing many errors is the include of "winscard.h". The windows-sdk is installed and looks fine.
For simplifikation i used the books example, compiled it and it runs fine.
After this i add the sdk path in the books.pro file and add

extern "C"{
#include <WinSCard.h>
}

in the main.cpp. Compiling and the a lot of errors are there.

No1: #error Must define a target architecture. books line 851

Please help me about this. which target?, where, how?....