Newsgroups : Borland : borland.public.delphi.rtl.win32 : 2006 Dec : COM Automation EXE won't launch on Vista
| Subject: | COM Automation EXE won't launch on Vista |
| Posted by: | "Mike Leftwich" (michael underscore leftwich at intuit dot com) |
| Date: | Fri, 29 Dec 2006 20:09:52 |
Just starting to test with Vista, and immediately ran into a problem. I
have a COM automation EXE, and when it tries to launch it's getting an
EOleSysError with the message, "Error accessing the OLE registry". The
exception is being raised in RegisterTypeLibrary in the ComServe unit. From
the call stack it appears that TApplication.Initialize calls InitComServer,
which in turn calls TComServer.Initialize, which calls
TComServer.UpdateRegistry, which calls RegisterTypeLibrary.
I know that registry access is different in Vista, but I'm running under an
administrator account so I would think it would have access to the registry.
Has anyone run into this?
Thanks in advance.
Mike Leftwich