[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.interop

Marshal.GetActiveObject on Vista

FLO

9/4/2007 9:49:00 AM

I use Marshal.GetActiveObject() to connect to a running instance of a
COM-Application.

Problem is under Vista with UAC enabled, it won't find any processes.
Even if I run my Application "as Administrator".

If I start the application myself (Process.run...) I get the process
with Marshal.GetActiveObject(), but not when it has not been started by
my appliaction.

Suppose it can be solved by using PermissionAttributes and by changing
the elevation level of the program.
But just cannot find anything on the web, what I have to set and
configure to make it work.

Florian