Does run 7.0.3 also under Vista? If the program is compiled (delphi 5) everything works fine except the End User Designer. The same program running with XP or Win2K without any problems.
Vista is very very different from XP or Win2k. Do not expect older programs to run correctly on Vista. We are using Vista here - it has a different security model, it is buggy and it provides poor backward compatibility for running older apps. At a minimum you are going to need to configure the app to run with administrator priviliges.
Delphi 2007 contains VCL enhancements designed to provide Vista support and RB leverages those. But there is still more work to be done and going forward we are working towards providing better Vista compatibility.
-- Nard Moseley Digital Metaphors www.digital-metaphors.com
Best regards,
Nard Moseley Digital Metaphors www.digital-metaphors.com
We are running on vista with rb 6.03 and Delphi 5 with no problems. However, you must understand the Vista security model to make your app function properly.
Vista implements UAC security by default. Under UAC all programs are started with user rights of a standard user. Standard users cannot create/delete files under program files and they are restricted from creating/deleting files in many other areas on the hard drive. So - programs thar attempt to do this run into problems. A) Virtualization kicks in - this is a new "feature" of vista where vista protects the private areas of the disk by creating a virtual copy of that part of the disk and re-routing the write to the virtual area - thus preserving the original part of the disk and its data - then Vista tries to make the program run off the virtual files. However - virtualization is buggy and often results in the appearance that the files have been rolled back to their installed state. If virtualization is turned off - then the app may fail without administrator privaledges.
There are several solutions as follows:
1) The recommended solution is to have the program write all data (temp files, database files, user defined data, etc) to areas of the hard drive that a standard user has complete access to. There are a set of functions which will return these folders in all versions of windows. A) You can use the all users area of the disk You can create a shared folder off the root of the disk and store data there
2) You can add a manifest to your application ( search the newsgroups for info on how to do this) and you can specify that your app is to run with administrator privaledges. If the user is an admin user this will occur. If not, then the user will be prompted for an administrator account/password. This is a brute force approach - I dont recommend this
3) You can turn off the UAC Security and Vista will function much like XP. I dont recommend this either. To do this run MSConfig, then select one of the tabs which will allow you to turn off the UAC Security.
We have implemented solution number 1 - we simply configure data to be stored where standard users have full disk modification provaledges.
If you need further help - let me know - Ill do what I can.
Comments
Vista is very very different from XP or Win2k. Do not expect older programs
to run correctly on Vista. We are using Vista here - it has a different
security model, it is buggy and it provides poor backward compatibility for
running older apps. At a minimum you are going to need to configure the app
to run with administrator priviliges.
Delphi 2007 contains VCL enhancements designed to provide Vista support and
RB leverages those. But there is still more work to be done and going
forward we are working towards providing better Vista compatibility.
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
you must understand the Vista security model to make your app function
properly.
Vista implements UAC security by default. Under UAC all programs are started
with user rights of a standard user. Standard users cannot create/delete
files under program files and they are restricted from creating/deleting
files in many other areas on the hard drive. So - programs thar attempt to
do this run into problems.
A) Virtualization kicks in - this is a new "feature" of vista where
vista protects the private areas of the disk by creating a virtual copy of
that part of the disk and re-routing the write to the virtual area - thus
preserving the original part of the disk and its data - then Vista tries to
make the program run off the virtual files. However - virtualization is
buggy and often results in the appearance that the files have been rolled
back to their installed state.
If virtualization is turned off - then the app may fail without
administrator privaledges.
There are several solutions as follows:
1) The recommended solution is to have the program write all data (temp
files, database files, user defined data, etc) to areas of the hard drive
that a standard user has complete access to. There are a set of functions
which will return these folders in all versions of windows.
A) You can use the all users area of the disk
You can create a shared folder off the root of the disk and store
data there
2) You can add a manifest to your application ( search the newsgroups
for info on how to do this) and you can specify that your app is to run with
administrator privaledges. If the user is an admin user this will occur. If
not, then the user will be prompted for an administrator account/password.
This is a brute force approach - I dont recommend this
3) You can turn off the UAC Security and Vista will function much like
XP. I dont recommend this either. To do this run MSConfig, then select one
of the tabs which will allow you to turn off the UAC Security.
We have implemented solution number 1 - we simply configure data to be
stored where standard users have full disk modification provaledges.
If you need further help - let me know - Ill do what I can.
Neil