There are likely to be other issues besides that for something as old as D5 on Win 7 unfortunately... I did some work a couple years ago when Vista came out. At the time I had to use D7 even though Borlad categorically stated that D7 wasn't supported on Vista. It turned out it could be made to work but required quite a bit of coaxing. Unfortunately I can't remember details but there were amongst other things, problems with folder permissions/where stuff was being written by default (as you know Vista and now Win 7 is a lot less forgiving about apps wanting to write in program folders and such.) There were also issues with some BDE functions, which translated into some aspects/methods of some components needing to be avoided or worked around on e.g. TDatabase component etc. (IIRC some Win32 calls would fail on Vista due to the more restrictive user rights which would ultimately cause access violations as such failures were not expected by the BDE or the VCL components in question.)
Anyway, as I say, it's a while ago, but if you're going to do it I'd suggest at least getting D7, and even then you're going to need some patience and be prepared for some low(er) level sleuthing to figure out what is failing and where. At the risk of stating the obvious, the "proper" fix would be to get something that actually supports Vista or D7 of course. Best of luck, Walter [Non-text portions of this message have been removed]

