home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / os2 / programm / 3843 < prev    next >
Encoding:
Internet Message Format  |  1992-07-28  |  2.0 KB

  1. Path: sparky!uunet!paladin.american.edu!darwin.sura.net!jvnc.net!rutgers!njitgw.njit.edu!hertz.njit.edu!dic5340
  2. From: dic5340@hertz.njit.edu (David Charlap)
  3. Newsgroups: comp.os.os2.programmer
  4. Subject: Re: OS/2 Resources - Control Window Definition
  5. Keywords: OS/2
  6. Message-ID: <1992Jul28.174751.27986@njitgw.njit.edu>
  7. Date: 28 Jul 92 17:47:51 GMT
  8. References: <10930@platypus.uofs.uofs.edu>
  9. Sender: news@njit.edu
  10. Organization: New Jersey Institute of Technology, Newark, N.J.
  11. Lines: 32
  12. Nntp-Posting-Host: hertz.njit.edu
  13.  
  14. In article <10930@platypus.uofs.uofs.edu> littlec1@jaguar.uofs.edu writes:
  15. >
  16. >    problem : i want to allow a user to change the position of
  17. >          controls on the screen.  in fact, i want to create
  18. >          a dialog box editor-like application that will allow
  19. >          a user to customize the interface.  instead of saving
  20. >          the changes to a .RES file, i want to make the changes
  21. >          directly to the .EXE.  under the macintosh environment,
  22. >          api's are provided for this type of functionality.
  23. >          are there equivalents in os/2?  if these functions do
  24. >          not exist, is the format of the .EXE defined well
  25. >          enough that i can make the changes by writing directly
  26. >          to the .EXE?
  27.  
  28. You mean like Whitewater Resource Toolkit does for Windows code,
  29. right?
  30.  
  31. I can't give details, since this is unfamiliar, but a simple way might
  32. be to generate a .RC file and then execute rc.exe to patch the
  33. resources into the executable.  There exists a shareware program
  34. called dentist.exe which can extract resources from OS/2 executables
  35. and DLLs.  You can download dentist from ftp-os2.nmsu.edu.  Look in
  36. the pub/os2/1.x/programming directory.  I noticed that it is
  37. classified as a 1.x program and not as an "all" program, so I don't
  38. know how it'll work with 2.0 (I haven't used it under 2.0 yet), but I
  39. see no reason why it should fail.
  40.  
  41. -- 
  42.    |)  David Charlap           "I don't even represent myself
  43.   /|_  dic5340@hertz.njit.edu   sometimes so NJIT is right out!.
  44.  ((|,)
  45.   ~|~  Hi! I am a .signature virus, copy me into your .signature file.
  46.