fix all but about 8 out of 91 tests. Correct resource usage in xml, fix win32gui vs win32cui mode on most test xml
Modified: trunk/rosapps/tests/alive/alive.xml
Modified: trunk/rosapps/tests/apc/apc.xml
Modified: trunk/rosapps/tests/apc2/apc2.xml
Modified: trunk/rosapps/tests/args/args.xml
Modified: trunk/rosapps/tests/atomtest/atomtest.xml
Modified: trunk/rosapps/tests/bench/bench.xml
Modified: trunk/rosapps/tests/capclock/capclock.rc
Modified: trunk/rosapps/tests/capclock/capclock.xml
Modified: trunk/rosapps/tests/carets/carets.xml
Modified: trunk/rosapps/tests/consume/consume.xml
Modified: trunk/rosapps/tests/copymove/copymove.xml
Modified: trunk/rosapps/tests/count/count.xml
Modified: trunk/rosapps/tests/create-links/create-links.xml
Modified: trunk/rosapps/tests/dirdlg/dirdlg.xml
Modified: trunk/rosapps/tests/directory.xml
Modified: trunk/rosapps/tests/diskspeed/diskspeed.xml
Modified: trunk/rosapps/tests/dnsapi/dnsapi.xml
Modified: trunk/rosapps/tests/fiber/fiber.xml
Modified: trunk/rosapps/tests/icontest/icontest.xml
Modified: trunk/rosapps/tests/isotest/isotest.xml
Modified: trunk/rosapps/tests/mdi/mdi.xml
Modified: trunk/rosapps/tests/miditest/miditest.rc
Modified: trunk/rosapps/tests/miditest/miditest.xml
Modified: trunk/rosapps/tests/moztest/moztest.xml
Modified: trunk/rosapps/tests/nameserverlist/nameserverlist.xml
Modified: trunk/rosapps/tests/noexecute/noexecute.xml
Modified: trunk/rosapps/tests/popupmenu/popupmenu.xml
Modified: trunk/rosapps/tests/sertest/sertest.c
Modified: trunk/rosapps/tests/sertest/sertest.xml
Modified: trunk/rosapps/tests/subclass/subclass.xml
Modified: trunk/rosapps/tests/suspend/suspend.c
Modified: trunk/rosapps/tests/tcpsvr/tcpsvr.xml
Modified: trunk/rosapps/tests/terminate/terminate.c
Modified: trunk/rosapps/tests/terminate/terminate.xml
Modified: trunk/rosapps/tests/threadwait/threadwait.c
Modified: trunk/rosapps/tests/threadwait/threadwait.xml
Modified: trunk/rosapps/tests/tokentest/tokentest.c
Modified: trunk/rosapps/tests/txtscale/txtscale.xml
Modified: trunk/rosapps/tests/vmtest/vmtest.xml
Modified: trunk/rosapps/tests/winhello/winhello.c

Modified: trunk/rosapps/tests/alive/alive.xml
--- trunk/rosapps/tests/alive/alive.xml	2005-11-14 23:23:18 UTC (rev 19234)
+++ trunk/rosapps/tests/alive/alive.xml	2005-11-14 23:44:15 UTC (rev 19235)
@@ -1,4 +1,4 @@
-<module name="alive" type="win32gui" installbase="bin" installname="alive.exe">
+<module name="alive" type="win32cui" installbase="bin" installname="alive.exe">
 	<define name="_WIN32_IE">0x0501</define>
 	<define name="_WIN32_WINNT">0x0501</define>
 	<define name="__USE_W32API" />

Modified: trunk/rosapps/tests/apc/apc.xml
--- trunk/rosapps/tests/apc/apc.xml	2005-11-14 23:23:18 UTC (rev 19234)
+++ trunk/rosapps/tests/apc/apc.xml	2005-11-14 23:44:15 UTC (rev 19235)
@@ -1,4 +1,4 @@
-<module name="apc" type="win32gui" installbase="bin" installname="apc.exe">
+<module name="apc" type="win32cui" installbase="bin" installname="apc.exe">
 	<define name="_WIN32_IE">0x0501</define>
 	<define name="_WIN32_WINNT">0x0501</define>
 	<define name="__USE_W32API" />

Modified: trunk/rosapps/tests/apc2/apc2.xml
--- trunk/rosapps/tests/apc2/apc2.xml	2005-11-14 23:23:18 UTC (rev 19234)
+++ trunk/rosapps/tests/apc2/apc2.xml	2005-11-14 23:44:15 UTC (rev 19235)
@@ -1,4 +1,4 @@
-<module name="apc2" type="win32gui" installbase="bin" installname="apc2.exe">
+<module name="apc2" type="win32cui" installbase="bin" installname="apc2.exe">
 	<define name="_WIN32_IE">0x0501</define>
 	<define name="_WIN32_WINNT">0x0501</define>
 	<define name="__USE_W32API" />

Modified: trunk/rosapps/tests/args/args.xml
--- trunk/rosapps/tests/args/args.xml	2005-11-14 23:23:18 UTC (rev 19234)
+++ trunk/rosapps/tests/args/args.xml	2005-11-14 23:44:15 UTC (rev 19235)
@@ -1,4 +1,4 @@
-<module name="args" type="win32gui" installbase="bin" installname="args.exe">
+<module name="args" type="win32cui" installbase="bin" installname="args.exe">
 	<define name="_WIN32_IE">0x0501</define>
 	<define name="_WIN32_WINNT">0x0501</define>
 	<define name="__USE_W32API" />

Modified: trunk/rosapps/tests/atomtest/atomtest.xml
--- trunk/rosapps/tests/atomtest/atomtest.xml	2005-11-14 23:23:18 UTC (rev 19234)
+++ trunk/rosapps/tests/atomtest/atomtest.xml	2005-11-14 23:44:15 UTC (rev 19235)
@@ -1,4 +1,4 @@
-<module name="atomtest" type="win32gui" installbase="bin" installname="atomtest.exe">
+<module name="atomtest" type="win32cui" installbase="bin" installname="atomtest.exe">
 	<define name="_WIN32_IE">0x0501</define>
 	<define name="_WIN32_WINNT">0x0501</define>
 	<define name="__USE_W32API" />

Modified: trunk/rosapps/tests/bench/bench.xml
--- trunk/rosapps/tests/bench/bench.xml	2005-11-14 23:23:18 UTC (rev 19234)
+++ trunk/rosapps/tests/bench/bench.xml	2005-11-14 23:44:15 UTC (rev 19235)
@@ -1,4 +1,4 @@
-<module name="bench-thread" type="win32gui" installbase="bin" installname="bench-thread.exe">
+<module name="bench-thread" type="win32cui" installbase="bin" installname="bench-thread.exe">
 	<define name="_WIN32_IE">0x0501</define>
 	<define name="_WIN32_WINNT">0x0501</define>
 	<define name="__USE_W32API" />

Modified: trunk/rosapps/tests/capclock/capclock.rc
--- trunk/rosapps/tests/capclock/capclock.rc	2005-11-14 23:23:18 UTC (rev 19234)
+++ trunk/rosapps/tests/capclock/capclock.rc	2005-11-14 23:44:15 UTC (rev 19235)
@@ -1,4 +1,4 @@
-/* $Id: capclock.rc,v 1.1 2004/10/21 05:11:59 sedwards Exp $ */
+/* $Id$ */
 
 #include <windows.h>
 

Modified: trunk/rosapps/tests/capclock/capclock.xml
--- trunk/rosapps/tests/capclock/capclock.xml	2005-11-14 23:23:18 UTC (rev 19234)
+++ trunk/rosapps/tests/capclock/capclock.xml	2005-11-14 23:44:15 UTC (rev 19235)
@@ -2,6 +2,7 @@
 	<define name="_WIN32_IE">0x0501</define>
 	<define name="_WIN32_WINNT">0x0501</define>
 	<define name="__USE_W32API" />
+	<include base="capclock">.</include>
 	<library>kernel32</library>
 	<library>gdi32</library>
 	<file>capclock.c</file>

Modified: trunk/rosapps/tests/carets/carets.xml
--- trunk/rosapps/tests/carets/carets.xml	2005-11-14 23:23:18 UTC (rev 19234)
+++ trunk/rosapps/tests/carets/carets.xml	2005-11-14 23:44:15 UTC (rev 19235)
@@ -2,9 +2,10 @@
 	<define name="_WIN32_IE">0x0501</define>
 	<define name="_WIN32_WINNT">0x0501</define>
 	<define name="__USE_W32API" />
+	<include base="carets">.</include>
 	<library>kernel32</library>
 	<library>gdi32</library>
 	<library>ntdll</library>
 	<file>carets.c</file>
-	<efile>carets.rc</efile>
+	<file>carets.rc</file>
 </module>

Modified: trunk/rosapps/tests/consume/consume.xml
--- trunk/rosapps/tests/consume/consume.xml	2005-11-14 23:23:18 UTC (rev 19234)
+++ trunk/rosapps/tests/consume/consume.xml	2005-11-14 23:44:15 UTC (rev 19235)
@@ -1,4 +1,4 @@
-<module name="consume" type="win32gui" installbase="bin" installname="consume.exe">
+<module name="consume" type="win32cui" installbase="bin" installname="consume.exe">
 	<define name="_WIN32_IE">0x0501</define>
 	<define name="_WIN32_WINNT">0x0501</define>
 	<define name="__USE_W32API" />

Modified: trunk/rosapps/tests/copymove/copymove.xml
--- trunk/rosapps/tests/copymove/copymove.xml	2005-11-14 23:23:18 UTC (rev 19234)
+++ trunk/rosapps/tests/copymove/copymove.xml	2005-11-14 23:44:15 UTC (rev 19235)
@@ -1,4 +1,4 @@
-<module name="copymove" type="win32gui" installbase="bin" installname="copymove.exe">
+<module name="copymove" type="win32cui" installbase="bin" installname="copymove.exe">
 	<define name="_WIN32_IE">0x0501</define>
 	<define name="_WIN32_WINNT">0x0501</define>
 	<define name="__USE_W32API" />

Modified: trunk/rosapps/tests/count/count.xml
--- trunk/rosapps/tests/count/count.xml	2005-11-14 23:23:18 UTC (rev 19234)
+++ trunk/rosapps/tests/count/count.xml	2005-11-14 23:44:15 UTC (rev 19235)
@@ -1,4 +1,4 @@
-<module name="count" type="win32gui" installbase="bin" installname="count.exe">
+<module name="count" type="win32cui" installbase="bin" installname="count.exe">
 	<define name="_WIN32_IE">0x0501</define>
 	<define name="_WIN32_WINNT">0x0501</define>
 	<define name="__USE_W32API" />

Modified: trunk/rosapps/tests/create-links/create-links.xml
--- trunk/rosapps/tests/create-links/create-links.xml	2005-11-14 23:23:18 UTC (rev 19234)
+++ trunk/rosapps/tests/create-links/create-links.xml	2005-11-14 23:44:15 UTC (rev 19235)
@@ -1,4 +1,4 @@
-<module name="create-links" type="win32gui" installbase="bin" installname="create-links.exe">
+<module name="create-links" type="win32cui" installbase="bin" installname="create-links.exe">
 	<define name="_WIN32_IE">0x0501</define>
 	<define name="_WIN32_WINNT">0x0501</define>
 	<define name="__USE_W32API" />

Modified: trunk/rosapps/tests/dirdlg/dirdlg.xml
--- trunk/rosapps/tests/dirdlg/dirdlg.xml	2005-11-14 23:23:18 UTC (rev 19234)
+++ trunk/rosapps/tests/dirdlg/dirdlg.xml	2005-11-14 23:44:15 UTC (rev 19235)
@@ -2,8 +2,9 @@
 	<define name="_WIN32_IE">0x0501</define>
 	<define name="_WIN32_WINNT">0x0501</define>
 	<define name="__USE_W32API" />
+	<include base="dirdlg">.</include>
 	<library>kernel32</library>
 	<library>gdi32</library>
 	<file>dirdlg.c</file>
-	<efile>dirdlg.rc</efile>
+	<file>dirdlg.rc</file>
 </module>

Modified: trunk/rosapps/tests/directory.xml
--- trunk/rosapps/tests/directory.xml	2005-11-14 23:23:18 UTC (rev 19234)
+++ trunk/rosapps/tests/directory.xml	2005-11-14 23:44:15 UTC (rev 19235)
@@ -195,7 +195,6 @@
 
 <!-- fixme: regtest -->
 
-<!--
 <directory name="sectest">
 	<xi:include href="sectest/sectest.xml" />
 </directory>
@@ -206,7 +205,7 @@
 	<xi:include href="shaptest/shaptest.xml" />
 </directory>
 
-fixme: shm
+<!-- fixme: shm -->
 
 <directory name="statst">
 	<xi:include href="statst/statst.xml" />
@@ -241,9 +240,9 @@
 <directory name="tmrqueue">
 	<xi:include href="tmrqueue/tmrqueue.xml" />
 </directory>
-<directory name="tokentest">
-	<xi:include href="tokentest/tokentest.xml" />
-</directory>
+
+<!-- fixme: tokentest -->
+
 <directory name="txtscale">
 	<xi:include href="txtscale/txtscale.xml" />
 </directory>
@@ -262,10 +261,8 @@
 <directory name="wm_paint">
 	<xi:include href="wm_paint/wm_paint.xml" />
 </directory>
-<directory name="wpickclick">
-	<xi:include href="wpickclick/wpickclick.xml" />
-</directory>
-<directory name="zwcontinue">
-	<xi:include href="zwcontinue/zwcontinue.xml" />
-</directory>
--->
+
+<!-- fixme: wpickclick.xml -->
+
+<!-- fixme: zwcontinue -->
+

Modified: trunk/rosapps/tests/diskspeed/diskspeed.xml
--- trunk/rosapps/tests/diskspeed/diskspeed.xml	2005-11-14 23:23:18 UTC (rev 19234)
+++ trunk/rosapps/tests/diskspeed/diskspeed.xml	2005-11-14 23:44:15 UTC (rev 19235)
@@ -1,4 +1,4 @@
-<module name="diskspeed" type="win32gui" installbase="bin" installname="diskspeed.exe">
+<module name="diskspeed" type="win32cui" installbase="bin" installname="diskspeed.exe">
 	<define name="_WIN32_IE">0x0501</define>
 	<define name="_WIN32_WINNT">0x0501</define>
 	<define name="__USE_W32API" />

Modified: trunk/rosapps/tests/dnsapi/dnsapi.xml
--- trunk/rosapps/tests/dnsapi/dnsapi.xml	2005-11-14 23:23:18 UTC (rev 19234)
+++ trunk/rosapps/tests/dnsapi/dnsapi.xml	2005-11-14 23:44:15 UTC (rev 19235)
@@ -1,4 +1,4 @@
-<module name="dnsapitst" type="win32gui" installbase="bin" installname="dnsapitst.exe">
+<module name="dnsapitst" type="win32cui" installbase="bin" installname="dnsapitst.exe">
 	<define name="_WIN32_IE">0x0501</define>
 	<define name="_WIN32_WINNT">0x0501</define>
 	<define name="__USE_W32API" />

Modified: trunk/rosapps/tests/fiber/fiber.xml
--- trunk/rosapps/tests/fiber/fiber.xml	2005-11-14 23:23:18 UTC (rev 19234)
+++ trunk/rosapps/tests/fiber/fiber.xml	2005-11-14 23:44:15 UTC (rev 19235)
@@ -1,4 +1,4 @@
-<module name="fiber" type="win32gui" installbase="bin" installname="fiber.exe">
+<module name="fiber" type="win32cui" installbase="bin" installname="fiber.exe">
 	<define name="_WIN32_IE">0x0501</define>
 	<define name="_WIN32_WINNT">0x0501</define>
 	<define name="__USE_W32API" />

Modified: trunk/rosapps/tests/icontest/icontest.xml
--- trunk/rosapps/tests/icontest/icontest.xml	2005-11-14 23:23:18 UTC (rev 19234)
+++ trunk/rosapps/tests/icontest/icontest.xml	2005-11-14 23:44:15 UTC (rev 19235)
@@ -2,9 +2,10 @@
 	<define name="_WIN32_IE">0x0501</define>
 	<define name="_WIN32_WINNT">0x0501</define>
 	<define name="__USE_W32API" />
+	<include base="icontest">.</include>
 	<library>kernel32</library>
 	<library>gdi32</library>
 	<library>ntdll</library>
 	<file>icontest.c</file>
-	<efile>icontest.rc</efile>
+	<file>icontest.rc</file>
 </module>

Modified: trunk/rosapps/tests/isotest/isotest.xml
--- trunk/rosapps/tests/isotest/isotest.xml	2005-11-14 23:23:18 UTC (rev 19234)
+++ trunk/rosapps/tests/isotest/isotest.xml	2005-11-14 23:44:15 UTC (rev 19235)
@@ -1,4 +1,4 @@
-<module name="isotest" type="win32gui" installbase="bin" installname="isotest.exe">
+<module name="isotest" type="win32cui" installbase="bin" installname="isotest.exe">
 	<define name="_WIN32_IE">0x0501</define>
 	<define name="_WIN32_WINNT">0x0501</define>
 	<define name="__USE_W32API" />

Modified: trunk/rosapps/tests/mdi/mdi.xml
--- trunk/rosapps/tests/mdi/mdi.xml	2005-11-14 23:23:18 UTC (rev 19234)
+++ trunk/rosapps/tests/mdi/mdi.xml	2005-11-14 23:44:15 UTC (rev 19235)
@@ -2,10 +2,11 @@
 	<define name="_WIN32_IE">0x0501</define>
 	<define name="_WIN32_WINNT">0x0501</define>
 	<define name="__USE_W32API" />
+	<include base="mdi">.</include>
 	<library>kernel32</library>
 	<library>gdi32</library>
 	<library>comctl32</library>
 	<library>comdlg32</library>
 	<file>mdi.c</file>
-	<efile>mdi.rc</efile>
+	<file>mdi.rc</file>
 </module>

Modified: trunk/rosapps/tests/miditest/miditest.rc
--- trunk/rosapps/tests/miditest/miditest.rc	2005-11-14 23:23:18 UTC (rev 19234)
+++ trunk/rosapps/tests/miditest/miditest.rc	2005-11-14 23:44:15 UTC (rev 19235)
@@ -1,5 +1,5 @@
 #include <windows.h>
-#include <reactos/resource.h>
+//#include <reactos/resource.h>
 #include "resource.h"
 
 IDR_MAINMENU MENU DISCARDABLE 

Modified: trunk/rosapps/tests/miditest/miditest.xml
--- trunk/rosapps/tests/miditest/miditest.xml	2005-11-14 23:23:18 UTC (rev 19234)
+++ trunk/rosapps/tests/miditest/miditest.xml	2005-11-14 23:44:15 UTC (rev 19235)
@@ -2,8 +2,8 @@
 	<define name="_WIN32_IE">0x0501</define>
 	<define name="_WIN32_WINNT">0x0501</define>
 	<define name="__USE_W32API" />
+	<include base="miditest">.</include>
 	<library>kernel32</library>
 	<library>winmm</library>
 	<file>miditest.c</file>
-	<efile>miditest.rc</efile>
 </module>

Modified: trunk/rosapps/tests/moztest/moztest.xml
--- trunk/rosapps/tests/moztest/moztest.xml	2005-11-14 23:23:18 UTC (rev 19234)
+++ trunk/rosapps/tests/moztest/moztest.xml	2005-11-14 23:44:15 UTC (rev 19235)
@@ -1,4 +1,4 @@
-<module name="moztest" type="win32gui" installbase="bin" installname="moztest.exe">
+<module name="moztest" type="win32cui" installbase="bin" installname="moztest.exe">
 	<define name="_WIN32_IE">0x0501</define>
 	<define name="_WIN32_WINNT">0x0501</define>
 	<define name="__USE_W32API" />

Modified: trunk/rosapps/tests/nameserverlist/nameserverlist.xml
--- trunk/rosapps/tests/nameserverlist/nameserverlist.xml	2005-11-14 23:23:18 UTC (rev 19234)
+++ trunk/rosapps/tests/nameserverlist/nameserverlist.xml	2005-11-14 23:44:15 UTC (rev 19235)
@@ -1,4 +1,4 @@
-<module name="nameserverlist" type="win32gui" installbase="bin" installname="nameserverlist.exe">
+<module name="nameserverlist" type="win32cui" installbase="bin" installname="nameserverlist.exe">
 	<define name="_WIN32_IE">0x0501</define>
 	<define name="_WIN32_WINNT">0x0501</define>
 	<define name="__USE_W32API" />

Modified: trunk/rosapps/tests/noexecute/noexecute.xml
--- trunk/rosapps/tests/noexecute/noexecute.xml	2005-11-14 23:23:18 UTC (rev 19234)
+++ trunk/rosapps/tests/noexecute/noexecute.xml	2005-11-14 23:44:15 UTC (rev 19235)
@@ -1,4 +1,4 @@
-<module name="noexecute" type="win32gui" installbase="bin" installname="noexecute.exe">
+<module name="noexecute" type="win32cui" installbase="bin" installname="noexecute.exe">
 	<define name="_WIN32_IE">0x0501</define>
 	<define name="_WIN32_WINNT">0x0501</define>
 	<define name="__USE_W32API" />

Modified: trunk/rosapps/tests/popupmenu/popupmenu.xml
--- trunk/rosapps/tests/popupmenu/popupmenu.xml	2005-11-14 23:23:18 UTC (rev 19234)
+++ trunk/rosapps/tests/popupmenu/popupmenu.xml	2005-11-14 23:44:15 UTC (rev 19235)
@@ -2,8 +2,9 @@
 	<define name="_WIN32_IE">0x0501</define>
 	<define name="_WIN32_WINNT">0x0501</define>
 	<define name="__USE_W32API" />
+	<include base="popupmenu">.</include>
 	<library>kernel32</library>
 	<library>gdi32</library>
 	<file>popupmenu.c</file>
-	<efile>popupmenu.rc</efile>
+	<file>popupmenu.rc</file>
 </module>

Modified: trunk/rosapps/tests/sertest/sertest.c
--- trunk/rosapps/tests/sertest/sertest.c	2005-11-14 23:23:18 UTC (rev 19234)
+++ trunk/rosapps/tests/sertest/sertest.c	2005-11-14 23:44:15 UTC (rev 19235)
@@ -1,6 +1,8 @@
 #include <windows.h>
 #include <stdio.h>
 
+#include <tchar.h>
+
 #define BUFSIZE 128
 #define MAX_PORTNAME_LEN 20
 #define APP_VERSION_STR "0.01"

Modified: trunk/rosapps/tests/sertest/sertest.xml
--- trunk/rosapps/tests/sertest/sertest.xml	2005-11-14 23:23:18 UTC (rev 19234)
+++ trunk/rosapps/tests/sertest/sertest.xml	2005-11-14 23:44:15 UTC (rev 19235)
@@ -1,4 +1,4 @@
-<module name="sertest" type="win32gui" installbase="bin" installname="sertest.exe">
+<module name="sertest" type="win32gui" installbase="bin" installname="sertest.exe" allowwarnings="true">
 	<define name="_WIN32_IE">0x0501</define>
 	<define name="_WIN32_WINNT">0x0501</define>
 	<define name="__USE_W32API" />

Modified: trunk/rosapps/tests/subclass/subclass.xml
--- trunk/rosapps/tests/subclass/subclass.xml	2005-11-14 23:23:18 UTC (rev 19234)
+++ trunk/rosapps/tests/subclass/subclass.xml	2005-11-14 23:44:15 UTC (rev 19235)
@@ -1,4 +1,4 @@
-<module name="subclass" type="win32gui" installbase="bin" installname="subclass.exe">
+<module name="subclass" type="win32gui" installbase="bin" installname="subclass.exe" allowwarnings="true">
 	<define name="_WIN32_IE">0x0501</define>
 	<define name="_WIN32_WINNT">0x0501</define>
 	<define name="__USE_W32API" />

Modified: trunk/rosapps/tests/suspend/suspend.c
--- trunk/rosapps/tests/suspend/suspend.c	2005-11-14 23:23:18 UTC (rev 19234)
+++ trunk/rosapps/tests/suspend/suspend.c	2005-11-14 23:44:15 UTC (rev 19235)
@@ -1,11 +1,10 @@
 #define UNICODE
 
-#define NTOS_MODE_USER
-#include <ntos.h>
 #include <windows.h>
 #include <stdio.h>
+#define NTOS_MODE_USER
+#include <ndk/ntndk.h>
 
-#define DBG
 #define NDEBUG
 #include <debug.h>
 

Modified: trunk/rosapps/tests/tcpsvr/tcpsvr.xml
--- trunk/rosapps/tests/tcpsvr/tcpsvr.xml	2005-11-14 23:23:18 UTC (rev 19234)
+++ trunk/rosapps/tests/tcpsvr/tcpsvr.xml	2005-11-14 23:44:15 UTC (rev 19235)
@@ -1,8 +1,8 @@
-<module name="tcpsvr" type="win32gui" installbase="bin" installname="tcpsvr.exe">
+<module name="tcpsvr" type="win32cui" installbase="bin" installname="tcpsvr.exe">
 	<define name="_WIN32_IE">0x0501</define>
 	<define name="_WIN32_WINNT">0x0501</define>
 	<define name="__USE_W32API" />
 	<library>kernel32</library>
-	<library>gdi32</library>
+	<library>ws2_32</library>
 	<file>tcpsvr.c</file>
 </module>

Modified: trunk/rosapps/tests/terminate/terminate.c
--- trunk/rosapps/tests/terminate/terminate.c	2005-11-14 23:23:18 UTC (rev 19234)
+++ trunk/rosapps/tests/terminate/terminate.c	2005-11-14 23:44:15 UTC (rev 19235)
@@ -1,11 +1,10 @@
 #define UNICODE
 
-#define NTOS_MODE_USER
-#include <ntos.h>
 #include <windows.h>
 #include <stdio.h>
+#define NTOS_MODE_USER
+#include <ndk/ntndk.h>
 
-#define DBG
 #define NDEBUG
 #include <debug.h>
 

Modified: trunk/rosapps/tests/terminate/terminate.xml
--- trunk/rosapps/tests/terminate/terminate.xml	2005-11-14 23:23:18 UTC (rev 19234)
+++ trunk/rosapps/tests/terminate/terminate.xml	2005-11-14 23:44:15 UTC (rev 19235)
@@ -1,4 +1,4 @@
-<module name="terminate" type="win32gui" installbase="bin" installname="terminate.exe">
+<module name="terminate" type="win32cui" installbase="bin" installname="terminate.exe">
 	<define name="_WIN32_IE">0x0501</define>
 	<define name="_WIN32_WINNT">0x0501</define>
 	<define name="__USE_W32API" />

Modified: trunk/rosapps/tests/threadwait/threadwait.c
--- trunk/rosapps/tests/threadwait/threadwait.c	2005-11-14 23:23:18 UTC (rev 19234)
+++ trunk/rosapps/tests/threadwait/threadwait.c	2005-11-14 23:44:15 UTC (rev 19235)
@@ -7,6 +7,9 @@
 #include <windows.h>
 #include <stdio.h>
 
+#define NTOS_MODE_USER
+#include <ndk/ntndk.h>
+
 DWORD __stdcall threadfunc(void* UNREFERENCED)
 {
 	printf("Thread: Initialized\n");

Modified: trunk/rosapps/tests/threadwait/threadwait.xml
--- trunk/rosapps/tests/threadwait/threadwait.xml	2005-11-14 23:23:18 UTC (rev 19234)
+++ trunk/rosapps/tests/threadwait/threadwait.xml	2005-11-14 23:44:15 UTC (rev 19235)
@@ -3,6 +3,6 @@
 	<define name="_WIN32_WINNT">0x0501</define>
 	<define name="__USE_W32API" />
 	<library>kernel32</library>
-	<library>gdi32</library>
+	<library>ntdll</library>
 	<file>threadwait.c</file>
 </module>

Modified: trunk/rosapps/tests/tokentest/tokentest.c
--- trunk/rosapps/tests/tokentest/tokentest.c	2005-11-14 23:23:18 UTC (rev 19234)
+++ trunk/rosapps/tests/tokentest/tokentest.c	2005-11-14 23:44:15 UTC (rev 19235)
@@ -5,6 +5,10 @@
 #include <windows.h>
 #include <stdlib.h>
 
+#define NTOS_MODE_USER
+#include <ndk/ntndk.h>
+
+
 #define INCLUDE_THE_DDK_HEADERS
 #ifdef INCLUDE_THE_DDK_HEADERS
 #include <ddk/ntddk.h>
@@ -107,6 +111,7 @@
 	);
 #define NT_SUCCESS(StatCode)  ((NTSTATUS)(StatCode) >= 0)
 #endif
+
 #include <stdio.h>
 
 #define INITIAL_PRIV_ENABLED SE_PRIVILEGE_ENABLED_BY_DEFAULT|SE_PRIVILEGE_ENABLED

Modified: trunk/rosapps/tests/txtscale/txtscale.xml
--- trunk/rosapps/tests/txtscale/txtscale.xml	2005-11-14 23:23:18 UTC (rev 19234)
+++ trunk/rosapps/tests/txtscale/txtscale.xml	2005-11-14 23:44:15 UTC (rev 19235)
@@ -4,6 +4,7 @@
 	<define name="__USE_W32API" />
 	<library>kernel32</library>
 	<library>gdi32</library>
+	<library>comctl32</library>
 	<file>txtscale.cpp</file>
 	<file>mk_font.cpp</file>
 </module>

Modified: trunk/rosapps/tests/vmtest/vmtest.xml
--- trunk/rosapps/tests/vmtest/vmtest.xml	2005-11-14 23:23:18 UTC (rev 19234)
+++ trunk/rosapps/tests/vmtest/vmtest.xml	2005-11-14 23:44:15 UTC (rev 19235)
@@ -1,4 +1,4 @@
-<module name="vmtest" type="win32gui" installbase="bin" installname="vmtest.exe">
+<module name="vmtest" type="win32cui" installbase="bin" installname="vmtest.exe" allowwarnings="true">
 	<define name="_WIN32_IE">0x0501</define>
 	<define name="_WIN32_WINNT">0x0501</define>
 	<define name="__USE_W32API" />

Modified: trunk/rosapps/tests/winhello/winhello.c
--- trunk/rosapps/tests/winhello/winhello.c	2005-11-14 23:23:18 UTC (rev 19234)
+++ trunk/rosapps/tests/winhello/winhello.c	2005-11-14 23:44:15 UTC (rev 19235)
@@ -26,6 +26,10 @@
  * ????????
  */
 
+#ifndef VK_C
+#define VK_C 'C'
+#endif
+
 #include <windows.h>
 #include <stdio.h>
 #include <tchar.h>