I'm trying to use /MP (Build with Multiple Processes) option to enable multi-process compilation, however, it conflicts with #import, so I'm trying the workaround proposed in Replacement for #import in Visual C++ :
For anyone else stumbling over this in google:
#include
AdoImport
AddImport.h
AdoImport
#import "C:/Program Files/Common Files/System/ado/msado15.dll" rename("EOF", "adoEOF") rename("BOF", "adoBOF")
msado15.tlh
AdoImport
Debug
AdoImport.lib
msado15.tlh
just in case anyone hit this by google, how i solved it --
put the line #import "C:/Program Files/Common Files/System/ado/msado15.dll" rename("EOF", "adoEOF") rename("BOF", "adoBOF")
in the stdafx.h
of the AdoImport
project so that it alway get compiled.
AdoImport
project's "intermediate Directory" (under Project Property -> Configuration Properties -> General) shall be included in the main project's paths.