Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: rodrigo.canellas on September 25, 2007, 08:26:09 pm
-
Hi,
I am using 'mingw32-g++.exe' version "3.4.2 (mingw-special)", which is reporting the compiler error "ISO C++ forbids declaration of `SCARDHANDLE' with no type"
I tried to find something in the web, but nothing resulted.
This code compiles fine in MS Visual Studio 2005.
Thanks!
-
Missing include file. Try winscard.h.
-
Thomas,
Are you familiar to PCSC programming?
-
No.
But the error message is clear. The type is not defined (which should be the case). Either you forgot to include mentioned header, or the version in MinGW does not contain that particular typedef (in which case you can copy it from the platform SDK).