Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create Type from Weird External COM Object ?
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00690044
Message ID:
00690355
Views:
11
This message has been marked as the solution to the initial question of the thread.
I do not have MSMQ installed, but I suppose this should work for you:
 Local oTrigSet as MSMQTriggerObjects.MSMQTriggerSet
  oTrigSet = CreateObject("MSMQTriggerObjects.MSMQTriggerSet")
  oTrigSet.Init(%your-computername-here%)
  oTrigSet.Refresh()

  Local 	;
   iCnt as Integer , ;
   psTriggerName as String , ;
   psQueueName as String , ;
   psSystemQueue as String , ;
   pSystemQueue as Object , ;      && I think the problem is here
   pINumberOfRules as Number , ;
   pIEnabledStatus as Number , ;
   pISerialized as Number

   psTriggerName = []
   psQueueName = []
   psSystemQueue = []
   pSystemQueue = .null.
   pINumberOfRules = 0
   pIEnabledStatus = 0
   pISerialized = 0

  arIt = oTrigSet.GetTriggerDetailsByID( ;
   "fb1e644d-6ea0-40ce-aa29-ada8b0868921" ;  && This exists, I dug it from the Registry
   , @psTriggerName ; 
   , @psQueueName ; 
   , @pSystemQueue ;
   , @pINumberOfRules ; 
   , @pIEnabledStatus ;
   , @PISerialized ;
  )
HTH
Zlatin Zlatev,
MCSD (VS6)

Make solutions, not programs!

Previous
Next
Reply
Map
View

Click here to load this message in the networking platform