Bug #17136 Updated: com and messages queue

From: Date: Thu, 30 May 2002 23:38:04 +0000
Subject: Bug #17136 Updated: com and messages queue
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-8964@lists.php.net to get a copy of this message
ID: 17136 Updated by: phanto@php.net Reported By: fd@silversolutions.de -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] fd@silversolutions.de 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] fd@silversolutions.de 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

« previous php.bugs (#8964) next »