programs: Don't make apps Unicode if they don't use the command line.

This commit is contained in:
Alexandre Julliard 2009-02-06 23:20:01 +01:00
parent 7ca85aa9ea
commit 8e71504e76
6 changed files with 6 additions and 7 deletions

View File

@ -3,7 +3,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = lodctr.exe
APPMODE = -mconsole -municode
APPMODE = -mconsole
IMPORTS = loadperf kernel32
C_SRCS = lodctr_main.c

View File

@ -19,7 +19,7 @@
#include <windows.h>
#include <loadperf.h>
int wmain(int argc, WCHAR *argv[])
int main( int argc, char *argv[] )
{
return LoadPerfCounterTextStringsW(GetCommandLineW(), FALSE);
}

View File

@ -3,7 +3,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = oleview.exe
APPMODE = -mwindows -municode
APPMODE = -mwindows
IMPORTS = uuid comdlg32 comctl32 shell32 oleaut32 ole32 user32 advapi32 kernel32
EXTRADEFS = -DUNICODE

View File

@ -534,8 +534,7 @@ static BOOL InitInstance(HINSTANCE hInst, int nCmdShow)
return TRUE;
}
int APIENTRY wWinMain(HINSTANCE hInst, HINSTANCE hPrevInst,
LPWSTR lpCmdLine, int nCmdShow)
int APIENTRY WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR lpCmdLine, int nCmdShow)
{
MSG msg;
HANDLE hAccelTable;

View File

@ -3,7 +3,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = unlodctr.exe
APPMODE = -mconsole -municode
APPMODE = -mconsole
IMPORTS = loadperf kernel32
C_SRCS = unlodctr_main.c

View File

@ -19,7 +19,7 @@
#include <windows.h>
#include <loadperf.h>
int wmain(int argc, WCHAR *argv[])
int main( int argc, char *argv[] )
{
return UnloadPerfCounterTextStringsW(GetCommandLineW(), FALSE);
}