home *** CD-ROM | disk | FTP | other *** search
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- Path: sparky!uunet!uvaarpa!darwin.sura.net!paladin.american.edu!auvm!TRHUN.BITNET!B_FERHAT
- Message-ID: <WIN3-L%93012608540779@UICVM.CC.UIC.EDU>
- Newsgroups: bit.listserv.win3-l
- Date: Tue, 26 Jan 1993 08:54:08 -0600
- Sender: Microsoft Windows Version 3 Forum <WIN3-L@UICVM.BITNET>
- From: B_FERHAT@TRHUN.BITNET
- Subject: Egghunt.
- Lines: 43
-
- I don't know if anybody else has done it before but here is something
- I fished out of Windows. So, if you have the RC resource compiler and
- some tool like WRT that can extract resources from an executable, keep
- those eyes open. You will also need WINDOWS.H (if you are not
- masochistic, that is).
-
- Step 1: look in your system.ini and identify your display driver.
-
- Step 2: copy that driver to an .EXE file (it is an executable with
- a .DRV extension anyway).
-
- Step 3: launch WRT and load that .EXE.
-
- Step 4: copy all resources to a separate .RES file and edit that .RES
- file. (I have tried editing the .EXE files resources directly, bypassing
- Step 6. WRT corrupts the .EXE file. If anybody can do it with WRT or
- other application, drop me a line)
-
- Step 5: the numbers for bitmaps, icons and cursors are defined in
- WINDOWS.H, eg. OBM_* for bitmaps. To change the system menu buttons,
- for example, find OBM_CLOSE. The number next to it is 32754. Edit the
- bitmap resource 32754. (Mine are now 3D).
-
- Step 6: run RC with RC -r <.RES file> <.EXE file> to install your
- new resources into the display driver.
- *!!! While running RC you may get warnings about some segment's
- *!!! attributes. Merely disregard them, they cause nothing...
-
- Step 7: copy the .EXE file onto .DRV file and restart Windows.
-
- To backup the driver before the last step is a good idea, though I
- have done this a lot of times and nothing bad happened. Just in case,
- I have always been mildly paranoid...
-
- If anybody will use this method to install in a X-Windows look, don't
- bother, just drop me a line. I am working on NeXt, too...
-
- And I know it's way past Easter...
-
- b_ferhat@trhun aka Ferhat Savci (BSc. Computer Science)
-
- Time is nature's way of making sure that everything doesn't happen
- at once.
-