Commit 6f83a5ee authored by Andreas Mohr's avatar Andreas Mohr Committed by Alexandre Julliard

Doc and trace updates.

parent dad70912
......@@ -15,9 +15,14 @@ section of the man page.
loads and runs the given program, where the program is a DOS, Windows 3.x,
or Win32 executable (x86 binaries only).
.PP
For debugging wine, use
.B winedbg
.I program
instead.
.PP
.B wine
currently runs a growing list of applications written for Win3.1,
Win95, Win95, and Windows NT. Older, simpler applications work better than
Win95, Win98, and Windows NT. Older, simpler applications work better than
newer, more complex ones. A large percentage of the API has been implemented,
although there are still several major pieces of work left to do.
.SH REQUIREMENTS
......@@ -39,7 +44,7 @@ If you have FreeBSD, make sure you have the USER_LDT,
SYSVSHM, SYSVSEM, and SYSVMSG options turned on in your kernel. If you
are building
.B wine
on Solaris, you will most likely need to build Wine with the GNU toolchain
on Solaris, you will most likely need to build wine with the GNU toolchain
(gcc, gas, etc.)
.PP
.B X
......
......@@ -205,6 +205,7 @@ typedef struct
#define BS_AUTORADIOBUTTON 0x00000009L
#define BS_OWNERDRAW 0x0000000BL
#define BS_LEFTTEXT 0x00000020L
#define BS_RIGHTBUTTON BS_LEFTTEXT
#define BS_TEXT 0x00000000L
#define BS_ICON 0x00000040L
......
......@@ -102,6 +102,8 @@ void *ELFDLL_dlopen(const char *libname, int flags)
handle = dlopen(buffer, flags);
if(handle)
return handle;
else
TRACE("possible dlopen() error: %s\n", dlerror());
}
return NULL;
}
......
......@@ -950,7 +950,7 @@ static HINSTANCE16 MODULE_LoadModule16( LPCSTR libname, BOOL implicit, BOOL lib_
hModule = GetModuleHandle16(libname);
if(!hModule)
{
ERR("Serious trouble. Just loaded module '%s' (hinst=0x%04x), but can't get module handle\n",
ERR("Serious trouble. Just loaded module '%s' (hinst=0x%04x), but can't get module handle. Filename too long ?\n",
libname, hinst);
return 6; /* ERROR_INVALID_HANDLE seems most appropriate */
}
......@@ -963,7 +963,7 @@ static HINSTANCE16 MODULE_LoadModule16( LPCSTR libname, BOOL implicit, BOOL lib_
return 6; /* ERROR_INVALID_HANDLE seems most appropriate */
}
TRACE("Loaded module '%s' at 0x%04x, \n", libname, hinst);
TRACE("Loaded module '%s' at 0x%04x.\n", libname, hinst);
/*
* Call initialization routines for all loaded DLLs. Note that
......@@ -1332,7 +1332,7 @@ INT16 WINAPI GetModuleFileName16( HINSTANCE16 hModule, LPSTR lpFileName,
lstrcpynA( lpFileName, NE_MODULE_NAME(pModule), nSize );
if (pModule->expected_version >= 0x400)
GetLongPathNameA(NE_MODULE_NAME(pModule), lpFileName, nSize);
TRACE("%s\n", lpFileName );
TRACE("%04x -> '%s'\n", hModule, lpFileName );
return strlen(lpFileName);
}
......
......@@ -295,7 +295,7 @@ then {
}
done
echo "Configuring Wine for a no-windows install in $CROOT..."
for tdir in "$CROOT/windows" "$CROOT/windows/system" "$CROOT/windows/Start Menu" "$CROOT/windows/Start Menu/Programs"
for tdir in "$CROOT/windows" "$CROOT/windows/system" "$CROOT/windows/Start Menu" "$CROOT/windows/Start Menu/Programs" "$CROOT/Common Files"
do [ -d "$tdir" ] || mkdir "$tdir"
done
[ -f "$CROOT/windows/win.ini" ] || cp "$WININI" "$CROOT/windows/win.ini"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment