mirror of
https://github.com/soukoku/ntwain.git
synced 2025-10-26 20:13:53 +08:00
msg loop tweaks & intptr cleanup.
This commit is contained in:
@@ -74,8 +74,6 @@ namespace Tester.WPF
|
||||
// use this for internal msg loop
|
||||
//var rc = _twainVM.Open();
|
||||
// use this to hook into current app loop
|
||||
|
||||
|
||||
var rc = _twainVM.Open(new WpfMessageLoopHook(new WindowInteropHelper(this).Handle));
|
||||
|
||||
if (rc == ReturnCode.Success)
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
</Reference>
|
||||
<Reference Include="ModernWPF, Version=1.0.0.0, Culture=neutral, PublicKeyToken=c99d0cfbea7491ef, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\packages\ModernWPF.1.1.45.2\lib\net40-Client\ModernWPF.dll</HintPath>
|
||||
<HintPath>..\..\packages\ModernWPF.1.1.45.3\lib\net40-Client\ModernWPF.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
|
||||
@@ -2,6 +2,6 @@
|
||||
<packages>
|
||||
<package id="CommonServiceLocator" version="1.3" targetFramework="net40-Client" />
|
||||
<package id="CommonWin32" version="2.0.5.4" targetFramework="net40-Client" />
|
||||
<package id="ModernWPF" version="1.1.45.2" targetFramework="net40-Client" />
|
||||
<package id="ModernWPF" version="1.1.45.3" targetFramework="net40-Client" />
|
||||
<package id="MvvmLightLibs" version="4.4.32.1" targetFramework="net40-Client" />
|
||||
</packages>
|
||||
Reference in New Issue
Block a user