ID: 17136 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: COM related Operating System: windows 2000 PHP Version: 4.2.0 New Comment:
afaik you should use MSMQ.MSMQQueueInfo instead of MSMQ.MSMQMessage. anyways, this is not a php bug but a support question. please repost this on one of the support mailing lists (e.g. php-windows) or contact me directly per mail. Previous Comments: ------------------------------------------------------------------------ [2002-05-10 05:33:34] [EMAIL PROTECTED] the correct example is: $msmq = new COM("MSMQ.MSMQMessage") or die ("objkt message-queue nicht referenzierbar!"); $queue = ".\\PRIVATE\$\\SYNCHMQ"; # escaped $ sign echo $queue; $msmq->PathName = $queue; # pathname is not a function ------------------------------------------------------------------------ [2002-05-10 04:38:04] [EMAIL PROTECTED] i tried to create a com-object in order to use microsoft messages-queues (MSMQ): <? $msmq = new COM("MSMQ.MSMQMessage") or die ("error: MSMQ.MSMQMessage"); $msmq->PathName (".\\PRIVATE$\\SYNCHMQ"); ?> unfortunatly this example cause a error-message: "Warning: Unable to lookup pathname" other tests with com() are working (e.g. starting word). frank ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17136&edit=1