S
Stewart Berman
We want to prevent another application from using GetObject to connect to
the instance of Access that our application is running it.
It is my understanding that it should be possible to do that by calling
RevokeActiveObject. The problem that I have is that RevokeActiveObject
requires the handle that was returned by the original call to
RegisterActiveObject.
Now the documentation for GetCurrentProcess says it will return a psuedo
handle for the current process that can be used anywhere a real handle is
needed. However, using the value returned by GetCurrentProcess as input to
RevokeActiveObject does not work.
How do I get the correct handle to call RevokeActiveObject with?
Or is there some other way to remove an instance of Access from the Running
Objects Table?
the instance of Access that our application is running it.
It is my understanding that it should be possible to do that by calling
RevokeActiveObject. The problem that I have is that RevokeActiveObject
requires the handle that was returned by the original call to
RegisterActiveObject.
Now the documentation for GetCurrentProcess says it will return a psuedo
handle for the current process that can be used anywhere a real handle is
needed. However, using the value returned by GetCurrentProcess as input to
RevokeActiveObject does not work.
How do I get the correct handle to call RevokeActiveObject with?
Or is there some other way to remove an instance of Access from the Running
Objects Table?