warning message using ADO 2.5 with #import-statement

warning message using ADO 2.5 with #import-statement

Post by Manfred Kogle » Tue, 04 Jul 2000 04:00:00



I'm using ADO 2.5 with MS VC++ 6.0, SP3. I use the #import statement for
this purpose
and a warning message is genereated:

the following code in a header file
    #import <msado15.dll> rename("EOF", "adoEOF") rename("BOF", "adoBOF")
no_implementation

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,
Fred.

 
 
 

1. Unusual warning message from optimizedb on Ingres II 2.5

Has anyone experienced this warning message - and can anyone enlighten
me as to its cause ?  The ingres messages file says to ignore it, but
I'd like to know more ........
Thanks, Mark.

$ optimizedb db01     -rtbl01
W_OP0964        UPDATE or DELETE statement does not have the WHERE
clause.
W_OP0964        UPDATE or DELETE statement does not have the WHERE
clause.
W_OP0964        UPDATE or DELETE statement does not have the WHERE
clause.
W_OP0964        UPDATE or DELETE statement does not have the WHERE
clause.
W_OP0964        UPDATE or DELETE statement does not have the WHERE
clause.
W_OP0964        UPDATE or DELETE statement does not have the WHERE
clause.
W_OP0964        UPDATE or DELETE statement does not have the WHERE
clause.
W_OP0964        UPDATE or DELETE statement does not have the WHERE
clause.
W_OP0964        UPDATE or DELETE statement does not have the WHERE
clause.
W_OP0964        UPDATE or DELETE statement does not have the WHERE
clause.
W_OP0964        UPDATE or DELETE statement does not have the WHERE
clause.
W_OP0964        UPDATE or DELETE statement does not have the WHERE
clause.
..................................
W_OP0964        UPDATE or DELETE statement does not have the WHERE
clause.
W_OP0964        UPDATE or DELETE statement does not have the WHERE
clause.

2. rotate sql.log

3. ADO 2.5 and BeginTrans() in C++ #Import

4. Help with AppleScript and FMPro

5. ADO 2.5 Oracle statements parsed twice per call?

6. database design beyond client server

7. No Resultset by using ADO 2.5 Command-Object with SQL2000 Stored Procedures

8. How to catch Bulk insert error

9. Extended Stored Procedure using ADO 2.5 (SP2)

10. Memory leaks using ADO 2.5

11. Determing Primary Key Using ADO 2.5

12. Obtaining the count of records using ADO 2.5 and a stored procedure

13. Access to Paradox BLOB fields using ADO 2.5