I had a number of problems in porting my apps to Vista.

1) Help files for all applications had to be translated to HTML 
(.chm) format, since Vista doesn't support the old (.hlp) format 
without problems even when the updated version is downloaded and 
installed by the user.

2) Rights have to be set correctly by the installation program on the 
installation directory if anything is to be written there by 
non-administrative users.

3) Nothing must touch anything but the Current_User key in the 
registry except at installation time by a user with administrative rights.

4) Ini files must only be created and written to on directories to 
which a non-administrative user has appropriate rights. Nothing can 
be written to the Windows directory and to the partition on which it 
resides without Vista either objecting or blocking the write.

The ($SETPEFLAGS $20} option for addressing more than 2GB memory in 
the .dpr under D7   caused a crash under Vista if the physical 
address space is greater than 2GB.

Vista x64 has it's own problems, primarily if pointers are typecast 
to integer and the machine has more than 2GB of physical memory. 
Cardinals had to be used instead for pointer arithmetic. But this 
applied to XP x64 too.

There are lots more, but those were the main changes I had to make in 
my apps in Delphi 7.  I didn't attempt to get Delphi 7 itself running 
under Vista.  If anyone has any experience with that, please describe 
your experience, especially if you used MS's KB932246 two 
compatibility routines for x32 and x64 Vista systems.

Irwin Scollar

_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to