Odd Drive Type Issue and MSVS2k13 Compilation

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Odd Drive Type Issue and MSVS2k13 Compilation

Ryan Sommers
I recently had an issue where 1.1.0 Dynamo would crash on my Win7x64
system.  I downloaded the source and was able to track the issue back
to a piece of cloud encryption software that created virtual drive
volumes within Windows.

I'm guessing this isn't the best nor the correct way to fix the
issue, but it fixed it enough for me to run it on my system. I found
quick_index to have a large negative value that then caused an access
violation error.  I just put a rough sanity check for the value and  all
seemed well enough for me to execute the software.  Here is the exact
change I made:

diff -ur iometer-1.1.0/src/IOManagerWin.cpp
iometer-1.1.0-rps/src/IOManagerWin.cpp
--- iometer-1.1.0/src/IOManagerWin.cpp 2013-08-20 18:09:26.000000000 -0500
+++ iometer-1.1.0-rps/src/IOManagerWin.cpp 2014-08-18 20:32:03.933430900 -0500
@@ -1758,7 +1758,7 @@
  // then fall back to slow search.

  int quick_index = mid_point +
GET_SDN_PTR(source[v].disk_info)->DeviceNumber + 1;
- if (EQUAL_DEVICE_NUMBERS(GET_SDN_PTR(source[v].disk_info),
GET_SDN_PTR(source[quick_index].disk_info)))
+ if (quick_index < 50 && quick_index > 0 &&
EQUAL_DEVICE_NUMBERS(GET_SDN_PTR(source[v].disk_info),
GET_SDN_PTR(source[quick_index].disk_info)))
  {
  PVOLUME_DISK_EXTENTS *pvde = GET_VDE_PTR(source[v].disk_info);
  PSTORAGE_DEVICE_NUMBER psdn = GET_SDN_PTR(source[v].disk_info);;


In addition, I had to make a few changes to get it to compile on MSVS2k13...

diff -ur iometer-1.1.0/src/msvs11/Dynamo.vcxproj
iometer-1.1.0-rps/src/msvs11/Dynamo.vcxproj
--- iometer-1.1.0/src/msvs11/Dynamo.vcxproj 2014-03-28 18:43:45.000000000 -0500
+++ iometer-1.1.0-rps/src/msvs11/Dynamo.vcxproj 2014-08-18
20:07:48.280172300 -0500
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+<Project DefaultTargets="Build" ToolsVersion="12.0"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
   <ItemGroup Label="ProjectConfigurations">
     <ProjectConfiguration Include="Debug|Win32">
       <Configuration>Debug</Configuration>
@@ -25,26 +25,26 @@
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   <PropertyGroup
Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"
Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
-    <PlatformToolset>v110</PlatformToolset>
+    <PlatformToolset>v120</PlatformToolset>
     <UseOfMfc>Static</UseOfMfc>
     <UseOfAtl>false</UseOfAtl>
     <CharacterSet>NotSet</CharacterSet>
   </PropertyGroup>
   <PropertyGroup
Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"
Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
-    <PlatformToolset>v110</PlatformToolset>
+    <PlatformToolset>v120</PlatformToolset>
     <UseOfMfc>false</UseOfMfc>
     <CharacterSet>MultiByte</CharacterSet>
   </PropertyGroup>
   <PropertyGroup
Condition="'$(Configuration)|$(Platform)'=='Release|x64'"
Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
-    <PlatformToolset>v110</PlatformToolset>
+    <PlatformToolset>v120</PlatformToolset>
     <UseOfMfc>false</UseOfMfc>
     <CharacterSet>MultiByte</CharacterSet>
   </PropertyGroup>
   <PropertyGroup
Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"
Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
-    <PlatformToolset>v110</PlatformToolset>
+    <PlatformToolset>v120</PlatformToolset>
     <UseOfMfc>false</UseOfMfc>
     <CharacterSet>MultiByte</CharacterSet>
   </PropertyGroup>
@@ -97,7 +97,7 @@
     </Midl>
     <ClCompile>
       <Optimization>Disabled</Optimization>
-      <PreprocessorDefinitions>_PULSAR_;IOMTR_OSFAMILY_WINDOWS;IOMTR_OS_WIN32;IOMTR_CPU_I386;IOMTR_SETTING_CPU_AFFINITY;WINVER=0x0502;USE_NEW_DISCOVERY_MECHANISM;FORCE_STRUCT_ALIGN;_CRT_SECURE_NO_DEPRECATE;_CONSOLE;_DEBUG;_DETAILS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <PreprocessorDefinitions>_PULSAR_;IOMTR_OSFAMILY_WINDOWS;IOMTR_OS_WIN32;IOMTR_CPU_I386;IOMTR_SETTING_CPU_AFFINITY;USE_NEW_DISCOVERY_MECHANISM;FORCE_STRUCT_ALIGN;_CRT_SECURE_NO_DEPRECATE;_CONSOLE;_DEBUG;_DETAILS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
       <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
       <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
       <PrecompiledHeaderOutputFile>$(IntDir)Dynamo.pch</PrecompiledHeaderOutputFile>
@@ -134,7 +134,7 @@
     </Midl>
     <ClCompile>
       <Optimization>Disabled</Optimization>
-      <PreprocessorDefinitions>_PULSAR_;IOMTR_OSFAMILY_WINDOWS;IOMTR_OS_WIN64;IOMTR_CPU_X86_64;IOMTR_SETTING_CPU_AFFINITY;WINVER=0x0502;USE_NEW_DISCOVERY_MECHANISM;FORCE_STRUCT_ALIGN;_CRT_SECURE_NO_DEPRECATE;_DEBUG;_CONSOLE;_DETAILS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <PreprocessorDefinitions>_PULSAR_;IOMTR_OSFAMILY_WINDOWS;IOMTR_OS_WIN64;IOMTR_CPU_X86_64;IOMTR_SETTING_CPU_AFFINITY;USE_NEW_DISCOVERY_MECHANISM;FORCE_STRUCT_ALIGN;_CRT_SECURE_NO_DEPRECATE;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
       <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
       <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
       <PrecompiledHeaderOutputFile>$(IntDir)Dynamo.pch</PrecompiledHeaderOutputFile>
@@ -143,8 +143,10 @@
       <ProgramDataBaseFileName>$(IntDir)</ProgramDataBaseFileName>
       <BrowseInformation>true</BrowseInformation>
       <WarningLevel>Level4</WarningLevel>
-      <SuppressStartupBanner>true</SuppressStartupBanner>
+      <SuppressStartupBanner>false</SuppressStartupBanner>
       <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
+      <PreprocessToFile>false</PreprocessToFile>
+      <ShowIncludes>false</ShowIncludes>
     </ClCompile>
     <ResourceCompile>
       <PreprocessorDefinitions>_DEBUG;_PULSAR_;IOMTR_OSFAMILY_WINDOWS;IOMTR_OS_WIN32;IOMTR_CPU_I386;%(PreprocessorDefinitions)</PreprocessorDefinitions>
@@ -209,7 +211,7 @@
     </Midl>
     <ClCompile>
       <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
-      <PreprocessorDefinitions>_PULSAR_;IOMTR_OSFAMILY_WINDOWS;IOMTR_OS_WIN64;IOMTR_CPU_X86_64;IOMTR_SETTING_CPU_AFFINITY;WINVER=0x0502;USE_NEW_DISCOVERY_MECHANISM;FORCE_STRUCT_ALIGN;_CRT_SECURE_NO_DEPRECATE;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <PreprocessorDefinitions>_PULSAR_;IOMTR_OSFAMILY_WINDOWS;IOMTR_OS_WIN64;IOMTR_CPU_X86_64;IOMTR_SETTING_CPU_AFFINITY;USE_NEW_DISCOVERY_MECHANISM;FORCE_STRUCT_ALIGN;_CRT_SECURE_NO_DEPRECATE;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
       <StringPooling>true</StringPooling>
       <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
       <FunctionLevelLinking>true</FunctionLevelLinking>
@@ -259,7 +261,9 @@
     <ClCompile Include="..\IOTargetVI.cpp" />
     <ClCompile Include="..\IOTime.cpp" />
     <ClCompile Include="..\IOVIPL.cpp" />
-    <ClCompile Include="..\NetTCP.cpp" />
+    <ClCompile Include="..\NetTCP.cpp">
+      <PreprocessToFile
Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</PreprocessToFile>
+    </ClCompile>
     <ClCompile Include="..\NetVI.cpp" />
     <ClCompile Include="..\Network.cpp" />
     <ClCompile Include="..\Pulsar.cpp" />
diff -ur iometer-1.1.0/src/msvs11/Iometer.vcxproj
iometer-1.1.0-rps/src/msvs11/Iometer.vcxproj
--- iometer-1.1.0/src/msvs11/Iometer.vcxproj 2014-03-28 18:43:45.000000000 -0500
+++ iometer-1.1.0-rps/src/msvs11/Iometer.vcxproj 2014-08-18
10:01:52.318081000 -0500
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+<Project DefaultTargets="Build" ToolsVersion="12.0"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
   <ItemGroup Label="ProjectConfigurations">
     <ProjectConfiguration Include="Debug|Win32">
       <Configuration>Debug</Configuration>
@@ -26,25 +26,25 @@
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   <PropertyGroup
Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"
Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
-    <PlatformToolset>v110</PlatformToolset>
+    <PlatformToolset>v120</PlatformToolset>
     <UseOfMfc>Static</UseOfMfc>
     <CharacterSet>MultiByte</CharacterSet>
   </PropertyGroup>
   <PropertyGroup
Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"
Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
-    <PlatformToolset>v110</PlatformToolset>
+    <PlatformToolset>v120</PlatformToolset>
     <UseOfMfc>Static</UseOfMfc>
     <CharacterSet>NotSet</CharacterSet>
   </PropertyGroup>
   <PropertyGroup
Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"
Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
-    <PlatformToolset>v110</PlatformToolset>
+    <PlatformToolset>v120</PlatformToolset>
     <UseOfMfc>Static</UseOfMfc>
     <CharacterSet>MultiByte</CharacterSet>
   </PropertyGroup>
   <PropertyGroup
Condition="'$(Configuration)|$(Platform)'=='Release|x64'"
Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
-    <PlatformToolset>v110</PlatformToolset>
+    <PlatformToolset>v120</PlatformToolset>
     <UseOfMfc>Static</UseOfMfc>
     <CharacterSet>MultiByte</CharacterSet>
   </PropertyGroup>
diff -ur iometer-1.1.0/src/NetTCP.cpp iometer-1.1.0-rps/src/NetTCP.cpp
--- iometer-1.1.0/src/NetTCP.cpp 2013-08-20 18:09:26.000000000 -0500
+++ iometer-1.1.0-rps/src/NetTCP.cpp 2014-08-18 13:13:04.159232700 -0500
@@ -75,6 +75,7 @@
 /* ##                                                                     ## */
 /* ######################################################################### */

+#include "StdAfx.h"

 #if defined(IOMTR_OS_WIN32) || defined(IOMTR_OS_WIN64)
  #include <afx.h>
diff -ur iometer-1.1.0/src/Network.cpp iometer-1.1.0-rps/src/Network.cpp
--- iometer-1.1.0/src/Network.cpp 2013-08-20 18:09:26.000000000 -0500
+++ iometer-1.1.0-rps/src/Network.cpp 2014-08-18 13:26:35.102616100 -0500
@@ -71,6 +71,8 @@
 /* ##                                                                     ## */
 /* ######################################################################### */

+#include "StdAfx.h"
+
 #if defined(IOMTR_OS_WIN32) || defined(IOMTR_OS_WIN64)
 #include <afx.h>
 #endif

Hope this is of use,
Ryan

--
Ryan P Sommers
[hidden email]

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Iometer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/iometer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Odd Drive Type Issue and MSVS2k13 Compilation

Vedran Degoricija
Hi Ryan.

Would you mind sharing the name of virtual drive product you are using?
 
I am guessing that some property of the drive is new/confusing. Would you mind running the attached debug build and capturing the dynamo output it produces during the initial disk discovery?
 
Thanks!
Ved


On Wednesday, August 20, 2014 8:21 AM, Ryan Sommers <[hidden email]> wrote:


I recently had an issue where 1.1.0 Dynamo would crash on my Win7x64
system.  I downloaded the source and was able to track the issue back
to a piece of cloud encryption software that created virtual drive
volumes within Windows.

I'm guessing this isn't the best nor the correct way to fix the
issue, but it fixed it enough for me to run it on my system. I found
quick_index to have a large negative value that then caused an access
violation error.  I just put a rough sanity check for the value and  all
seemed well enough for me to execute the software.  Here is the exact
change I made:

diff -ur iometer-1.1.0/src/IOManagerWin.cpp
iometer-1.1.0-rps/src/IOManagerWin.cpp
--- iometer-1.1.0/src/IOManagerWin.cpp 2013-08-20 18:09:26.000000000 -0500
+++ iometer-1.1.0-rps/src/IOManagerWin.cpp 2014-08-18 20:32:03.933430900 -0500
@@ -1758,7 +1758,7 @@
  // then fall back to slow search.

  int quick_index = mid_point +
GET_SDN_PTR(source[v].disk_info)->DeviceNumber + 1;
- if (EQUAL_DEVICE_NUMBERS(GET_SDN_PTR(source[v].disk_info),
GET_SDN_PTR(source[quick_index].disk_info)))
+ if (quick_index < 50 && quick_index > 0 &&
EQUAL_DEVICE_NUMBERS(GET_SDN_PTR(source[v].disk_info),
GET_SDN_PTR(source[quick_index].disk_info)))
  {
  PVOLUME_DISK_EXTENTS *pvde = GET_VDE_PTR(source[v].disk_info);
  PSTORAGE_DEVICE_NUMBER psdn = GET_SDN_PTR(source[v].disk_info);;


In addition, I had to make a few changes to get it to compile on MSVS2k13...

diff -ur iometer-1.1.0/src/msvs11/Dynamo.vcxproj
iometer-1.1.0-rps/src/msvs11/Dynamo.vcxproj
--- iometer-1.1.0/src/msvs11/Dynamo.vcxproj 2014-03-28 18:43:45.000000000 -0500
+++ iometer-1.1.0-rps/src/msvs11/Dynamo.vcxproj 2014-08-18
20:07:48.280172300 -0500
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+<Project DefaultTargets="Build" ToolsVersion="12.0"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <ItemGroup Label="ProjectConfigurations">
    <ProjectConfiguration Include="Debug|Win32">
      <Configuration>Debug</Configuration>
@@ -25,26 +25,26 @@
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
  <PropertyGroup
Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"
Label="Configuration">
    <ConfigurationType>Application</ConfigurationType>
-    <PlatformToolset>v110</PlatformToolset>
+    <PlatformToolset>v120</PlatformToolset>
    <UseOfMfc>Static</UseOfMfc>
    <UseOfAtl>false</UseOfAtl>
    <CharacterSet>NotSet</CharacterSet>
  </PropertyGroup>
  <PropertyGroup
Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"
Label="Configuration">
    <ConfigurationType>Application</ConfigurationType>
-    <PlatformToolset>v110</PlatformToolset>
+    <PlatformToolset>v120</PlatformToolset>
    <UseOfMfc>false</UseOfMfc>
    <CharacterSet>MultiByte</CharacterSet>
  </PropertyGroup>
  <PropertyGroup
Condition="'$(Configuration)|$(Platform)'=='Release|x64'"
Label="Configuration">
    <ConfigurationType>Application</ConfigurationType>
-    <PlatformToolset>v110</PlatformToolset>
+    <PlatformToolset>v120</PlatformToolset>
    <UseOfMfc>false</UseOfMfc>
    <CharacterSet>MultiByte</CharacterSet>
  </PropertyGroup>
  <PropertyGroup
Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"
Label="Configuration">
    <ConfigurationType>Application</ConfigurationType>
-    <PlatformToolset>v110</PlatformToolset>
+    <PlatformToolset>v120</PlatformToolset>
    <UseOfMfc>false</UseOfMfc>
    <CharacterSet>MultiByte</CharacterSet>
  </PropertyGroup>
@@ -97,7 +97,7 @@
    </Midl>
    <ClCompile>
      <Optimization>Disabled</Optimization>
-      <PreprocessorDefinitions>_PULSAR_;IOMTR_OSFAMILY_WINDOWS;IOMTR_OS_WIN32;IOMTR_CPU_I386;IOMTR_SETTING_CPU_AFFINITY;WINVER=0x0502;USE_NEW_DISCOVERY_MECHANISM;FORCE_STRUCT_ALIGN;_CRT_SECURE_NO_DEPRECATE;_CONSOLE;_DEBUG;_DETAILS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <PreprocessorDefinitions>_PULSAR_;IOMTR_OSFAMILY_WINDOWS;IOMTR_OS_WIN32;IOMTR_CPU_I386;IOMTR_SETTING_CPU_AFFINITY;USE_NEW_DISCOVERY_MECHANISM;FORCE_STRUCT_ALIGN;_CRT_SECURE_NO_DEPRECATE;_CONSOLE;_DEBUG;_DETAILS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
      <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
      <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
      <PrecompiledHeaderOutputFile>$(IntDir)Dynamo.pch</PrecompiledHeaderOutputFile>
@@ -134,7 +134,7 @@
    </Midl>
    <ClCompile>
      <Optimization>Disabled</Optimization>
-      <PreprocessorDefinitions>_PULSAR_;IOMTR_OSFAMILY_WINDOWS;IOMTR_OS_WIN64;IOMTR_CPU_X86_64;IOMTR_SETTING_CPU_AFFINITY;WINVER=0x0502;USE_NEW_DISCOVERY_MECHANISM;FORCE_STRUCT_ALIGN;_CRT_SECURE_NO_DEPRECATE;_DEBUG;_CONSOLE;_DETAILS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <PreprocessorDefinitions>_PULSAR_;IOMTR_OSFAMILY_WINDOWS;IOMTR_OS_WIN64;IOMTR_CPU_X86_64;IOMTR_SETTING_CPU_AFFINITY;USE_NEW_DISCOVERY_MECHANISM;FORCE_STRUCT_ALIGN;_CRT_SECURE_NO_DEPRECATE;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
      <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
      <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
      <PrecompiledHeaderOutputFile>$(IntDir)Dynamo.pch</PrecompiledHeaderOutputFile>
@@ -143,8 +143,10 @@
      <ProgramDataBaseFileName>$(IntDir)</ProgramDataBaseFileName>
      <BrowseInformation>true</BrowseInformation>
      <WarningLevel>Level4</WarningLevel>
-      <SuppressStartupBanner>true</SuppressStartupBanner>
+      <SuppressStartupBanner>false</SuppressStartupBanner>
      <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
+      <PreprocessToFile>false</PreprocessToFile>
+      <ShowIncludes>false</ShowIncludes>
    </ClCompile>
    <ResourceCompile>
      <PreprocessorDefinitions>_DEBUG;_PULSAR_;IOMTR_OSFAMILY_WINDOWS;IOMTR_OS_WIN32;IOMTR_CPU_I386;%(PreprocessorDefinitions)</PreprocessorDefinitions>
@@ -209,7 +211,7 @@
    </Midl>
    <ClCompile>
      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
-      <PreprocessorDefinitions>_PULSAR_;IOMTR_OSFAMILY_WINDOWS;IOMTR_OS_WIN64;IOMTR_CPU_X86_64;IOMTR_SETTING_CPU_AFFINITY;WINVER=0x0502;USE_NEW_DISCOVERY_MECHANISM;FORCE_STRUCT_ALIGN;_CRT_SECURE_NO_DEPRECATE;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <PreprocessorDefinitions>_PULSAR_;IOMTR_OSFAMILY_WINDOWS;IOMTR_OS_WIN64;IOMTR_CPU_X86_64;IOMTR_SETTING_CPU_AFFINITY;USE_NEW_DISCOVERY_MECHANISM;FORCE_STRUCT_ALIGN;_CRT_SECURE_NO_DEPRECATE;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
      <StringPooling>true</StringPooling>
      <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
      <FunctionLevelLinking>true</FunctionLevelLinking>
@@ -259,7 +261,9 @@
    <ClCompile Include="..\IOTargetVI.cpp" />
    <ClCompile Include="..\IOTime.cpp" />
    <ClCompile Include="..\IOVIPL.cpp" />
-    <ClCompile Include="..\NetTCP.cpp" />
+    <ClCompile Include="..\NetTCP.cpp">
+      <PreprocessToFile
Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</PreprocessToFile>
+    </ClCompile>
    <ClCompile Include="..\NetVI.cpp" />
    <ClCompile Include="..\Network.cpp" />
    <ClCompile Include="..\Pulsar.cpp" />
diff -ur iometer-1.1.0/src/msvs11/Iometer.vcxproj
iometer-1.1.0-rps/src/msvs11/Iometer.vcxproj
--- iometer-1.1.0/src/msvs11/Iometer.vcxproj 2014-03-28 18:43:45.000000000 -0500
+++ iometer-1.1.0-rps/src/msvs11/Iometer.vcxproj 2014-08-18
10:01:52.318081000 -0500
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+<Project DefaultTargets="Build" ToolsVersion="12.0"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <ItemGroup Label="ProjectConfigurations">
    <ProjectConfiguration Include="Debug|Win32">
      <Configuration>Debug</Configuration>
@@ -26,25 +26,25 @@
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
  <PropertyGroup
Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"
Label="Configuration">
    <ConfigurationType>Application</ConfigurationType>
-    <PlatformToolset>v110</PlatformToolset>
+    <PlatformToolset>v120</PlatformToolset>
    <UseOfMfc>Static</UseOfMfc>
    <CharacterSet>MultiByte</CharacterSet>
  </PropertyGroup>
  <PropertyGroup
Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"
Label="Configuration">
    <ConfigurationType>Application</ConfigurationType>
-    <PlatformToolset>v110</PlatformToolset>
+    <PlatformToolset>v120</PlatformToolset>
    <UseOfMfc>Static</UseOfMfc>
    <CharacterSet>NotSet</CharacterSet>
  </PropertyGroup>
  <PropertyGroup
Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"
Label="Configuration">
    <ConfigurationType>Application</ConfigurationType>
-    <PlatformToolset>v110</PlatformToolset>
+    <PlatformToolset>v120</PlatformToolset>
    <UseOfMfc>Static</UseOfMfc>
    <CharacterSet>MultiByte</CharacterSet>
  </PropertyGroup>
  <PropertyGroup
Condition="'$(Configuration)|$(Platform)'=='Release|x64'"
Label="Configuration">
    <ConfigurationType>Application</ConfigurationType>
-    <PlatformToolset>v110</PlatformToolset>
+    <PlatformToolset>v120</PlatformToolset>
    <UseOfMfc>Static</UseOfMfc>
    <CharacterSet>MultiByte</CharacterSet>
  </PropertyGroup>
diff -ur iometer-1.1.0/src/NetTCP.cpp iometer-1.1.0-rps/src/NetTCP.cpp
--- iometer-1.1.0/src/NetTCP.cpp 2013-08-20 18:09:26.000000000 -0500
+++ iometer-1.1.0-rps/src/NetTCP.cpp 2014-08-18 13:13:04.159232700 -0500
@@ -75,6 +75,7 @@
/* ##                                                                    ## */
/* ######################################################################### */

+#include "StdAfx.h"

#if defined(IOMTR_OS_WIN32) || defined(IOMTR_OS_WIN64)
  #include <afx.h>
diff -ur iometer-1.1.0/src/Network.cpp iometer-1.1.0-rps/src/Network.cpp
--- iometer-1.1.0/src/Network.cpp 2013-08-20 18:09:26.000000000 -0500
+++ iometer-1.1.0-rps/src/Network.cpp 2014-08-18 13:26:35.102616100 -0500
@@ -71,6 +71,8 @@
/* ##                                                                    ## */
/* ######################################################################### */

+#include "StdAfx.h"
+
#if defined(IOMTR_OS_WIN32) || defined(IOMTR_OS_WIN64)
#include <afx.h>
#endif

Hope this is of use,
Ryan

--
Ryan P Sommers
[hidden email]

------------------------------------------------------------------------------
Slashdot TV. 
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Iometer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/iometer-devel



------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Iometer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/iometer-devel

Debug.zip (7M) Download Attachment