Advertisement
zippy1981

ODBCTracer VS2008 Diff

Sep 4th, 2012
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 28.09 KB | None | 0 0
  1. --- Hyperlink.cpp   Mon Jan 19 17:26:36 1970
  2. +++ Hyperlink.cpp   Mon Jan 19 17:26:36 1970
  3. @@ -66,7 +66,7 @@
  4.                                         pos.x, pos.y, rect.right - rect.left, rect.bottom - rect.top,
  5.                                         parent, NULL, ins, NULL);
  6.  
  7. -       ::SetWindowLongPtr( wnd, GWLP_USERDATA, (LONG)this);
  8. +       ::SetWindowLong( wnd, GWL_USERDATA, (LONG)this);
  9.         //finally, destroy the old label
  10.         ::DestroyWindow(old);
  11.     }
  12. @@ -93,7 +93,7 @@
  13.  
  14.  int CHyperlink::WndProc(HWND hwnd,WORD wMsg,WPARAM wParam,LPARAM lParam)
  15.  {
  16. -   CHyperlink *hl = (CHyperlink*)GetWindowLong(hwnd, GWLP_USERDATA);
  17. +   CHyperlink *hl = (CHyperlink*)GetWindowLong(hwnd, GWL_USERDATA);
  18.  
  19.     switch (wMsg)  
  20.     {
  21. --- ODBCTracer.sln  Mon Jan 19 17:26:36 1970
  22. +++ ODBCTracer.sln  Mon Jan 19 17:26:36 1970
  23. @@ -1,25 +1,21 @@
  24. -Microsoft Visual Studio Solution File, Format Version 10.00
  25. -# Visual Studio 2008
  26. +Microsoft Visual Studio Solution File, Format Version 8.00
  27.  Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ODBCTracer", "ODBCTracer.vcproj", "{038CE76A-0F26-47FA-824F-DC1F915AD475}"
  28. +   ProjectSection(ProjectDependencies) = postProject
  29. +   EndProjectSection
  30.  EndProject
  31.  Global
  32. -   GlobalSection(SolutionConfigurationPlatforms) = preSolution
  33. -       Debug|Win32 = Debug|Win32
  34. -       Debug|x64 = Debug|x64
  35. -       Release|Win32 = Release|Win32
  36. -       Release|x64 = Release|x64
  37. +   GlobalSection(SolutionConfiguration) = preSolution
  38. +       Debug = Debug
  39. +       Release = Release
  40.     EndGlobalSection
  41. -   GlobalSection(ProjectConfigurationPlatforms) = postSolution
  42. -       {038CE76A-0F26-47FA-824F-DC1F915AD475}.Debug|Win32.ActiveCfg = Debug|Win32
  43. -       {038CE76A-0F26-47FA-824F-DC1F915AD475}.Debug|Win32.Build.0 = Debug|Win32
  44. -       {038CE76A-0F26-47FA-824F-DC1F915AD475}.Debug|x64.ActiveCfg = Debug|x64
  45. -       {038CE76A-0F26-47FA-824F-DC1F915AD475}.Debug|x64.Build.0 = Debug|x64
  46. -       {038CE76A-0F26-47FA-824F-DC1F915AD475}.Release|Win32.ActiveCfg = Release|Win32
  47. -       {038CE76A-0F26-47FA-824F-DC1F915AD475}.Release|Win32.Build.0 = Release|Win32
  48. -       {038CE76A-0F26-47FA-824F-DC1F915AD475}.Release|x64.ActiveCfg = Release|x64
  49. -       {038CE76A-0F26-47FA-824F-DC1F915AD475}.Release|x64.Build.0 = Release|x64
  50. +   GlobalSection(ProjectConfiguration) = postSolution
  51. +       {038CE76A-0F26-47FA-824F-DC1F915AD475}.Debug.ActiveCfg = Debug|Win32
  52. +       {038CE76A-0F26-47FA-824F-DC1F915AD475}.Debug.Build.0 = Debug|Win32
  53. +       {038CE76A-0F26-47FA-824F-DC1F915AD475}.Release.ActiveCfg = Release|Win32
  54. +       {038CE76A-0F26-47FA-824F-DC1F915AD475}.Release.Build.0 = Release|Win32
  55.     EndGlobalSection
  56. -   GlobalSection(SolutionProperties) = preSolution
  57. -       HideSolutionNode = FALSE
  58. +   GlobalSection(ExtensibilityGlobals) = postSolution
  59. +   EndGlobalSection
  60. +   GlobalSection(ExtensibilityAddIns) = postSolution
  61.     EndGlobalSection
  62.  EndGlobal
  63. --- ODBCTracer.vcproj   Mon Jan 19 17:26:36 1970
  64. +++ ODBCTracer.vcproj   Mon Jan 19 17:26:36 1970
  65. @@ -1,154 +1,94 @@
  66.  <?xml version="1.0" encoding="Windows-1252"?>
  67.  <VisualStudioProject
  68.     ProjectType="Visual C++"
  69. -   Version="9.00"
  70. +   Version="7.10"
  71.     Name="ODBCTracer"
  72. -   ProjectGUID="{038CE76A-0F26-47FA-824F-DC1F915AD475}"
  73. -   RootNamespace="ODBCTracer"
  74. -   TargetFrameworkVersion="131072"
  75. -   >
  76. +   SccProjectName=""
  77. +   SccLocalPath="">
  78.     <Platforms>
  79.         <Platform
  80. -           Name="Win32"
  81. -       />
  82. -       <Platform
  83. -           Name="x64"
  84. -       />
  85. +           Name="Win32"/>
  86.     </Platforms>
  87. -   <ToolFiles>
  88. -   </ToolFiles>
  89.     <Configurations>
  90.         <Configuration
  91.             Name="Release|Win32"
  92.             OutputDirectory=".\Release"
  93.             IntermediateDirectory=".\Release"
  94.             ConfigurationType="2"
  95. -           InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
  96.             UseOfMFC="0"
  97. -           ATLMinimizesCRunTimeLibraryUsage="false"
  98. -           CharacterSet="2"
  99. -           >
  100. -           <Tool
  101. -               Name="VCPreBuildEventTool"
  102. -           />
  103. -           <Tool
  104. -               Name="VCCustomBuildTool"
  105. -           />
  106. -           <Tool
  107. -               Name="VCXMLDataGeneratorTool"
  108. -           />
  109. -           <Tool
  110. -               Name="VCWebServiceProxyGeneratorTool"
  111. -           />
  112. -           <Tool
  113. -               Name="VCMIDLTool"
  114. -               PreprocessorDefinitions="NDEBUG"
  115. -               MkTypLibCompatible="true"
  116. -               SuppressStartupBanner="true"
  117. -               TargetEnvironment="1"
  118. -               TypeLibraryName=".\Release/ODBCTracer.tlb"
  119. -               HeaderFileName=""
  120. -           />
  121. +           ATLMinimizesCRunTimeLibraryUsage="FALSE"
  122. +           CharacterSet="2">
  123.             <Tool
  124.                 Name="VCCLCompilerTool"
  125.                 Optimization="2"
  126.                 InlineFunctionExpansion="1"
  127.                 PreprocessorDefinitions="ODBCDRIVER_EXPORTS;WIN32;NDEBUG;_WINDOWS;_USRDLL;ODBCTracer_EXPORTS"
  128. -               StringPooling="true"
  129. +               StringPooling="TRUE"
  130.                 RuntimeLibrary="2"
  131. -               EnableFunctionLevelLinking="true"
  132. -               UsePrecompiledHeader="2"
  133. +               EnableFunctionLevelLinking="TRUE"
  134. +               UsePrecompiledHeader="3"
  135.                 PrecompiledHeaderThrough="stdafx.h"
  136.                 PrecompiledHeaderFile=".\Release/ODBCTracer.pch"
  137.                 AssemblerListingLocation=".\Release/"
  138.                 ObjectFile=".\Release/"
  139.                 ProgramDataBaseFileName=".\Release/"
  140.                 WarningLevel="3"
  141. -               SuppressStartupBanner="true"
  142. -           />
  143. +               SuppressStartupBanner="TRUE"/>
  144.             <Tool
  145. -               Name="VCManagedResourceCompilerTool"
  146. -           />
  147. -           <Tool
  148. -               Name="VCResourceCompilerTool"
  149. -               PreprocessorDefinitions="NDEBUG"
  150. -               Culture="1031"
  151. -           />
  152. -           <Tool
  153. -               Name="VCPreLinkEventTool"
  154. -           />
  155. +               Name="VCCustomBuildTool"/>
  156.             <Tool
  157.                 Name="VCLinkerTool"
  158.                 OutputFile=".\Release/ODBCTracer.dll"
  159.                 LinkIncremental="1"
  160. -               SuppressStartupBanner="true"
  161. +               SuppressStartupBanner="TRUE"
  162.                 ModuleDefinitionFile=".\ODBCTracer.def"
  163.                 ProgramDatabaseFile=".\Release/ODBCTracer.pdb"
  164. -               RandomizedBaseAddress="1"
  165. -               DataExecutionPrevention="0"
  166.                 ImportLibrary=".\Release/ODBCTracer.lib"
  167. -               TargetMachine="1"
  168. -           />
  169. +               TargetMachine="1"/>
  170.             <Tool
  171. -               Name="VCALinkTool"
  172. -           />
  173. +               Name="VCMIDLTool"
  174. +               PreprocessorDefinitions="NDEBUG"
  175. +               MkTypLibCompatible="TRUE"
  176. +               SuppressStartupBanner="TRUE"
  177. +               TargetEnvironment="1"
  178. +               TypeLibraryName=".\Release/ODBCTracer.tlb"
  179. +               HeaderFileName=""/>
  180.             <Tool
  181. -               Name="VCManifestTool"
  182. -           />
  183. +               Name="VCPostBuildEventTool"/>
  184.             <Tool
  185. -               Name="VCXDCMakeTool"
  186. -           />
  187. +               Name="VCPreBuildEventTool"/>
  188.             <Tool
  189. -               Name="VCBscMakeTool"
  190. -           />
  191. +               Name="VCPreLinkEventTool"/>
  192.             <Tool
  193. -               Name="VCFxCopTool"
  194. -           />
  195. +               Name="VCResourceCompilerTool"
  196. +               PreprocessorDefinitions="NDEBUG"
  197. +               Culture="1031"/>
  198.             <Tool
  199. -               Name="VCAppVerifierTool"
  200. -           />
  201. +               Name="VCWebServiceProxyGeneratorTool"/>
  202.             <Tool
  203. -               Name="VCPostBuildEventTool"
  204. -           />
  205. +               Name="VCXMLDataGeneratorTool"/>
  206. +           <Tool
  207. +               Name="VCWebDeploymentTool"/>
  208. +           <Tool
  209. +               Name="VCManagedWrapperGeneratorTool"/>
  210. +           <Tool
  211. +               Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
  212.         </Configuration>
  213.         <Configuration
  214.             Name="Debug|Win32"
  215.             OutputDirectory=".\Debug"
  216.             IntermediateDirectory=".\Debug"
  217.             ConfigurationType="2"
  218. -           InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
  219.             UseOfMFC="0"
  220. -           ATLMinimizesCRunTimeLibraryUsage="false"
  221. -           CharacterSet="2"
  222. -           >
  223. -           <Tool
  224. -               Name="VCPreBuildEventTool"
  225. -           />
  226. -           <Tool
  227. -               Name="VCCustomBuildTool"
  228. -           />
  229. -           <Tool
  230. -               Name="VCXMLDataGeneratorTool"
  231. -           />
  232. -           <Tool
  233. -               Name="VCWebServiceProxyGeneratorTool"
  234. -           />
  235. -           <Tool
  236. -               Name="VCMIDLTool"
  237. -               PreprocessorDefinitions="_DEBUG"
  238. -               MkTypLibCompatible="true"
  239. -               SuppressStartupBanner="true"
  240. -               TargetEnvironment="1"
  241. -               TypeLibraryName=".\Debug/ODBCTracer.tlb"
  242. -               HeaderFileName=""
  243. -           />
  244. +           ATLMinimizesCRunTimeLibraryUsage="FALSE"
  245. +           CharacterSet="2">
  246.             <Tool
  247.                 Name="VCCLCompilerTool"
  248.                 Optimization="0"
  249.                 PreprocessorDefinitions="ODBCDRIVER_EXPORTS;WIN32;_DEBUG;_WINDOWS;_USRDLL;ODBCTracer_EXPORTS"
  250.                 BasicRuntimeChecks="3"
  251.                 RuntimeLibrary="1"
  252. -               UsePrecompiledHeader="2"
  253. +               UsePrecompiledHeader="3"
  254.                 PrecompiledHeaderThrough="stdafx.h"
  255.                 PrecompiledHeaderFile=".\Debug/ODBCTracer.pch"
  256.                 AssemblerListingLocation=".\Debug/"
  257. @@ -156,243 +96,49 @@
  258.                 ProgramDataBaseFileName=".\Debug/"
  259.                 BrowseInformation="1"
  260.                 WarningLevel="3"
  261. -               SuppressStartupBanner="true"
  262. -               DebugInformationFormat="4"
  263. -           />
  264. -           <Tool
  265. -               Name="VCManagedResourceCompilerTool"
  266. -           />
  267. -           <Tool
  268. -               Name="VCResourceCompilerTool"
  269. -               PreprocessorDefinitions="_DEBUG"
  270. -               Culture="1031"
  271. -           />
  272. +               SuppressStartupBanner="TRUE"
  273. +               DebugInformationFormat="4"/>
  274.             <Tool
  275. -               Name="VCPreLinkEventTool"
  276. -           />
  277. +               Name="VCCustomBuildTool"/>
  278.             <Tool
  279.                 Name="VCLinkerTool"
  280.                 OutputFile=".\Debug/ODBCTracer.dll"
  281.                 LinkIncremental="1"
  282. -               SuppressStartupBanner="true"
  283. +               SuppressStartupBanner="TRUE"
  284.                 ModuleDefinitionFile=".\ODBCTracer.def"
  285. -               GenerateDebugInformation="true"
  286. +               GenerateDebugInformation="TRUE"
  287.                 ProgramDatabaseFile=".\Debug/ODBCTracer.pdb"
  288. -               RandomizedBaseAddress="1"
  289. -               DataExecutionPrevention="0"
  290.                 ImportLibrary=".\Debug/ODBCTracer.lib"
  291. -               TargetMachine="1"
  292. -           />
  293. -           <Tool
  294. -               Name="VCALinkTool"
  295. -           />
  296. -           <Tool
  297. -               Name="VCManifestTool"
  298. -           />
  299. -           <Tool
  300. -               Name="VCXDCMakeTool"
  301. -           />
  302. -           <Tool
  303. -               Name="VCBscMakeTool"
  304. -           />
  305. -           <Tool
  306. -               Name="VCFxCopTool"
  307. -           />
  308. -           <Tool
  309. -               Name="VCAppVerifierTool"
  310. -           />
  311. -           <Tool
  312. -               Name="VCPostBuildEventTool"
  313. -               CommandLine="copy Debug\ODBCTracer.dll c:\windows\system32"
  314. -           />
  315. -       </Configuration>
  316. -       <Configuration
  317. -           Name="Release|x64"
  318. -           OutputDirectory="$(PlatformName)\$(ConfigurationName)"
  319. -           IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
  320. -           ConfigurationType="2"
  321. -           InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
  322. -           UseOfMFC="0"
  323. -           ATLMinimizesCRunTimeLibraryUsage="false"
  324. -           CharacterSet="2"
  325. -           >
  326. -           <Tool
  327. -               Name="VCPreBuildEventTool"
  328. -           />
  329. -           <Tool
  330. -               Name="VCCustomBuildTool"
  331. -           />
  332. -           <Tool
  333. -               Name="VCXMLDataGeneratorTool"
  334. -           />
  335. -           <Tool
  336. -               Name="VCWebServiceProxyGeneratorTool"
  337. -           />
  338. -           <Tool
  339. -               Name="VCMIDLTool"
  340. -               PreprocessorDefinitions="NDEBUG"
  341. -               MkTypLibCompatible="true"
  342. -               SuppressStartupBanner="true"
  343. -               TargetEnvironment="3"
  344. -               TypeLibraryName=".\Release/ODBCTracer.tlb"
  345. -               HeaderFileName=""
  346. -           />
  347. -           <Tool
  348. -               Name="VCCLCompilerTool"
  349. -               Optimization="2"
  350. -               InlineFunctionExpansion="1"
  351. -               PreprocessorDefinitions="ODBCDRIVER_EXPORTS;WIN32;NDEBUG;_WINDOWS;_USRDLL;ODBCTracer_EXPORTS"
  352. -               StringPooling="true"
  353. -               RuntimeLibrary="2"
  354. -               EnableFunctionLevelLinking="true"
  355. -               UsePrecompiledHeader="2"
  356. -               PrecompiledHeaderThrough="stdafx.h"
  357. -               PrecompiledHeaderFile=".\Release/ODBCTracer.pch"
  358. -               AssemblerListingLocation=".\Release/"
  359. -               ObjectFile=".\Release/"
  360. -               ProgramDataBaseFileName=".\Release/"
  361. -               WarningLevel="3"
  362. -               SuppressStartupBanner="true"
  363. -           />
  364. -           <Tool
  365. -               Name="VCManagedResourceCompilerTool"
  366. -           />
  367. -           <Tool
  368. -               Name="VCResourceCompilerTool"
  369. -               PreprocessorDefinitions="NDEBUG"
  370. -               Culture="1031"
  371. -           />
  372. -           <Tool
  373. -               Name="VCPreLinkEventTool"
  374. -           />
  375. -           <Tool
  376. -               Name="VCLinkerTool"
  377. -               OutputFile=".\x64\Release/ODBCTracer.dll"
  378. -               LinkIncremental="1"
  379. -               SuppressStartupBanner="true"
  380. -               ModuleDefinitionFile=".\ODBCTracer.def"
  381. -               ProgramDatabaseFile=".\Release/ODBCTracer.pdb"
  382. -               RandomizedBaseAddress="1"
  383. -               DataExecutionPrevention="0"
  384. -               ImportLibrary=".\Release/ODBCTracer.lib"
  385. -               TargetMachine="17"
  386. -           />
  387. -           <Tool
  388. -               Name="VCALinkTool"
  389. -           />
  390. -           <Tool
  391. -               Name="VCManifestTool"
  392. -           />
  393. -           <Tool
  394. -               Name="VCXDCMakeTool"
  395. -           />
  396. -           <Tool
  397. -               Name="VCBscMakeTool"
  398. -           />
  399. -           <Tool
  400. -               Name="VCFxCopTool"
  401. -           />
  402. -           <Tool
  403. -               Name="VCAppVerifierTool"
  404. -           />
  405. -           <Tool
  406. -               Name="VCPostBuildEventTool"
  407. -           />
  408. -       </Configuration>
  409. -       <Configuration
  410. -           Name="Debug|x64"
  411. -           OutputDirectory="$(PlatformName)\$(ConfigurationName)"
  412. -           IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
  413. -           ConfigurationType="2"
  414. -           InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
  415. -           UseOfMFC="0"
  416. -           ATLMinimizesCRunTimeLibraryUsage="false"
  417. -           CharacterSet="2"
  418. -           >
  419. -           <Tool
  420. -               Name="VCPreBuildEventTool"
  421. -           />
  422. -           <Tool
  423. -               Name="VCCustomBuildTool"
  424. -           />
  425. -           <Tool
  426. -               Name="VCXMLDataGeneratorTool"
  427. -           />
  428. -           <Tool
  429. -               Name="VCWebServiceProxyGeneratorTool"
  430. -           />
  431. +               TargetMachine="1"/>
  432.             <Tool
  433.                 Name="VCMIDLTool"
  434.                 PreprocessorDefinitions="_DEBUG"
  435. -               MkTypLibCompatible="true"
  436. -               SuppressStartupBanner="true"
  437. -               TargetEnvironment="3"
  438. +               MkTypLibCompatible="TRUE"
  439. +               SuppressStartupBanner="TRUE"
  440. +               TargetEnvironment="1"
  441.                 TypeLibraryName=".\Debug/ODBCTracer.tlb"
  442. -               HeaderFileName=""
  443. -           />
  444. +               HeaderFileName=""/>
  445.             <Tool
  446. -               Name="VCCLCompilerTool"
  447. -               Optimization="0"
  448. -               PreprocessorDefinitions="ODBCDRIVER_EXPORTS;WIN32;_DEBUG;_WINDOWS;_USRDLL;ODBCTracer_EXPORTS"
  449. -               BasicRuntimeChecks="3"
  450. -               RuntimeLibrary="1"
  451. -               UsePrecompiledHeader="2"
  452. -               PrecompiledHeaderThrough="stdafx.h"
  453. -               PrecompiledHeaderFile=".\Debug/ODBCTracer.pch"
  454. -               AssemblerListingLocation=".\Debug/"
  455. -               ObjectFile=".\Debug/"
  456. -               ProgramDataBaseFileName=".\Debug/"
  457. -               BrowseInformation="1"
  458. -               WarningLevel="3"
  459. -               SuppressStartupBanner="true"
  460. -               DebugInformationFormat="3"
  461. -           />
  462. +               Name="VCPostBuildEventTool"
  463. +               CommandLine="copy Debug\ODBCTracer.dll c:\windows\system32"/>
  464. +           <Tool
  465. +               Name="VCPreBuildEventTool"/>
  466.             <Tool
  467. -               Name="VCManagedResourceCompilerTool"
  468. -           />
  469. +               Name="VCPreLinkEventTool"/>
  470.             <Tool
  471.                 Name="VCResourceCompilerTool"
  472.                 PreprocessorDefinitions="_DEBUG"
  473. -               Culture="1031"
  474. -           />
  475. -           <Tool
  476. -               Name="VCPreLinkEventTool"
  477. -           />
  478. -           <Tool
  479. -               Name="VCLinkerTool"
  480. -               OutputFile=".\Debug/ODBCTracer.dll"
  481. -               LinkIncremental="1"
  482. -               SuppressStartupBanner="true"
  483. -               ModuleDefinitionFile=".\ODBCTracer.def"
  484. -               GenerateDebugInformation="true"
  485. -               ProgramDatabaseFile=".\Debug/ODBCTracer.pdb"
  486. -               RandomizedBaseAddress="1"
  487. -               DataExecutionPrevention="0"
  488. -               ImportLibrary=".\Debug/ODBCTracer.lib"
  489. -               TargetMachine="17"
  490. -           />
  491. -           <Tool
  492. -               Name="VCALinkTool"
  493. -           />
  494. +               Culture="1031"/>
  495.             <Tool
  496. -               Name="VCManifestTool"
  497. -           />
  498. +               Name="VCWebServiceProxyGeneratorTool"/>
  499.             <Tool
  500. -               Name="VCXDCMakeTool"
  501. -           />
  502. +               Name="VCXMLDataGeneratorTool"/>
  503.             <Tool
  504. -               Name="VCBscMakeTool"
  505. -           />
  506. +               Name="VCWebDeploymentTool"/>
  507.             <Tool
  508. -               Name="VCFxCopTool"
  509. -           />
  510. +               Name="VCManagedWrapperGeneratorTool"/>
  511.             <Tool
  512. -               Name="VCAppVerifierTool"
  513. -           />
  514. -           <Tool
  515. -               Name="VCPostBuildEventTool"
  516. -               CommandLine="copy Debug\ODBCTracer.dll c:\windows\system32"
  517. -           />
  518. +               Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
  519.         </Configuration>
  520.     </Configurations>
  521.     <References>
  522. @@ -400,330 +146,164 @@
  523.     <Files>
  524.         <Filter
  525.             Name="Quellcodedateien"
  526. -           Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
  527. -           >
  528. +           Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat">
  529.             <File
  530. -               RelativePath="Hyperlink.cpp"
  531. -               >
  532. +               RelativePath="Hyperlink.cpp">
  533.                 <FileConfiguration
  534. -                   Name="Release|Win32"
  535. -                   >
  536. +                   Name="Release|Win32">
  537.                     <Tool
  538.                         Name="VCCLCompilerTool"
  539.                         Optimization="2"
  540. -                       PreprocessorDefinitions="ODBCDRIVER_EXPORTS;WIN32;NDEBUG;_WINDOWS;_MBCS;_USRDLL;ODBCTracer_EXPORTS;$(NoInherit)"
  541. -                   />
  542. +                       PreprocessorDefinitions="ODBCDRIVER_EXPORTS;WIN32;NDEBUG;_WINDOWS;_MBCS;_USRDLL;ODBCTracer_EXPORTS;$(NoInherit)"/>
  543.                 </FileConfiguration>
  544.                 <FileConfiguration
  545. -                   Name="Debug|Win32"
  546. -                   >
  547. +                   Name="Debug|Win32">
  548.                     <Tool
  549.                         Name="VCCLCompilerTool"
  550.                         Optimization="0"
  551.                         PreprocessorDefinitions="ODBCDRIVER_EXPORTS;WIN32;_DEBUG;_WINDOWS;_MBCS;_USRDLL;ODBCTracer_EXPORTS;$(NoInherit)"
  552.                         BasicRuntimeChecks="3"
  553. -                       BrowseInformation="1"
  554. -                   />
  555. -               </FileConfiguration>
  556. -               <FileConfiguration
  557. -                   Name="Release|x64"
  558. -                   >
  559. -                   <Tool
  560. -                       Name="VCCLCompilerTool"
  561. -                       Optimization="2"
  562. -                       PreprocessorDefinitions="ODBCDRIVER_EXPORTS;WIN32;NDEBUG;_WINDOWS;_MBCS;_USRDLL;ODBCTracer_EXPORTS;$(NoInherit)"
  563. -                   />
  564. -               </FileConfiguration>
  565. -               <FileConfiguration
  566. -                   Name="Debug|x64"
  567. -                   >
  568. -                   <Tool
  569. -                       Name="VCCLCompilerTool"
  570. -                       Optimization="0"
  571. -                       PreprocessorDefinitions="ODBCDRIVER_EXPORTS;WIN32;_DEBUG;_WINDOWS;_MBCS;_USRDLL;ODBCTracer_EXPORTS;$(NoInherit)"
  572. -                       BasicRuntimeChecks="3"
  573. -                       BrowseInformation="1"
  574. -                   />
  575. +                       BrowseInformation="1"/>
  576.                 </FileConfiguration>
  577.             </File>
  578.             <File
  579. -               RelativePath="odbctracedump.cpp"
  580. -               >
  581. -               <FileConfiguration
  582. -                   Name="Release|Win32"
  583. -                   >
  584. -                   <Tool
  585. -                       Name="VCCLCompilerTool"
  586. -                       Optimization="2"
  587. -                       PreprocessorDefinitions="ODBCDRIVER_EXPORTS;WIN32;NDEBUG;_WINDOWS;_MBCS;_USRDLL;ODBCTracer_EXPORTS;$(NoInherit)"
  588. -                   />
  589. -               </FileConfiguration>
  590. +               RelativePath="odbctracedump.cpp">
  591.                 <FileConfiguration
  592. -                   Name="Debug|Win32"
  593. -                   >
  594. -                   <Tool
  595. -                       Name="VCCLCompilerTool"
  596. -                       Optimization="0"
  597. -                       PreprocessorDefinitions="ODBCDRIVER_EXPORTS;WIN32;_DEBUG;_WINDOWS;_MBCS;_USRDLL;ODBCTracer_EXPORTS;$(NoInherit)"
  598. -                       BasicRuntimeChecks="3"
  599. -                       BrowseInformation="1"
  600. -                   />
  601. -               </FileConfiguration>
  602. -               <FileConfiguration
  603. -                   Name="Release|x64"
  604. -                   >
  605. +                   Name="Release|Win32">
  606.                     <Tool
  607.                         Name="VCCLCompilerTool"
  608.                         Optimization="2"
  609. -                       PreprocessorDefinitions="ODBCDRIVER_EXPORTS;WIN32;NDEBUG;_WINDOWS;_MBCS;_USRDLL;ODBCTracer_EXPORTS;$(NoInherit)"
  610. -                   />
  611. +                       PreprocessorDefinitions="ODBCDRIVER_EXPORTS;WIN32;NDEBUG;_WINDOWS;_MBCS;_USRDLL;ODBCTracer_EXPORTS;$(NoInherit)"/>
  612.                 </FileConfiguration>
  613.                 <FileConfiguration
  614. -                   Name="Debug|x64"
  615. -                   >
  616. +                   Name="Debug|Win32">
  617.                     <Tool
  618.                         Name="VCCLCompilerTool"
  619.                         Optimization="0"
  620.                         PreprocessorDefinitions="ODBCDRIVER_EXPORTS;WIN32;_DEBUG;_WINDOWS;_MBCS;_USRDLL;ODBCTracer_EXPORTS;$(NoInherit)"
  621.                         BasicRuntimeChecks="3"
  622. -                       BrowseInformation="1"
  623. -                   />
  624. +                       BrowseInformation="1"/>
  625.                 </FileConfiguration>
  626.             </File>
  627.             <File
  628. -               RelativePath="ODBCTracer.cpp"
  629. -               >
  630. -               <FileConfiguration
  631. -                   Name="Release|Win32"
  632. -                   >
  633. -                   <Tool
  634. -                       Name="VCCLCompilerTool"
  635. -                       Optimization="2"
  636. -                       PreprocessorDefinitions="ODBCDRIVER_EXPORTS;WIN32;NDEBUG;_WINDOWS;_MBCS;_USRDLL;ODBCTracer_EXPORTS;$(NoInherit)"
  637. -                   />
  638. -               </FileConfiguration>
  639. -               <FileConfiguration
  640. -                   Name="Debug|Win32"
  641. -                   >
  642. -                   <Tool
  643. -                       Name="VCCLCompilerTool"
  644. -                       Optimization="0"
  645. -                       PreprocessorDefinitions="ODBCDRIVER_EXPORTS;WIN32;_DEBUG;_WINDOWS;_MBCS;_USRDLL;ODBCTracer_EXPORTS;$(NoInherit)"
  646. -                       BasicRuntimeChecks="3"
  647. -                       BrowseInformation="1"
  648. -                   />
  649. -               </FileConfiguration>
  650. +               RelativePath="ODBCTracer.cpp">
  651.                 <FileConfiguration
  652. -                   Name="Release|x64"
  653. -                   >
  654. +                   Name="Release|Win32">
  655.                     <Tool
  656.                         Name="VCCLCompilerTool"
  657.                         Optimization="2"
  658. -                       PreprocessorDefinitions="ODBCDRIVER_EXPORTS;WIN32;NDEBUG;_WINDOWS;_MBCS;_USRDLL;ODBCTracer_EXPORTS;$(NoInherit)"
  659. -                   />
  660. +                       PreprocessorDefinitions="ODBCDRIVER_EXPORTS;WIN32;NDEBUG;_WINDOWS;_MBCS;_USRDLL;ODBCTracer_EXPORTS;$(NoInherit)"/>
  661.                 </FileConfiguration>
  662.                 <FileConfiguration
  663. -                   Name="Debug|x64"
  664. -                   >
  665. +                   Name="Debug|Win32">
  666.                     <Tool
  667.                         Name="VCCLCompilerTool"
  668.                         Optimization="0"
  669.                         PreprocessorDefinitions="ODBCDRIVER_EXPORTS;WIN32;_DEBUG;_WINDOWS;_MBCS;_USRDLL;ODBCTracer_EXPORTS;$(NoInherit)"
  670.                         BasicRuntimeChecks="3"
  671. -                       BrowseInformation="1"
  672. -                   />
  673. +                       BrowseInformation="1"/>
  674.                 </FileConfiguration>
  675.             </File>
  676.             <File
  677. -               RelativePath="ODBCTracer.def"
  678. -               >
  679. +               RelativePath="ODBCTracer.def">
  680.             </File>
  681.             <File
  682. -               RelativePath="ODBCTracer.rc"
  683. -               >
  684. +               RelativePath="ODBCTracer.rc">
  685.             </File>
  686.             <File
  687. -               RelativePath="ODBCTracerOptions.cpp"
  688. -               >
  689. +               RelativePath="ODBCTracerOptions.cpp">
  690.                 <FileConfiguration
  691. -                   Name="Release|Win32"
  692. -                   >
  693. +                   Name="Release|Win32">
  694.                     <Tool
  695.                         Name="VCCLCompilerTool"
  696.                         Optimization="2"
  697. -                       PreprocessorDefinitions="ODBCDRIVER_EXPORTS;WIN32;NDEBUG;_WINDOWS;_MBCS;_USRDLL;ODBCTracer_EXPORTS;$(NoInherit)"
  698. -                   />
  699. +                       PreprocessorDefinitions="ODBCDRIVER_EXPORTS;WIN32;NDEBUG;_WINDOWS;_MBCS;_USRDLL;ODBCTracer_EXPORTS;$(NoInherit)"/>
  700.                 </FileConfiguration>
  701.                 <FileConfiguration
  702. -                   Name="Debug|Win32"
  703. -                   >
  704. +                   Name="Debug|Win32">
  705.                     <Tool
  706.                         Name="VCCLCompilerTool"
  707.                         Optimization="0"
  708.                         PreprocessorDefinitions="ODBCDRIVER_EXPORTS;WIN32;_DEBUG;_WINDOWS;_MBCS;_USRDLL;ODBCTracer_EXPORTS;$(NoInherit)"
  709.                         BasicRuntimeChecks="3"
  710. -                       BrowseInformation="1"
  711. -                   />
  712. -               </FileConfiguration>
  713. -               <FileConfiguration
  714. -                   Name="Release|x64"
  715. -                   >
  716. -                   <Tool
  717. -                       Name="VCCLCompilerTool"
  718. -                       Optimization="2"
  719. -                       PreprocessorDefinitions="ODBCDRIVER_EXPORTS;WIN32;NDEBUG;_WINDOWS;_MBCS;_USRDLL;ODBCTracer_EXPORTS;$(NoInherit)"
  720. -                   />
  721. -               </FileConfiguration>
  722. -               <FileConfiguration
  723. -                   Name="Debug|x64"
  724. -                   >
  725. -                   <Tool
  726. -                       Name="VCCLCompilerTool"
  727. -                       Optimization="0"
  728. -                       PreprocessorDefinitions="ODBCDRIVER_EXPORTS;WIN32;_DEBUG;_WINDOWS;_MBCS;_USRDLL;ODBCTracer_EXPORTS;$(NoInherit)"
  729. -                       BasicRuntimeChecks="3"
  730. -                       BrowseInformation="1"
  731. -                   />
  732. +                       BrowseInformation="1"/>
  733.                 </FileConfiguration>
  734.             </File>
  735.             <File
  736. -               RelativePath="StdAfx.cpp"
  737. -               >
  738. -               <FileConfiguration
  739. -                   Name="Release|Win32"
  740. -                   >
  741. -                   <Tool
  742. -                       Name="VCCLCompilerTool"
  743. -                       Optimization="2"
  744. -                       PreprocessorDefinitions="ODBCDRIVER_EXPORTS;WIN32;NDEBUG;_WINDOWS;_MBCS;_USRDLL;ODBCTracer_EXPORTS;$(NoInherit)"
  745. -                       UsePrecompiledHeader="1"
  746. -                   />
  747. -               </FileConfiguration>
  748. -               <FileConfiguration
  749. -                   Name="Debug|Win32"
  750. -                   >
  751. -                   <Tool
  752. -                       Name="VCCLCompilerTool"
  753. -                       Optimization="0"
  754. -                       PreprocessorDefinitions="ODBCDRIVER_EXPORTS;WIN32;_DEBUG;_WINDOWS;_MBCS;_USRDLL;ODBCTracer_EXPORTS;$(NoInherit)"
  755. -                       BasicRuntimeChecks="3"
  756. -                       UsePrecompiledHeader="1"
  757. -                       BrowseInformation="1"
  758. -                   />
  759. -               </FileConfiguration>
  760. +               RelativePath="StdAfx.cpp">
  761.                 <FileConfiguration
  762. -                   Name="Release|x64"
  763. -                   >
  764. +                   Name="Release|Win32">
  765.                     <Tool
  766.                         Name="VCCLCompilerTool"
  767.                         Optimization="2"
  768.                         PreprocessorDefinitions="ODBCDRIVER_EXPORTS;WIN32;NDEBUG;_WINDOWS;_MBCS;_USRDLL;ODBCTracer_EXPORTS;$(NoInherit)"
  769. -                       UsePrecompiledHeader="1"
  770. -                   />
  771. +                       UsePrecompiledHeader="1"/>
  772.                 </FileConfiguration>
  773.                 <FileConfiguration
  774. -                   Name="Debug|x64"
  775. -                   >
  776. +                   Name="Debug|Win32">
  777.                     <Tool
  778.                         Name="VCCLCompilerTool"
  779.                         Optimization="0"
  780.                         PreprocessorDefinitions="ODBCDRIVER_EXPORTS;WIN32;_DEBUG;_WINDOWS;_MBCS;_USRDLL;ODBCTracer_EXPORTS;$(NoInherit)"
  781.                         BasicRuntimeChecks="3"
  782.                         UsePrecompiledHeader="1"
  783. -                       BrowseInformation="1"
  784. -                   />
  785. +                       BrowseInformation="1"/>
  786.                 </FileConfiguration>
  787.             </File>
  788.             <File
  789. -               RelativePath="SystemTraySDK.cpp"
  790. -               >
  791. +               RelativePath="SystemTraySDK.cpp">
  792.                 <FileConfiguration
  793. -                   Name="Release|Win32"
  794. -                   >
  795. +                   Name="Release|Win32">
  796.                     <Tool
  797.                         Name="VCCLCompilerTool"
  798.                         Optimization="2"
  799. -                       PreprocessorDefinitions="ODBCDRIVER_EXPORTS;WIN32;NDEBUG;_WINDOWS;_MBCS;_USRDLL;ODBCTracer_EXPORTS;$(NoInherit)"
  800. -                   />
  801. +                       PreprocessorDefinitions="ODBCDRIVER_EXPORTS;WIN32;NDEBUG;_WINDOWS;_MBCS;_USRDLL;ODBCTracer_EXPORTS;$(NoInherit)"/>
  802.                 </FileConfiguration>
  803.                 <FileConfiguration
  804. -                   Name="Debug|Win32"
  805. -                   >
  806. +                   Name="Debug|Win32">
  807.                     <Tool
  808.                         Name="VCCLCompilerTool"
  809.                         Optimization="0"
  810.                         PreprocessorDefinitions="ODBCDRIVER_EXPORTS;WIN32;_DEBUG;_WINDOWS;_MBCS;_USRDLL;ODBCTracer_EXPORTS;$(NoInherit)"
  811.                         BasicRuntimeChecks="3"
  812. -                       BrowseInformation="1"
  813. -                   />
  814. -               </FileConfiguration>
  815. -               <FileConfiguration
  816. -                   Name="Release|x64"
  817. -                   >
  818. -                   <Tool
  819. -                       Name="VCCLCompilerTool"
  820. -                       Optimization="2"
  821. -                       PreprocessorDefinitions="ODBCDRIVER_EXPORTS;WIN32;NDEBUG;_WINDOWS;_MBCS;_USRDLL;ODBCTracer_EXPORTS;$(NoInherit)"
  822. -                   />
  823. -               </FileConfiguration>
  824. -               <FileConfiguration
  825. -                   Name="Debug|x64"
  826. -                   >
  827. -                   <Tool
  828. -                       Name="VCCLCompilerTool"
  829. -                       Optimization="0"
  830. -                       PreprocessorDefinitions="ODBCDRIVER_EXPORTS;WIN32;_DEBUG;_WINDOWS;_MBCS;_USRDLL;ODBCTracer_EXPORTS;$(NoInherit)"
  831. -                       BasicRuntimeChecks="3"
  832. -                       BrowseInformation="1"
  833. -                   />
  834. +                       BrowseInformation="1"/>
  835.                 </FileConfiguration>
  836.             </File>
  837.         </Filter>
  838.         <Filter
  839.             Name="Header-Dateien"
  840. -           Filter="h;hpp;hxx;hm;inl"
  841. -           >
  842. +           Filter="h;hpp;hxx;hm;inl">
  843.             <File
  844. -               RelativePath="Hyperlink.h"
  845. -               >
  846. +               RelativePath="Hyperlink.h">
  847.             </File>
  848.             <File
  849. -               RelativePath="ODBCTracer.h"
  850. -               >
  851. +               RelativePath="ODBCTracer.h">
  852.             </File>
  853.             <File
  854. -               RelativePath="resource.h"
  855. -               >
  856. +               RelativePath="resource.h">
  857.             </File>
  858.             <File
  859. -               RelativePath="StdAfx.h"
  860. -               >
  861. +               RelativePath="StdAfx.h">
  862.             </File>
  863.             <File
  864. -               RelativePath="SystemTraySDK.h"
  865. -               >
  866. +               RelativePath="SystemTraySDK.h">
  867.             </File>
  868.         </Filter>
  869.         <Filter
  870.             Name="Ressourcendateien"
  871. -           Filter="ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
  872. -           >
  873. +           Filter="ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe">
  874.             <File
  875. -               RelativePath="ico00001.ico"
  876. -               >
  877. +               RelativePath="ico00001.ico">
  878.             </File>
  879.             <File
  880. -               RelativePath="icon1.ico"
  881. -               >
  882. +               RelativePath="icon1.ico">
  883.             </File>
  884.             <File
  885. -               RelativePath="w3l.bmp"
  886. -               >
  887. +               RelativePath="w3l.bmp">
  888.             </File>
  889.         </Filter>
  890.         <File
  891. -           RelativePath="ReadMe.txt"
  892. -           >
  893. +           RelativePath="ReadMe.txt">
  894.         </File>
  895.     </Files>
  896.     <Globals>
  897. --- ODBCTracerOptions.cpp   Mon Jan 19 17:26:36 1970
  898. +++ ODBCTracerOptions.cpp   Mon Jan 19 17:26:36 1970
  899. @@ -174,7 +174,7 @@
  900.         case WM_INITDIALOG:
  901.         {
  902.             ODBCTraceOptionDlg *config = (ODBCTraceOptionDlg*)lParam;
  903. -           SetWindowLongPtr(hdlg, DWLP_USER, lParam);
  904. +           SetWindowLong(hdlg, DWL_USER, lParam);
  905.             config->wnd = hdlg;
  906.             config->createCheckBoxes();
  907.  
  908. @@ -194,7 +194,7 @@
  909.                     char buffer[256];
  910.                     ::GetWindowText(GetDlgItem(hdlg, id), buffer, sizeof(buffer));
  911.  
  912. -                   ODBCTraceOptionDlg *config = (ODBCTraceOptionDlg*)GetWindowLong(hdlg, DWLP_USER);
  913. +                   ODBCTraceOptionDlg *config = (ODBCTraceOptionDlg*)GetWindowLong(hdlg, DWL_USER);
  914.                     bool state = !config->new_options.logFunction(buffer);
  915.                     config->new_options.setLogFunction(buffer, state);
  916.  
  917. @@ -202,7 +202,7 @@
  918.                 }
  919.                 else if (id == IDC_CHECK_LOGFILE)
  920.                 {
  921. -                   ODBCTraceOptionDlg *config = (ODBCTraceOptionDlg*)GetWindowLong(hdlg, DWLP_USER);
  922. +                   ODBCTraceOptionDlg *config = (ODBCTraceOptionDlg*)GetWindowLong(hdlg, DWL_USER);
  923.                     bool state = !config->new_options.fileloggingactivated;
  924.                     config->new_options.fileloggingactivated = state;
  925.                     ::CheckDlgButton(hdlg, id, state ? BST_CHECKED : BST_UNCHECKED);               
  926. --- SystemTraySDK.cpp   Mon Jan 19 17:26:36 1970
  927. +++ SystemTraySDK.cpp   Mon Jan 19 17:26:36 1970
  928. @@ -51,7 +51,7 @@
  929.  // TrayIcon per application
  930.  CSystemTray* CSystemTray::m_pThis = NULL;
  931.  
  932. -const UINT_PTR CSystemTray::m_nTimerID    = 4567;
  933. +const UINT CSystemTray::m_nTimerID    = 4567;
  934.  UINT CSystemTray::m_nMaxTooltipLength  = 64;     // This may change...
  935.  const UINT CSystemTray::m_nTaskbarCreatedMsg = ::RegisterWindowMessage(_T("TaskbarCreated"));
  936.  HWND  CSystemTray::m_hWndInvisible;
  937. @@ -787,7 +787,7 @@
  938.  }
  939.  #endif
  940.  
  941. -LRESULT CSystemTray::OnTrayNotification(WPARAM wParam, LPARAM lParam)
  942. +LRESULT CSystemTray::OnTrayNotification(UINT wParam, LONG lParam)
  943.  {
  944.      //Return quickly if its not for this tray icon
  945.      if (wParam != m_tnd.uID)
  946. @@ -1081,7 +1081,7 @@
  947.      }
  948.  
  949.      RemoveTaskbarIcon(hWnd);
  950. -   SetWindowLongPtr(hWnd, GWL_STYLE, GetWindowLong(hWnd, GWL_STYLE) &~ WS_VISIBLE);
  951. +   SetWindowLong(hWnd, GWL_STYLE, GetWindowLong(hWnd, GWL_STYLE) &~ WS_VISIBLE);
  952.  #endif
  953.  }
  954.  
  955. @@ -1102,7 +1102,7 @@
  956.      else
  957.          ::SetParent(hWnd, NULL);
  958.  
  959. -   SetWindowLongPtr(hWnd, GWL_STYLE, GetWindowLong(hWnd, GWL_STYLE) | WS_VISIBLE);
  960. +   SetWindowLong(hWnd, GWL_STYLE, GetWindowLong(hWnd, GWL_STYLE) | WS_VISIBLE);
  961.      RedrawWindow(hWnd, NULL, NULL, RDW_UPDATENOW | RDW_ALLCHILDREN | RDW_FRAME |
  962.                         RDW_INVALIDATE | RDW_ERASE);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement