Skip to content

Commit

Permalink
Updating to Visual Studio 2019
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoey76 committed Jan 11, 2020
1 parent d85d585 commit 3f1f34d
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 20 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*.suo
*.user
*.sln.docstates
.vs/

# Build results

Expand Down
2 changes: 1 addition & 1 deletion L2.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Express 2012 for Windows Desktop
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "L2", "L2\L2.vcxproj", "{50933115-5F39-47A0-AB90-6AFB09DFD7E3}"
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "L2", "L2.vcxproj", "{50933115-5F39-47A0-AB90-6AFB09DFD7E3}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
4 changes: 2 additions & 2 deletions L2/L2.vcxproj → L2.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v110</PlatformToolset>
<PlatformToolset>v142</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v110</PlatformToolset>
<PlatformToolset>v142</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
Expand Down
10 changes: 5 additions & 5 deletions L2/L2.vcxproj.filters → L2.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@
<Filter>Resources</Filter>
</ResourceCompile>
</ItemGroup>
<ItemGroup>
<ClCompile Include="Main.cpp">
<Filter>Source Code</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<Image Include="l2.ico">
<Filter>Resources</Filter>
</Image>
</ItemGroup>
<ItemGroup>
<ClCompile Include="Main.cpp">
<Filter>Source Code</Filter>
</ClCompile>
</ItemGroup>
</Project>
3 changes: 1 addition & 2 deletions L2/Main.cpp → Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
// You could include other parameters.
// You can change the path to the .bin file to avoid including the L2.exe inside the System folder.
// Author: Zoey76
int _stdcall wWinMain(HINSTANCE hInst, HINSTANCE prevInst, LPWSTR szCmdLine, int nCmdShow)
{
int _stdcall wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int nShowCmd) {
ShellExecute(0, L"open", L"cmd.exe", L"/C start l2.bin IP=127.0.0.1", 0, SW_HIDE);
}
14 changes: 4 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,15 @@ Win32 application project, L2.exe source to start client with proper parameters,
Getting Started
==

Download Microsoft Visual Studio Express 2012 for Windows Desktop
http://www.microsoft.com/en-us/download/details.aspx?id=34673
Download Visual Studio 2019
https://visualstudio.microsoft.com/

Download Visual Studio Tools for Git
https://visualstudiogallery.msdn.microsoft.com/abafc7d6-dcaa-40f4-8a5e-d6724bdb980c

You may want to read Rick Rainey's guide for Visual Studio and GitHub
http://rickrainey.com/2013/07/27/visual-studio-and-gitub-the-basics-of-working-with-existing-repositories-2/

Install Microsoft Visual Studio Express 2012 for Windows Desktop and update it.
Install Visual Studio Tools for Git.
Install Visual Studio 2019, make sure to include at least C++ package.

Clone the project.

Change the IP or DNS.
Change the host (IP or DNS).

Change the icon if you wish.

Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 3f1f34d

Please sign in to comment.