Q
Quadrillerator
Guest
I'm doing a lot of COM programming in PHP (on the desktop with CLI PHP, no networking/internet involved) including event handlers, and this is usually fine.
However, in a certain instance, when the COM object is supposed to be filled in on the DocumentComplete(&$frame, $url) event handler of IE, I find the object (a frame element; in other words, a window object) inaccessible (unless it is the topmost window). The corresponding code works in VB.
I'm ignorant of how permission settings work in Win XP (I'm an admin, and the only user), so I thought maybe I could query the COM object to find out its permissions (in order to compare against the corresponding VB object).
The other thought I had was to relax the security settings (via DCOM right?) of PHP to such an extent that I always get back a viable COM object. However, I could not figure out how to make such setting changes with DCOMCNFG.
Perhaps someone can get me started on the path to either of these two goals. I'm happy to provide more details.
However, in a certain instance, when the COM object is supposed to be filled in on the DocumentComplete(&$frame, $url) event handler of IE, I find the object (a frame element; in other words, a window object) inaccessible (unless it is the topmost window). The corresponding code works in VB.
I'm ignorant of how permission settings work in Win XP (I'm an admin, and the only user), so I thought maybe I could query the COM object to find out its permissions (in order to compare against the corresponding VB object).
The other thought I had was to relax the security settings (via DCOM right?) of PHP to such an extent that I always get back a viable COM object. However, I could not figure out how to make such setting changes with DCOMCNFG.
Perhaps someone can get me started on the path to either of these two goals. I'm happy to provide more details.