From b16c22266bcd2d97f742e34ecb4fff2d52be2298 Mon Sep 17 00:00:00 2001 From: Pete Batard Date: Mon, 15 Feb 2010 23:49:31 +0000 Subject: [PATCH] fixed a couple issues with driver-install vcproj --- driver-install_2008.vcproj | 116 +++++++++++++++++++------------------ libusb/os/driver_install.c | 2 +- 2 files changed, 62 insertions(+), 56 deletions(-) diff --git a/driver-install_2008.vcproj b/driver-install_2008.vcproj index ca2b5e5..b87b03b 100644 --- a/driver-install_2008.vcproj +++ b/driver-install_2008.vcproj @@ -44,9 +44,10 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories=".\msvc;.\libusb;.\" + PreprocessorDefinitions="_WIN32;_LIB;_CRT_SECURE_NO_WARNINGS" MinimalRebuild="true" BasicRuntimeChecks="3" - RuntimeLibrary="3" + RuntimeLibrary="1" WarningLevel="3" DebugInformationFormat="4" /> @@ -78,6 +79,61 @@ Name="VCPostBuildEventTool" /> + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - no cat // r = 0xE0000247 if user decided not to install on warnings // r = 0x800B0100 ERROR_WRONG_INF_STYLE => missing cat entry in inf + // r = 0xB7 => missing DRIVER_PACKAGE_REPAIR flag usbi_dbg("ret = %X", r); return 0;