Prepare for a change of architecture.

Instead of building all Wine tests as dlls, we'll revert back to separate processes, but redirect the client processes stdin, stdout and stderr to named pipes set by the parent.

svn path=/trunk/; revision=36844
This commit is contained in:
Ged Murphy 2008-10-20 14:49:59 +00:00
parent f3d835f4a1
commit b686c53533
7 changed files with 244 additions and 164 deletions

View file

@ -238,12 +238,12 @@ InitImageList(UINT StartResource,
/* Add all icons to the image list */
for (i = StartResource; i <= EndResource; i++)
{
hIcon = (HBITMAP)LoadImageW(hInstance,
MAKEINTRESOURCEW(i),
IMAGE_ICON,
Width,
Height,
LR_DEFAULTCOLOR);
hIcon = (HICON)LoadImageW(hInstance,
MAKEINTRESOURCEW(i),
IMAGE_ICON,
Width,
Height,
LR_DEFAULTCOLOR);
if (hIcon == NULL)
goto fail;
@ -294,7 +294,7 @@ UnicodeToAnsi(LPCWSTR lpSrcStr,
length = wcslen(lpSrcStr) + 1;
*lpDstStr = (LPWSTR)HeapAlloc(GetProcessHeap(), 0, length);
*lpDstStr = (LPSTR)HeapAlloc(GetProcessHeap(), 0, length);
if (*lpDstStr)
{
ret = WideCharToMultiByte(CP_ACP,