-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
kt wrote:
> Downloaded the most recent version, neither the .sln nor the .proj
> files will compile - complaining about undefined BOOL - seems to be
> missing some windows headers or libraries. Using VS 2009 Prof.
>
> thanks.
> >
>
Hi kt,
Welcome to the group. Try changing BOOL to bool for giggles and see
what happens. In addition, the .sln should migrate right over without
issues. The headers and library needs to be linked accordingly.
If you need further help please respond and include debug output. Jeff
Walton can probably explain this better than me.
- ---- snip
Example: MSDN
[SerializableAttribute]
[ComVisibleAttribute(true)]
public value class Boolean : IComparable,
IConvertible, IComparable<bool>, IEquatable<bool>
- ---- snip
The only possible values for a 'bool' are 'true' and 'false', whereas
for 'BOOL' you can use any 'int' value, though 'TRUE' and 'FALSE'
macros are defined in 'windef.h' header.
typedef int BOOL;
#ifndef FALSE
#define FALSE 0
#endif
#ifndef TRUE
#define TRUE 1
#endif
Best,
Dillon
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEUEARECAAYFAkqUOfIACgkQRnxC5lZRuuHIfwCgiDo6eO+5PY6NGSIg3dTfn2to
EVUAmNIUf921eCLbMkmJp57wqbcPn/s=
=aOq5
-----END PGP SIGNATURE-----
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Crypto++ Users"
Google Group.
To unsubscribe, send an email to [email protected].
More information about Crypto++ and this group is available at
http://www.cryptopp.com.
-~----------~----~----~----~------~----~------~--~---