build control with unicode=yes
authorSylvain Petreolle <spetreolle@yahoo.fr>
Thu, 14 Dec 2006 20:40:18 +0000 (20:40 +0000)
committerSylvain Petreolle <spetreolle@yahoo.fr>
Thu, 14 Dec 2006 20:40:18 +0000 (20:40 +0000)
svn path=/trunk/; revision=25165

reactos/base/applications/control/control.c
reactos/base/applications/control/control.rbuild

index ef1190b..f84eccc 100644 (file)
@@ -388,7 +388,7 @@ RunControlPanel(LPCTSTR lpName, UINT uIndex)
 
 
 int WINAPI
-WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
+_tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow)
 {
   LPTSTR lpCommandLine;
   LPTSTR lpParam;
index 0ea3a3e..180ee29 100644 (file)
@@ -1,7 +1,5 @@
-<module name="control" type="win32gui" baseaddress="${BASEADDRESS_CONTROL}" installbase="system32" installname="control.exe">
+<module name="control" type="win32gui" baseaddress="${BASEADDRESS_CONTROL}" installbase="system32" installname="control.exe" unicode="yes">
        <include base="control">.</include>
-       <define name="UNICODE" />
-       <define name="_UNICODE" />
        <define name="__REACTOS__" />
        <define name="__USE_W32API" />
        <define name="_WIN32_IE">0x600</define>