Microsoft Layer for Unicode (or MSLU) is a software library for Windows software developers to simplify creating Unicode-aware applications for Windows 95, Windows 98, or Windows Me. It is also known as UnicoWS (Unicode for Windows 95/98/Me Systems) or UNICOWS.DLL, or even 'cows'.
Does anyone know where I can get a Win 98 icons.dll? I dont know much about this subreddit so cut me some slack please.Basically what I'm trying to do is turn windows 7 into windows 98. So far I've made the OS look like windows 98 from the boot menu to the desktop to the system sounds, but I can't find an icon.dll. Windows 98 Icons - Download 311 Free Windows 98 icons @ IconArchive. Search more than 600,000 icons for Web & Desktop here. On a typical installation of Windows 95, 98, 98SE and ME DLL files are usually located in the C: WINDOWS or C: WINDOWS SYSTEM folders. In Windows based on NT technology DLL files can usually be found in C: WINNT or C: PROGRAM FILES folders.
Microsoft describes it as providing 'a layer over the Win32 API on Windows 95/98/Me so that you can write a single Unicode version of your application and have it run properly on all platforms.'[1] Previously, software developers had to either provide two separate versions of an application, or perform complex string translations and API decisions at runtime.
Availability[edit]
The MSLU was announced in March 2001, and first available in the July 2001 edition of Microsoft's Platform SDK, which is arguably long after the peak popularity[contradictory] of Windows 95/98/Me.[citation needed]
It had a codename of Godot, which is a reference to the play Waiting for Godot (centered around the failure of a man named 'Godot' to appear and the endless wait for him), because it was felt to be long overdue.[2]
How it works[edit]
Normally, the Windows API provides both A (ANSI) and W (wide-character) versions of most functions. On Windows 95/98/Me, only the A versions are implemented and attempting to call a W version will fail with an error code that indicates that the function is unimplemented. On the Windows NT line of operating systems, both the A and W versions are implemented (however, the operating system generally only internally implements the W version natively, and the A version is usually a translation thunk to the W version).
By adding the UNICOWS.LIB to the link command-line before KERNEL32.LIB, ADVAPI32.LIB, or any other supported Win32 system link library, the linker will resolve referenced symbols with the one provided by UNICOWS.LIB instead.
When a wide-character function is called for the first time at runtime, the function stub in UNICOWS.LIB first receives control and checks if it is running on a Windows 95/98/Me system:
- If so, it dynamically loads UNICOWS.DLL (if it hasn't been loaded yet) and passes control to the corresponding thunking stub in there. The thunking stub translates the wide-character arguments into ANSI strings and then invokes the native A version from the OS, and then translates any returned strings back into wide-character format.
- If the OS natively supports the W version (i.e. the Windows NT line of operating systems), then the function stub updates the in-memory import table so that future calls will directly invoke the native W version without any more overhead.
Because of this technique, when an application is linked against MSLU, only Windows 95/98/Me systems will need the UNICOWS.DLL at runtime, and on all other versions of Windows there is only a slight performance penalty for the first function call.
A common problem encountered occurs when some updaters and uninstallers rename or delete the file OLEDLG.DLL, preventing the operating system from loading UNICOWS.DLL. This results in applications, such as OpenOffice.org, reporting that 'Application cannot start because one of the required libraries cannot be found.' This occurs even if UNICOWS.DLL is installed in the system.
References[edit]
- ^'The Microsoft Layer for Unicode on Windows 95/98/Me Systems'. Global Development and Computing Portal. Microsoft. Archived from the original on April 16, 2003. Retrieved April 25, 2019.
- ^Kaplan, Michael S. (February 12, 2005). 'Why/how MSLU came to be, and more'. Sorting it all Out V.. 2!. Archived from the original on June 25, 2014. Retrieved April 25, 2019.
External links[edit]
Microsoft[edit]
- Known bugs in each released MSLU version — maintained by an employee of Microsoft who is the principal developer for MSLU.
Open source alternatives[edit]
- libunicows — provides an MIT-licensed version of only the UNICOWS.LIB link-library, but still requires the Microsoft-provided UNICOWS.DLL or the Mozilla OPENCOW.DLL.
- opencow (previously MZLU) — reimplements both the DLL and LIB link-library as MPL 1.1/GPL 2.0/LGPL 2.1, originally for the Mozilla project.