From ea0738678d7d729b6bbd1c9c37d3914fcc7df0d9 Mon Sep 17 00:00:00 2001 From: watcherhd Date: Tue, 29 Nov 2011 09:30:50 +0000 Subject: another part of small project fixes and x64 adaptation in some cases git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@228 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb --- Gps+/GPS+.sln | 8 ++++++- Gps+/GPS+.vcxproj | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ Gps+/options.cpp | 2 +- Gps+/services.cpp | 2 +- 4 files changed, 81 insertions(+), 3 deletions(-) (limited to 'Gps+') diff --git a/Gps+/GPS+.sln b/Gps+/GPS+.sln index 6024cfc..d70d8c6 100644 --- a/Gps+/GPS+.sln +++ b/Gps+/GPS+.sln @@ -1,17 +1,23 @@ Microsoft Visual Studio Solution File, Format Version 11.00 -# Visual C++ Express 2010 +# Visual Studio 2010 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GPS+", "GPS+.vcxproj", "{DBE0F06C-207B-4F62-9A2B-6C32894ACC5A}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 Release|Win32 = Release|Win32 + Release|x64 = Release|x64 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {DBE0F06C-207B-4F62-9A2B-6C32894ACC5A}.Debug|Win32.ActiveCfg = Debug|Win32 {DBE0F06C-207B-4F62-9A2B-6C32894ACC5A}.Debug|Win32.Build.0 = Debug|Win32 + {DBE0F06C-207B-4F62-9A2B-6C32894ACC5A}.Debug|x64.ActiveCfg = Debug|x64 + {DBE0F06C-207B-4F62-9A2B-6C32894ACC5A}.Debug|x64.Build.0 = Debug|x64 {DBE0F06C-207B-4F62-9A2B-6C32894ACC5A}.Release|Win32.ActiveCfg = Release|Win32 {DBE0F06C-207B-4F62-9A2B-6C32894ACC5A}.Release|Win32.Build.0 = Release|Win32 + {DBE0F06C-207B-4F62-9A2B-6C32894ACC5A}.Release|x64.ActiveCfg = Release|x64 + {DBE0F06C-207B-4F62-9A2B-6C32894ACC5A}.Release|x64.Build.0 = Release|x64 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/Gps+/GPS+.vcxproj b/Gps+/GPS+.vcxproj index 39ef8c3..6df7ab3 100644 --- a/Gps+/GPS+.vcxproj +++ b/Gps+/GPS+.vcxproj @@ -5,10 +5,18 @@ Debug Win32 + + Debug + x64 + Release Win32 + + Release + x64 + {DBE0F06C-207B-4F62-9A2B-6C32894ACC5A} @@ -21,28 +29,49 @@ MultiByte true + + DynamicLibrary + MultiByte + true + DynamicLibrary MultiByte + + DynamicLibrary + MultiByte + + + + + + + <_ProjectFileVersion>10.0.40219.1 $(SolutionDir)$(Configuration)/Plugins\ + $(SolutionDir)\$(Configuration) $(Platform)/Plugins\ $(SolutionDir)$(Configuration)/Obj/$(ProjectName)\ + $(SolutionDir)\$(Configuration) $(Platform)/Obj/$(ProjectName)\ true + true $(SolutionDir)$(Configuration)/Plugins\ + $(SolutionDir)\$(Configuration) $(Platform)/Plugins\ $(SolutionDir)$(Configuration)/Obj/$(ProjectName)\ + $(SolutionDir)\$(Configuration) $(Platform)/Obj/$(ProjectName)\ false + false @@ -61,6 +90,25 @@ true Windows MachineX86 + $(IntDir)$(TargetName).lib + + + + + Disabled + WIN32;_DEBUG;_WINDOWS;_USRDLL;GPS_EXPORTS;%(PreprocessorDefinitions) + EnableFastChecks + MultiThreadedDebug + + + Level3 + ProgramDatabase + ../include;../ExternalAPI;%(AdditionalIncludeDirectories) + + + true + Windows + $(IntDir)$(TargetName).lib @@ -84,6 +132,30 @@ true true MachineX86 + $(IntDir)$(TargetName).lib + + + + + Full + true + ../include;../ExternalAPI;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_WINDOWS;_USRDLL;GPS_EXPORTS;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + Sync + MultiThreaded + true + + + Level3 + ProgramDatabase + Size + + + true + Windows + true + true + $(IntDir)$(TargetName).lib diff --git a/Gps+/options.cpp b/Gps+/options.cpp index c152fdd..d0b35b0 100644 --- a/Gps+/options.cpp +++ b/Gps+/options.cpp @@ -25,7 +25,7 @@ extern HINSTANCE hInst; -BOOL CALLBACK DlgProcOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) +INT_PTR CALLBACK DlgProcOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) { switch ( msg ) { case WM_INITDIALOG: diff --git a/Gps+/services.cpp b/Gps+/services.cpp index 26571cf..d2ee054 100644 --- a/Gps+/services.cpp +++ b/Gps+/services.cpp @@ -25,7 +25,7 @@ extern GPSWorker gps; -int GetLocationInfo(WPARAM wParam, LPARAM lParam) +INT_PTR GetLocationInfo(WPARAM wParam, LPARAM lParam) { gps.GetNavInfo((NavInfo*) wParam); return gps.IsConnected(); -- cgit v1.2.3