March 12th, 2013, 08:39 PM
PHP and MSMQ
My success rate with DOTNET and COM is abysmal; very few things seem to work properly.
Currently, I want to perform fairly detailed monitoring of WMI message queues with our PHP web site without introducing additional languages.
I can't even get to first base with this:
I also tried the other assembly on the server to no avail:
$SystemMessagingQueue = new DOTNET( "System.Messaging, Version=184.108.40.206, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL", "System.Messaging.MessageQueue" );
$SystemMessagingQueue = new DOTNET( "System Messaging, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.Messaging.MessageQueue" );
MSMQ is installed and running on the server, and I can access the message queues with PowerShell.
"Failed to instantiate .Net object [Unwrapped, QI for IDispatch] [0x80004002] No such interface supported.
I am able to use DOTNET to access WSUS (somewhat), and a few other .NET dlls, but I can't seem to find anyone else doing this. Have I wandered out-of-bounds?