mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
build wordpad with unicode="yes/no"
svn path=/trunk/; revision=25150
This commit is contained in:
@@ -47,7 +47,7 @@ AllocAndLoadString(OUT LPTSTR *lpTarget,
|
||||
uID);
|
||||
if (ln++ > 0)
|
||||
{
|
||||
(*lpTarget) = (LPWSTR)LocalAlloc(LMEM_FIXED,
|
||||
(*lpTarget) = (LPTSTR)LocalAlloc(LMEM_FIXED,
|
||||
ln * sizeof(TCHAR));
|
||||
if ((*lpTarget) != NULL)
|
||||
{
|
||||
|
||||
@@ -4,9 +4,9 @@ HINSTANCE hInstance;
|
||||
HANDLE ProcessHeap;
|
||||
|
||||
int WINAPI
|
||||
WinMain(HINSTANCE hThisInstance,
|
||||
_tWinMain(HINSTANCE hThisInstance,
|
||||
HINSTANCE hPrevInstance,
|
||||
LPSTR lpCmdLine,
|
||||
LPTSTR lpCmdLine,
|
||||
int nCmdShow)
|
||||
{
|
||||
LPTSTR lpAppName, lpVersion, lpTitle;
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<rbuild xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
<module name="wordpad" type="win32gui" installbase="system32" installname="wordpad.exe">
|
||||
<module name="wordpad" type="win32gui" installbase="system32" installname="wordpad.exe" unicode="yes">
|
||||
<include base="wordpad">.</include>
|
||||
<define name="UNICODE" />
|
||||
<define name="_UNICODE" />
|
||||
<define name="__USE_W32API" />
|
||||
<define name="_WIN32_IE">0x0600</define>
|
||||
<define name="_WIN32_WINNT">0x0501</define>
|
||||
@@ -25,4 +23,4 @@
|
||||
<file>wordpad.rc</file>
|
||||
<pch>precomp.h</pch>
|
||||
</module>
|
||||
</rbuild>
|
||||
</rbuild>
|
||||
|
||||
Reference in New Issue
Block a user