Skip to content

Commit

Permalink
some fixes when the device is not connected output message
Browse files Browse the repository at this point in the history
  • Loading branch information
AnastasiiaPozdniakova committed Mar 26, 2021
1 parent 7432665 commit 045cfad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ErrorHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -490,8 +490,8 @@ HRESULT EnumerateAndDownloadItems( IWiaItem2 *pWiaItem2 )

bool fistIteration = true;
int timeoutValue = 6;
std::cout << "press 'a' for auto scanning mode, 'n' for scan next page, 'e' if there is no more pages to scan, "
"'r' - reset the counter to some number, "
std::cout << "press 'a' for auto scanning mode, 'n' for scan next page, 'e' if there is no more pages to scan so break and exit, "
"'r' - reset the counter to some number, CTRL+BREAK - to terminate when the page will be scanned"
<< std::endl;
while (1)
{
Expand Down
4 changes: 2 additions & 2 deletions ErrorHandler.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<ProjectGuid>{B9A9A98C-855A-4532-BC9E-C4FF092D9290}</ProjectGuid>
<RootNamespace>ErrorHandler</RootNamespace>
<Keyword>Win32Proj</Keyword>
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
<WindowsTargetPlatformVersion>10.0.18362.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
Expand All @@ -33,7 +33,7 @@
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<PlatformToolset>v140</PlatformToolset>
<PlatformToolset>v141</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
Expand Down

0 comments on commit 045cfad

Please sign in to comment.