home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.programmer
- Path: sparky!uunet!caen!jwh
- From: jwh@citi.umich.edu (Jim Howe)
- Subject: Re: OS/2 Resources - Control Window Definition
- Message-ID: <wFV-+m@engin.umich.edu>
- Date: Tue, 28 Jul 92 14:54:03 EDT
- Organization: IFS Project, University of Michigan
- References: <10930@platypus.uofs.uofs.edu> <1992Jul28.174751.27986@njitgw.njit.edu>
- Reply-To: jwh@citi.umich.edu
- Keywords: OS/2
- Nntp-Posting-Host: tarkus.citi.umich.edu
- Lines: 46
-
- In article <1992Jul28.174751.27986@njitgw.njit.edu>, dic5340@hertz.njit.edu (David Charlap) writes:
- |> In article <10930@platypus.uofs.uofs.edu> littlec1@jaguar.uofs.edu writes:
- |> >
- |> > problem : i want to allow a user to change the position of
- |> > controls on the screen. in fact, i want to create
- |> > a dialog box editor-like application that will allow
- |> > a user to customize the interface. instead of saving
- |> > the changes to a .RES file, i want to make the changes
- |> > directly to the .EXE. under the macintosh environment,
- |> > api's are provided for this type of functionality.
- |> > are there equivalents in os/2? if these functions do
- |> > not exist, is the format of the .EXE defined well
- |> > enough that i can make the changes by writing directly
- |> > to the .EXE?
- |>
- |> You mean like Whitewater Resource Toolkit does for Windows code,
- |> right?
- |>
- |> I can't give details, since this is unfamiliar, but a simple way might
- |> be to generate a .RC file and then execute rc.exe to patch the
- |> resources into the executable. There exists a shareware program
- |> called dentist.exe which can extract resources from OS/2 executables
- |> and DLLs. You can download dentist from ftp-os2.nmsu.edu. Look in
- |> the pub/os2/1.x/programming directory. I noticed that it is
- |> classified as a 1.x program and not as an "all" program, so I don't
- |> know how it'll work with 2.0 (I haven't used it under 2.0 yet), but I
- |> see no reason why it should fail.
- |>
-
- There is also another commercial program called EXE Tool which is a
- PM based EXE/DLL editor/viewer. The current version works for 1.x
- executables but a 2.0 version is in the works. In the current version
- you can open the resource table, view resources, cut/paste resources
- etc. If you want to add a dialog to an EXE or DLL file, for example,
- you can use the Dialog Editor to create a dialog, copy the dialog
- to the clipboard and then use EXE Tool to paste the dialog into
- a DLL or EXE file. If you have access to CompuServe there is a
- file in the Digitalk Forum (Library 3) called exeinf.exe which is
- a self extracting archive which contains the online documentation
- for EXE Tool. This documentation is readable with the View command.
-
- BTW, I'm the author of EXE Tool.
-
-
- James W. Howe internet: jwh@citi.umich.edu
- Ann Arbor, MI 48103-4943
-