Electronics, PCB Design and PCB Layout Daycounter, Inc.
Engineering Services

Custom Firmware, Electronics Design, and PCB Layout


Water Level Sensor


Warning C4146 with MSADO15.DLL

If you import the libraries for ADO you get the following error in visual C++: C4146, because an enum is being set to a signed value.

 Here is the solution:

#pragma warning(push)
#pragma warning(disable:4146)
#import "c:\program files\common files\system\ado\MSADO15.DLL"
#pragma warning(pop)


See microsoft article : http://support.microsoft.com/default.aspx?scid=kb;EN-US;q253317


Daycounter specializes in contract electronics design.  Do you need some help on your project?  Contact us to get a quote. 


[Employment] [Downloads] [Articles] [Contact Us]

Salt Lake City, UT, USA

Disclaimer: Daycounter, Inc. doesn't guarantee the accuracy of any of it's content. Use at your own risk.

© Copyright 2016 Daycounter, Inc. All rights Reserved.

Soil Moisture Sensor Probe