|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-05-10 04:38 UTC] fd at silversolutions dot 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
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 10:00:01 2025 UTC |
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