I'm using ADO 2.5 with MS VC++ 6.0, SP3. I use the #import statement for
and a warning message is genereated:
the following code in a header file
#import <msado15.dll> rename("EOF", "adoEOF") rename("BOF", "adoBOF")
produces the following warning message
...\msado15.tlh(405) : warning C4146: unary minus operator applied to
unsigned type, result still unsigned
line 405 contains the offending enum declaration:
adCreateStructDoc = -2147483648,
I'm able to turn this warning off using a #pragma, for sure, but I'm
wondering that this warning arises at all
when compiling an ADO-header file produced by the #import machanism!!
Who can tell me something about that in more detail?
Thanks in advance,