wine
22 years agoFixed __builtin_return_address.
Gregg Mattinson [Sat, 20 Jul 2002 18:53:34 +0000 (18:53 +0000)] 
Fixed __builtin_return_address.

22 years agoRepair SetLastError in FindNextFileA.
Rein Klazes [Sat, 20 Jul 2002 18:53:09 +0000 (18:53 +0000)] 
Repair SetLastError in FindNextFileA.

22 years agoMove an extern declaration to stop egcs-2.91.66 from crashing.
Francois Gouget [Sat, 20 Jul 2002 18:52:47 +0000 (18:52 +0000)] 
Move an extern declaration to stop egcs-2.91.66 from crashing.

22 years agoFixed per-thread data handling.
Alexandre Julliard [Fri, 19 Jul 2002 03:24:50 +0000 (03:24 +0000)] 
Fixed per-thread data handling.
Made terminate and unexpected function pointer per-thread.
Added set_se_translator.

22 years agoAvoid structures or arrays of size 0.
Gregg Mattinson [Fri, 19 Jul 2002 03:18:05 +0000 (03:18 +0000)] 
Avoid structures or arrays of size 0.

22 years agoFirst go at reading directories on public SMB shares.
Mike McCormack [Fri, 19 Jul 2002 03:17:19 +0000 (03:17 +0000)] 
First go at reading directories on public SMB shares.

22 years ago - X11/extensions/shape.h requires X11/Xutil.h.
Gregg Mattinson [Fri, 19 Jul 2002 03:16:51 +0000 (03:16 +0000)] 
 - X11/extensions/shape.h requires X11/Xutil.h.
 - X11/XKBlib.h requires X11/Xlib.h.
 - net/if.h requires sys/socket.h.
 - netinet/ip.h requires sys/socket.h and sys/in_systm.h.
 - resolv.h requires sys/socket.h.

22 years ago- Removed name, type, mode, rsrc, and import statements from .spec
Gregg Mattinson [Fri, 19 Jul 2002 03:15:20 +0000 (03:15 +0000)] 
- Removed name, type, mode, rsrc, and import statements from .spec
  file.
- Added imports and resources to Makefile.in.
- Checked for __sparc__ and __sun__, same as Wine's configure.
- Checked $WINE_ROOT/library for library files.
- Changed mixedcrt directory to msvcrt.

22 years agoSet amounts read/written to 0, share Un/Lock code, unify ctors.
Jon Griffiths [Fri, 19 Jul 2002 03:13:58 +0000 (03:13 +0000)] 
Set amounts read/written to 0, share Un/Lock code, unify ctors.
SHOpenRegStreamA/W return a dummy object on failure, not NULL.
Implement @12 using common ctor.

22 years agoReturn empty string on error in WM_GETTEXT.
Carl Sopchak [Fri, 19 Jul 2002 03:13:10 +0000 (03:13 +0000)] 
Return empty string on error in WM_GETTEXT.

22 years agoProtect InternetCloseHandle() against invalid handles.
Marcus Meissner [Fri, 19 Jul 2002 03:12:18 +0000 (03:12 +0000)] 
Protect InternetCloseHandle() against invalid handles.

22 years agoMerged all API files into two files (Win16/Win32).
Patrik Stridvall [Fri, 19 Jul 2002 00:31:05 +0000 (00:31 +0000)] 
Merged all API files into two files (Win16/Win32).

22 years agoFixed some issues found by winapi_check.
Patrik Stridvall [Fri, 19 Jul 2002 00:30:16 +0000 (00:30 +0000)] 
Fixed some issues found by winapi_check.

22 years agoConvert HMONITOR to a void*.
Michael Stefaniuc [Fri, 19 Jul 2002 00:28:13 +0000 (00:28 +0000)] 
Convert HMONITOR to a void*.

22 years agoAllow the application to subclass a buddy edit (spotted by Guy
Dimitrie O. Paun [Fri, 19 Jul 2002 00:27:52 +0000 (00:27 +0000)] 
Allow the application to subclass a buddy edit (spotted by Guy
L. Albertelli).

22 years agoAdded CLSID_StdFont class registration.
Andriy Palamarchuk [Fri, 19 Jul 2002 00:27:21 +0000 (00:27 +0000)] 
Added CLSID_StdFont class registration.

22 years agoUpdate output for recent build changes.
Jon Griffiths [Fri, 19 Jul 2002 00:26:41 +0000 (00:26 +0000)] 
Update output for recent build changes.

22 years agoImplemented SHBrowseForFolderW.
Jon Griffiths [Fri, 19 Jul 2002 00:26:02 +0000 (00:26 +0000)] 
Implemented SHBrowseForFolderW.

22 years agoAvoid winreg.h inclusion.
Jon Griffiths [Fri, 19 Jul 2002 00:25:26 +0000 (00:25 +0000)] 
Avoid winreg.h inclusion.

22 years agoStub implementation for CoInitializeSecurity.
Jon Griffiths [Fri, 19 Jul 2002 00:23:27 +0000 (00:23 +0000)] 
Stub implementation for CoInitializeSecurity.

22 years agoFixed temp name handling.
Alexandre Julliard [Tue, 16 Jul 2002 03:21:35 +0000 (03:21 +0000)] 
Fixed temp name handling.

22 years agoMerged the IDL compiler written by Ove Kaaven.
Alexandre Julliard [Tue, 16 Jul 2002 03:20:45 +0000 (03:20 +0000)] 
Merged the IDL compiler written by Ove Kaaven.

22 years agoSplit the C preprocessor from wrc into a separate library.
Alexandre Julliard [Tue, 16 Jul 2002 02:33:10 +0000 (02:33 +0000)] 
Split the C preprocessor from wrc into a separate library.
Prefixed exported functions by 'pp' to avoid namespace conflicts.

22 years agoBring winhelp back to life, with mainly support for Win95 help files.
Eric Pouech [Tue, 16 Jul 2002 01:46:29 +0000 (01:46 +0000)] 
Bring winhelp back to life, with mainly support for Win95 help files.

22 years agoFixed setting of min/maximize mwm hints.
Alexandre Julliard [Tue, 16 Jul 2002 01:45:31 +0000 (01:45 +0000)] 
Fixed setting of min/maximize mwm hints.

22 years agoFixed two leaks in file- and itemmoniker.
Juergen Schmied [Tue, 16 Jul 2002 01:43:24 +0000 (01:43 +0000)] 
Fixed two leaks in file- and itemmoniker.

22 years agoAdded support DDBLT_DDFX flag in DirectDrawSurface_Blt.
Tony Lambregts [Tue, 16 Jul 2002 01:42:47 +0000 (01:42 +0000)] 
Added support DDBLT_DDFX flag in DirectDrawSurface_Blt.

22 years ago- Remove stub for ordinal 394 and replace with forward to
Guy L. Albertelli [Tue, 16 Jul 2002 01:42:26 +0000 (01:42 +0000)] 
- Remove stub for ordinal 394 and replace with forward to
  CreateDialogIndirectParamA where tracing shows it going.
- Add stub for ordinal 430.

22 years agoDon't issue error message if message number in application range.
Guy L. Albertelli [Tue, 16 Jul 2002 01:23:59 +0000 (01:23 +0000)] 
Don't issue error message if message number in application range.

22 years agoImplement SHCreateStreamOnFileA/W/Ex, ordinals @166,184,212-214.
Jon Griffiths [Tue, 16 Jul 2002 01:21:52 +0000 (01:21 +0000)] 
Implement SHCreateStreamOnFileA/W/Ex, ordinals @166,184,212-214.

22 years agoImplemented FlushFileBuffers for serial devices.
Marcus Meissner [Tue, 16 Jul 2002 01:20:38 +0000 (01:20 +0000)] 
Implemented FlushFileBuffers for serial devices.

22 years agoRemoved drive assumptions in the path handling regression tests.
Paul Millar [Tue, 16 Jul 2002 01:19:41 +0000 (01:19 +0000)] 
Removed drive assumptions in the path handling regression tests.

22 years agoFixed a memory leak and a wrong memory free call.
Juergen Schmied [Tue, 16 Jul 2002 01:18:35 +0000 (01:18 +0000)] 
Fixed a memory leak and a wrong memory free call.

22 years agoDo not #include <malloc.h>, which is non-standard and not needed.
Gerald Pfeifer [Tue, 16 Jul 2002 01:17:21 +0000 (01:17 +0000)] 
Do not #include <malloc.h>, which is non-standard and not needed.

22 years agoTest for X11 errors for DGA2 and XVidMode extensions.
Lionel Ulmer [Tue, 16 Jul 2002 01:16:44 +0000 (01:16 +0000)] 
Test for X11 errors for DGA2 and XVidMode extensions.

22 years ago- DDRAW_SYSTEMMEMORY is handled like OFFSCREENPLAIN for now
Lionel Ulmer [Tue, 16 Jul 2002 01:16:14 +0000 (01:16 +0000)] 
- DDRAW_SYSTEMMEMORY is handled like OFFSCREENPLAIN for now
- added more logging

22 years agoFixed another non-static structure initializer.
Gregg Mattinson [Tue, 16 Jul 2002 01:15:15 +0000 (01:15 +0000)] 
Fixed another non-static structure initializer.

22 years agoCorrection to header order maintenance when a dummy first item is
Bill Medland [Tue, 16 Jul 2002 01:14:46 +0000 (01:14 +0000)] 
Correction to header order maintenance when a dummy first item is
added and then deleted (as suggested by MSDN to handle the fact that
the first column of a listview is left justified).  Also removed
redundant casts.

22 years agoX11DRV_GetDIBits: Don't clear the biCompression==BI_BITFIELDS flag
Rob McClinton [Tue, 16 Jul 2002 01:13:55 +0000 (01:13 +0000)] 
X11DRV_GetDIBits: Don't clear the biCompression==BI_BITFIELDS flag
after creating the bits.

22 years agoFixed void* arithmetic.
Gregg Mattinson [Tue, 16 Jul 2002 01:12:39 +0000 (01:12 +0000)] 
Fixed void* arithmetic.

22 years agoInitialized the pidlOut variable in SHELL32_ParseNextElement to
Gregg Mattinson [Tue, 16 Jul 2002 01:11:52 +0000 (01:11 +0000)] 
Initialized the pidlOut variable in SHELL32_ParseNextElement to
prevent a crash in some cases.

22 years agoFixed uninitialized HKEYs.
Andreas Mohr [Tue, 16 Jul 2002 01:11:12 +0000 (01:11 +0000)] 
Fixed uninitialized HKEYs.

22 years agoDeleteColumn should return success even for uOwnerData.
Bill Medland [Tue, 16 Jul 2002 01:10:26 +0000 (01:10 +0000)] 
DeleteColumn should return success even for uOwnerData.

22 years agoA few cosmetic changes plus fixes for problems spotted by Dmitry
Andriy Palamarchuk [Tue, 16 Jul 2002 01:09:24 +0000 (01:09 +0000)] 
A few cosmetic changes plus fixes for problems spotted by Dmitry
Timoshkov.

22 years agoAdded Slovenian resources.
Rok Mandeljc [Tue, 16 Jul 2002 01:08:43 +0000 (01:08 +0000)] 
Added Slovenian resources.

22 years agoRelease 20020710. wine-20020710
Alexandre Julliard [Thu, 11 Jul 2002 01:30:53 +0000 (01:30 +0000)] 
Release 20020710.

22 years agoAdded FPU emulation interrupts.
Alexandre Julliard [Wed, 10 Jul 2002 23:22:54 +0000 (23:22 +0000)] 
Added FPU emulation interrupts.

22 years agoAdded support for FPU emulation interrupts.
Admiral Coeyman [Wed, 10 Jul 2002 23:22:29 +0000 (23:22 +0000)] 
Added support for FPU emulation interrupts.

22 years agoStubs/docs for NotifyWinEvent,SetWinEventHook,IsWinEventHookInstalled,
Jon Griffiths [Wed, 10 Jul 2002 23:20:49 +0000 (23:20 +0000)] 
Stubs/docs for NotifyWinEvent,SetWinEventHook,IsWinEventHookInstalled,
UnhookWinEvent.

22 years agoQuiet the font loading error.
Alexandre Julliard [Wed, 10 Jul 2002 23:16:40 +0000 (23:16 +0000)] 
Quiet the font loading error.

22 years agoCBUpdateEdit: LB_GETTEXTLEN returns LB_ERR on error, not 0.
Uwe Bonnes [Wed, 10 Jul 2002 23:11:28 +0000 (23:11 +0000)] 
CBUpdateEdit: LB_GETTEXTLEN returns LB_ERR on error, not 0.

22 years agoFixed corruption when copying to the same surface (with the help of
Alexandre Julliard [Wed, 10 Jul 2002 23:10:54 +0000 (23:10 +0000)] 
Fixed corruption when copying to the same surface (with the help of
Tony Lambregts and Lionel Ulmer).

22 years ago48 was plain wrong as value for HELmargin.
Johan Gill [Wed, 10 Jul 2002 23:08:32 +0000 (23:08 +0000)] 
48 was plain wrong as value for HELmargin.

22 years agoFixes to allow big endian machines to load MSFT typelib files.
Gregg Mattinson [Wed, 10 Jul 2002 23:07:59 +0000 (23:07 +0000)] 
Fixes to allow big endian machines to load MSFT typelib files.

22 years agoFixed handling of drives with "/" path (thanks to Marcus Meissner).
Alexandre Julliard [Wed, 10 Jul 2002 20:45:21 +0000 (20:45 +0000)] 
Fixed handling of drives with "/" path (thanks to Marcus Meissner).

22 years agoPass "Manual Feed" as short input slot name.
Carl Sopchak [Wed, 10 Jul 2002 20:33:24 +0000 (20:33 +0000)] 
Pass "Manual Feed" as short input slot name.

22 years agoFixed synchronisation for ctrl event generation.
Eric Pouech [Wed, 10 Jul 2002 20:31:46 +0000 (20:31 +0000)] 
Fixed synchronisation for ctrl event generation.

22 years ago- Fixed access to the lpTemplateName of ChooseFont in cases where the
Shachar Shemesh [Wed, 10 Jul 2002 20:31:17 +0000 (20:31 +0000)] 
- Fixed access to the lpTemplateName of ChooseFont in cases where the
  flags don't specify to use it.
- Do not try to convert the resource name from ANSI to Wide if it is a
  result of MAKEINTRESOURCE (and therefore not a string).

22 years agoCreated registry unit test and added tests for RegEnumValue[AW].
Alexandre Julliard [Wed, 10 Jul 2002 03:30:14 +0000 (03:30 +0000)] 
Created registry unit test and added tests for RegEnumValue[AW].

22 years agoRegEnumValue[AW] need to update the data size on buffer overflow
Alexandre Julliard [Wed, 10 Jul 2002 03:27:35 +0000 (03:27 +0000)] 
RegEnumValue[AW] need to update the data size on buffer overflow
(spotted by Massimo <max@veneto.com>).

22 years agoRemoved the flags fields of IDirectDrawPaletteImpl, as we should use
Ove Kaaven [Wed, 10 Jul 2002 03:05:43 +0000 (03:05 +0000)] 
Removed the flags fields of IDirectDrawPaletteImpl, as we should use
the dwFlags field of DDRAWI_DDRAWPALETTE_GBL structure instead.

22 years agoHandle WM_SYNCPAINT with DefWindowProc.
Ove Kaaven [Wed, 10 Jul 2002 03:04:58 +0000 (03:04 +0000)] 
Handle WM_SYNCPAINT with DefWindowProc.

22 years agoEnhanced error handling on input stream reading.
Eric Pouech [Wed, 10 Jul 2002 03:04:30 +0000 (03:04 +0000)] 
Enhanced error handling on input stream reading.

22 years agoFixed external debugger startup.
Eric Pouech [Wed, 10 Jul 2002 03:04:14 +0000 (03:04 +0000)] 
Fixed external debugger startup.

22 years agoAdded Slovenian resources.
Rok Mandeljc [Wed, 10 Jul 2002 03:03:46 +0000 (03:03 +0000)] 
Added Slovenian resources.

22 years agoFix buffer length calculation in InitializeGenericSF().
Rein Klazes [Wed, 10 Jul 2002 03:00:46 +0000 (03:00 +0000)] 
Fix buffer length calculation in InitializeGenericSF().

22 years ago- Improve traces.
Guy L. Albertelli [Wed, 10 Jul 2002 03:00:22 +0000 (03:00 +0000)] 
- Improve traces.
- Changed default column width to 128 to match native and make that
  the mimimum for LVS_SMALLICON and LVS_LIST styles.
- Corrected max value for LVS_LIST style scroll info.
- Issue our own ShowScrollBar like the native with proper test.
- Correct alignment when using LVS_ICON style.
- Correct FIXMEs for unimplemented styles.
- Correct rect size computation for LVS_LIST.
- Reset scroll bars when changing styles.
- Implement WM_WINDOWPOSCHANGED.

22 years agoImplement/document @17,18,19,20,21,22 (Compact list API).
Jon Griffiths [Tue, 9 Jul 2002 02:01:56 +0000 (02:01 +0000)] 
Implement/document @17,18,19,20,21,22 (Compact list API).

22 years agoSupport new registered extensions.
Lionel Ulmer [Tue, 9 Jul 2002 01:59:34 +0000 (01:59 +0000)] 
Support new registered extensions.

22 years ago_open_osfhandle: set at least the _IOREAD flag.
Uwe Bonnes [Tue, 9 Jul 2002 01:58:27 +0000 (01:58 +0000)] 
_open_osfhandle: set at least the _IOREAD flag.

22 years agoMake LockWindowUpdate return more Windows-like values.
Ryan Cumming [Tue, 9 Jul 2002 01:57:28 +0000 (01:57 +0000)] 
Make LockWindowUpdate return more Windows-like values.

22 years agoRemove .dll extension from module name, added wildcard support in
Alexandre Julliard [Mon, 8 Jul 2002 20:46:58 +0000 (20:46 +0000)] 
Remove .dll extension from module name, added wildcard support in
relay specifications (with the help of Dmitry Timoshkov).

22 years agoFixed lstrcpynA debug tracing.
Tommy Schultz Lassen [Mon, 8 Jul 2002 20:45:59 +0000 (20:45 +0000)] 
Fixed lstrcpynA debug tracing.

22 years agofgets, fgetws: don't treat the possible uninitialized buffers as valid
Uwe Bonnes [Mon, 8 Jul 2002 20:44:33 +0000 (20:44 +0000)] 
fgets, fgetws: don't treat the possible uninitialized buffers as valid
strings.

22 years agoMSVCRT_fread: expose feof flag.
Uwe Bonnes [Mon, 8 Jul 2002 20:44:09 +0000 (20:44 +0000)] 
MSVCRT_fread: expose feof flag.

22 years agoWindows registry not found should be a notice to the user, not a
Chris Morgan [Mon, 8 Jul 2002 20:43:21 +0000 (20:43 +0000)] 
Windows registry not found should be a notice to the user, not a
critical error.

22 years agoRemoved workaround for 16-bit loader bug.
Alexandre Julliard [Mon, 8 Jul 2002 19:44:53 +0000 (19:44 +0000)] 
Removed workaround for 16-bit loader bug.

22 years agoUse rich text edit control instead of handling user input and
Andriy Palamarchuk [Mon, 8 Jul 2002 19:41:09 +0000 (19:41 +0000)] 
Use rich text edit control instead of handling user input and
rendering on its own, use named constants instead of magic numbers,
cleaned code, implemented Undo functionality.

22 years ago- Always copy (almost) the whole stack space over to the 16bit stack
Andreas Mohr [Mon, 8 Jul 2002 19:40:29 +0000 (19:40 +0000)] 
- Always copy (almost) the whole stack space over to the 16bit stack
  instead of calculating some potentially bogus parameter count.
- Add some comments.

22 years agoFixed V_DECIMAL macro to reflect where the decVal member is actually
Gregg Mattinson [Mon, 8 Jul 2002 19:39:45 +0000 (19:39 +0000)] 
Fixed V_DECIMAL macro to reflect where the decVal member is actually
stored.

22 years agoAdded _U@YAPAXI@Z and _V@YAPAXI@Z.
Uwe Bonnes [Mon, 8 Jul 2002 19:39:18 +0000 (19:39 +0000)] 
Added _U@YAPAXI@Z and _V@YAPAXI@Z.

22 years agoMSVCRT_fseek: should return 0 on success.
Uwe Bonnes [Mon, 8 Jul 2002 19:39:01 +0000 (19:39 +0000)] 
MSVCRT_fseek: should return 0 on success.

22 years agoAdd richedit support for a plain text stream.
Duane Clark [Mon, 8 Jul 2002 19:37:18 +0000 (19:37 +0000)] 
Add richedit support for a plain text stream.

22 years agoAdded some environment variables documentation.
Andreas Mohr [Mon, 8 Jul 2002 19:36:51 +0000 (19:36 +0000)] 
Added some environment variables documentation.

22 years ago- VarFormat now supports VT_R8 and BYREF variant types.
Jason Edmeades [Mon, 8 Jul 2002 19:36:24 +0000 (19:36 +0000)] 
- VarFormat now supports VT_R8 and BYREF variant types.
- Add VarCyMulI4 support.

22 years agoFixed another PlaySound bug (when SND_LOOP is requested).
Eric Pouech [Mon, 8 Jul 2002 19:35:08 +0000 (19:35 +0000)] 
Fixed another PlaySound bug (when SND_LOOP is requested).

22 years agoFixed a few compilation warnings.
Eric Pouech [Mon, 8 Jul 2002 19:34:49 +0000 (19:34 +0000)] 
Fixed a few compilation warnings.

22 years agoSupport wglUseFontBitmapsA when using client-side rendering.
Lionel Ulmer [Mon, 8 Jul 2002 19:34:26 +0000 (19:34 +0000)] 
Support wglUseFontBitmapsA when using client-side rendering.

22 years agoNeed to import ntdll.
Steven Edwards [Fri, 5 Jul 2002 22:48:33 +0000 (22:48 +0000)] 
Need to import ntdll.

22 years agoModified WCMD_filesize64 to handle unsigned numbers.
Gregg Mattinson [Fri, 5 Jul 2002 22:47:56 +0000 (22:47 +0000)] 
Modified WCMD_filesize64 to handle unsigned numbers.

22 years agoMore explicit initialization of info_size for stupid compilers.
Alexandre Julliard [Fri, 5 Jul 2002 21:30:38 +0000 (21:30 +0000)] 
More explicit initialization of info_size for stupid compilers.

22 years agoUse Wine debugging API. Fixed MessageBox loop.
Alexandre Julliard [Fri, 5 Jul 2002 21:23:54 +0000 (21:23 +0000)] 
Use Wine debugging API. Fixed MessageBox loop.

22 years agoFlush stdio on exit.
Alexandre Julliard [Fri, 5 Jul 2002 21:23:07 +0000 (21:23 +0000)] 
Flush stdio on exit.

22 years agoFixed warnings.
Alexandre Julliard [Fri, 5 Jul 2002 21:22:32 +0000 (21:22 +0000)] 
Fixed warnings.

22 years ago- Forte C does not support nameless structures or unions
Gregg Mattinson [Fri, 5 Jul 2002 21:22:09 +0000 (21:22 +0000)] 
- Forte C does not support nameless structures or unions
- Implemented __builtin_return_address for Forte C on sparc
- Implemented DECL_GLOBAL_CONSTRUCTOR for non-386, non-GNU C
- Implemented WINE_DPRINTF to have function name with Forte C

22 years agoAdded a generic way of doing GetHGlobalFromILockBytes().
Marcus Meissner [Fri, 5 Jul 2002 21:19:55 +0000 (21:19 +0000)] 
Added a generic way of doing GetHGlobalFromILockBytes().

22 years ago- make sure even GUI users notice a "missing xmessage" problem by
Andreas Mohr [Fri, 5 Jul 2002 21:18:41 +0000 (21:18 +0000)] 
- make sure even GUI users notice a "missing xmessage" problem by
  checking for tons of X11 editors
- replace duplicated (3x) code with function launch_winesetup()
- improved "winesetup not found" error message
- break looping (via code 127) in case no xmessage installed
- stress the fact that people should remember that they can regain certain
  settings by deleting flag files
- spelling fixes

22 years agoImplemented FormatMessage for sparc. Since the va_list is stored in
Gregg Mattinson [Fri, 5 Jul 2002 21:17:43 +0000 (21:17 +0000)] 
Implemented FormatMessage for sparc.  Since the va_list is stored in
memory like __i386__, the same implementation should work.

22 years agoNo need to call GetModuleFileName16 now that GetModuleFileNameA
Alexandre Julliard [Fri, 5 Jul 2002 01:28:10 +0000 (01:28 +0000)] 
No need to call GetModuleFileName16 now that GetModuleFileNameA
handles 16-bit tasks.

22 years agoFixed GetModuleFileNameW return value.
Alexandre Julliard [Fri, 5 Jul 2002 01:27:19 +0000 (01:27 +0000)] 
Fixed GetModuleFileNameW return value.
Quiet dll loading error message.