Tweak old delphi exe to work with Win7 (window size issue)

How to set up an old exphi exe to run on Win7, no source codes but luckily only one small GUI issue:

The size of the main window is fixed too narrow, and now the text in the control does not fit the screen. adjusting compatibility options doesn't help at all.

+2


source to share


3 answers


The app is probably configured for a standard font size and you are using a larger font size. A screen effect would be helpful. Anyway, usually the size of the window is in the application resource, but depends on how the application was written. You can use the resource tool to directly modify the resource in the exe file (not easy to find the exact shape). Once you have the source code, the application can be edited and recompiled ...



+3


source


A good resource editor that works with old Delphi applications, Resource hacker . I believe it has a few problems with forms that use frames, but other than that it's worth a try. You should be able to export the DFM from the executable file, adjust the size and replace the old one with the new one using this utility.



+3


source


Presumably the form uses standard fonts by default, but they seem to be larger on Windows Vista / 7 than on XP. Since the developer of the application seems to have adjusted the size of the form to just fit the controls for the XP default font size, I guess you will have no choice but to

  • try to access the source code
  • try changing the system default font to what was used in XP
+1


source







All Articles