6abb89c3b2
Thu Mar 2 17:44:32 1995 Alexandre Julliard (julliard@sunsite.unc.edu) * [loader/resource.c] [objects/oembitmap.c] Removed sysres bitmap code; you need libXpm to compile now. Implemented LoadIcon() for OEM icons. * [include/bitmaps/oic_*] Added OEM icons in XPM format. * [objects/dib.c] Bug fix in DrawIcon(). * [rc/sysresbm.rc] Removed; all bitmaps are stored in XPM format now. Tue Feb 28 18:54:28 1995 Tomi Leppikangas (tomilepp@paju.oulu.fi) * [controls/edit.c] Small patch to fix edit-control when it's created with text. Sun Feb 26 20:22:15 1995 Michael Veksler (e1678223@tochnapc2.technion.ac.il) * [tools/make_debug] The created macros won't have side effects anymore when used in an "if-else" structure. No more warnings from the compiler when compiled without defining DEBUG_RUNTIME. Sun Feb 26 20:20:49 1995 Michael Patra <micky@marie.physik.TU-Berlin.DE> * [controls/listbox.c] ListBoxDeleteString(): Fixed * [loader/selector.c] GetMemoryReference(): When special segments are referenced by pseudo-functions like __0040H, a reference to a "normal" segment will be returned preventing the program from crashing as soon as the referenced segment is actually accessed. Sun Feb 26 15:55:14 MET 1995 Martin von Loewis (loewis@informatik.hu-berlin.de) * [Configure] Ask for OLE stubs and malloc debugging * [Imakefile] link with libmcheck.a if necessary * [if1632/relay.c][include/dll.h][if1632/Imakefile] Add OLE stubs, increase number of builtins dll_name_table_entry_s: new field dll_is_used * [loader/library.c] GetModuleHandle,ModuleNext: Check dll_is_used * [loader/ne_image.c] Bark on unsupported NE_RADDR_LOWBYTE flag (what is it supposed to mean, anyway?) * [misc/olecli.c][misc/olesvr.c] New files. Add to misc/Imakefile * [misc/dos_fs.c] DOS_GetUnixFileName: make a copy of the input parameter to prevent overwriting * [misc/main.c] MAIN_ParseDLLOptions: new function MAIN_ParseOptions: treat -dll command line flag main: add support for malloc debugging Fri Feb 24 12:43:27 1995 Erik Svendsen <z3esv@kmd-ac.dk> * [loader/signal.c] Small patch for people using FreeBSD-2.1.0. Fri Feb 17 22:49:18 1995 Miguel de Icaza (miguel@roxanne.nuclecu.unam.mx) * [toolkit/sup.c] Added return values to the Call* routines * [toolkit/winmain.c] Load the resource file properly for WineLib applications. |
||
---|---|---|
.. | ||
ChangeLog | ||
Imakefile | ||
README | ||
README.sysres | ||
TODO | ||
parser.h | ||
parser.l | ||
parser.y | ||
rc.h | ||
rc.l | ||
rc.y | ||
sysres.rc | ||
sysres_De.rc | ||
sysres_No.rc | ||
systest.c | ||
winelogo.bmp | ||
winerc.c |
README
This is winerc, the resource compiler for the Wine project. It takes the same input as rc.exe, but generates C files as output. These C files can be linked together with the application, which can access the resource data directly instead of using FindResource/LoadResource/LockResource. The generated C code contains arrays, which represent the resource as if it was obtained from LoadResource. A table to map resource names to pointers is also available. Primary applications are the resources of sysres.dll and a future commdlg.dll, but the use in the library version is possible as well. The expected advantage of using winerc over sysres.dll is a speed improvement, however, actual data to support that claim are not available. The use of winerc might also simplifies the source code. For example, the system menu is managed in the function CopySysMenu (controls/menu.c). A winerc-based implementation would just call return LoadMenuIndirect(_Sysres_SYSMENU); As the resources are already in the Wine image, they are loaded on demand as any other part of a Unix executable image. Current State This is the first release of winerc. It is alpha software, as the rest of Wine is. If you use it for replacing sysres.dll, or if you write other parts of Wine which require resource (like commdlg), you will probably notice a loss in stability. This is especially true for cursor and icon resources, as they are unlikely to work at all. See the TODO file for details. Copying The license for Wine applies for winerc as well. Read the files LICENSE and WARRANTY in the current or any future distribution for details. You can change any source files, and you can add your own copyright notice, as long as you leave the existing copyrights intact. Bug Reports and Fixes If you find a bug in winerc, you can report it to me, martin@cs.csufresno.edu (Martin von Loewis) or to comp.emulators.ms-windows.wine. If you can fix the bug, send the diffs & ChangeLog to wine-new@amscons.com (Bob Amstadt), or send it to me, and I will collect the fixes and forward them to wine-news.