diff --git a/HelloLua/win32/HelloLua.win32.vcproj b/HelloLua/win32/HelloLua.win32.vcproj
new file mode 100644
index 0000000000..e07b58d645
--- /dev/null
+++ b/HelloLua/win32/HelloLua.win32.vcproj
@@ -0,0 +1,220 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/HelloLua/win32/HelloLua.win32.vcproj.user b/HelloLua/win32/HelloLua.win32.vcproj.user
new file mode 100644
index 0000000000..b72f649054
--- /dev/null
+++ b/HelloLua/win32/HelloLua.win32.vcproj.user
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/HelloLua/win32/main.cpp b/HelloLua/win32/main.cpp
new file mode 100644
index 0000000000..a553fbb76d
--- /dev/null
+++ b/HelloLua/win32/main.cpp
@@ -0,0 +1,17 @@
+#include "main.h"
+
+#include "AppDelegate.h"
+
+int APIENTRY _tWinMain(HINSTANCE hInstance,
+ HINSTANCE hPrevInstance,
+ LPTSTR lpCmdLine,
+ int nCmdShow)
+{
+ UNREFERENCED_PARAMETER(hPrevInstance);
+ UNREFERENCED_PARAMETER(lpCmdLine);
+
+ // create the application instance
+ AppDelegate app;
+
+ return cocos2d::CCApplication::sharedApplication().run();
+}
diff --git a/HelloLua/win32/main.h b/HelloLua/win32/main.h
new file mode 100644
index 0000000000..b5eb5a54a3
--- /dev/null
+++ b/HelloLua/win32/main.h
@@ -0,0 +1,13 @@
+#ifndef __MAIN_H__
+#define __MAIN_H__
+
+#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
+
+// Windows Header Files:
+#include
+#include
+
+// C RunTime Header Files
+#include "CCStdC.h"
+
+#endif // __MAIN_H__
diff --git a/cocos2d-win32.vc2008.sln b/cocos2d-win32.vc2008.sln
index 2e9f68243e..af135e3ab4 100644
--- a/cocos2d-win32.vc2008.sln
+++ b/cocos2d-win32.vc2008.sln
@@ -26,6 +26,12 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tests", "tests\test.win32\t
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "liblua", "lua\lua.vcproj", "{A9376AC9-4D65-498F-885D-EEC3B41DD6E8}"
EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "HelloLua", "HelloLua\win32\HelloLua.win32.vcproj", "{13E55395-94A2-4CD9-BFC2-1A051F80C17D}"
+ ProjectSection(ProjectDependencies) = postProject
+ {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E} = {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}
+ {A9376AC9-4D65-498F-885D-EEC3B41DD6E8} = {A9376AC9-4D65-498F-885D-EEC3B41DD6E8}
+ EndProjectSection
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
@@ -60,6 +66,10 @@ Global
{A9376AC9-4D65-498F-885D-EEC3B41DD6E8}.Debug|Win32.Build.0 = Debug|Win32
{A9376AC9-4D65-498F-885D-EEC3B41DD6E8}.Release|Win32.ActiveCfg = Release|Win32
{A9376AC9-4D65-498F-885D-EEC3B41DD6E8}.Release|Win32.Build.0 = Release|Win32
+ {13E55395-94A2-4CD9-BFC2-1A051F80C17D}.Debug|Win32.ActiveCfg = Debug|Win32
+ {13E55395-94A2-4CD9-BFC2-1A051F80C17D}.Debug|Win32.Build.0 = Debug|Win32
+ {13E55395-94A2-4CD9-BFC2-1A051F80C17D}.Release|Win32.ActiveCfg = Release|Win32
+ {13E55395-94A2-4CD9-BFC2-1A051F80C17D}.Release|Win32.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE