#import "msado15.dll" 
Author Message
 #import "msado15.dll"

When I put this code at the end of my stdafx.h:

#include <comdef.h>

#import "C:\program files\common files\system\ado\msado15.dll" no_namespace
rename("EOF", "adoEOF")

I get the following warning:

c:\sams\work\adomfc1\debug\msado15.tlh(405) : warning C4146: unary minus
operator applied to unsigned type, result still unsigned

Anyone know why and how to fix?

I am learning from "SAMS Teach Yourself Database Programming with Visual C++
6 in 21 days" and this is how they want you to modify stdafx.h on page 68.

Thank you for any help/advice,

Fri, 16 Nov 2001 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Using _Recordset without #import "msado15.idl"

2. lint question - how to "import" VARARGS

3. IN Atl7.0 where to import msado15.dll

4. IDL question - import "msxml2.idl";

5. Importing MSADO15.dll

6. Importing msado15.dll

7. ADO #import/#include "adoint.h" conflicts

8. Unable to import msado15.dll

9. import msado15.dll problem

10. Problems importing msado15.dll

11. #import msado15.dll

12. ADO : #import <msado15.dll> statement


Powered by phpBB® Forum Software