Folks,

I have an EXE which contains out-of-process COM components. The EXE is
stored on a network drive and executed as part of a login script. If the EXE
is first executed by a user without local administrator privileges, the
program will terminate abnormally as it tries to update the COM registration
details (this happens automatically in InitComServer as part of the
application initialization routine over which I have no control). When the
EXE has first been run by an administrator, it can then be run by a user
with reduced privileges with no problem.

Now I have an issue where on a particular machine, when the administrator
runs the program and then another user subsequently runs the program it
works. However the user's profile is a roaming profile and when they return
to the machine after it has been rebooted, they can no longer run the
program again. It is like the registration entries have been removed.

During searching today I have found notes where people have indicated that
running out-of-process COM EXE's on Vista will simply not run because of the
new security of that OS. I also found information on a memory patch to
ComServ (called ComServTweak) that someone had written and posted to a
Delphi attachments newsgroup, but I can not find the message with his
example there.

Can anyone help with with COM registration concerning EXE's please. I am
pulling my hair out with this damned security.

Many thanks in advance,
Darren



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

Reply via email to