Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Win32 COM ENUM members--how?

Status
Not open for further replies.

ETasse

Programmer
Jan 10, 2002
17
0
0
CA
Trying to get at the ENUM constants of a particular COM object (MQSeries Automation Classes for ActiveX). In the following example, I've had to define
Code:
$MQOO_BROWSE
Code:
$MQOO_FAIL_IF_QUIESCING
as local variables, even though they are available as ENUM members in Visual Basic.
Code:
$comMQ = new COM("MQAX200.MQSession") or die("Cannot start COM MQAX200.MQSession");
$comMQM = $comMQ->AccessQueueManager($queuemanager);
$comMQQ = $comMQM->AccessQueue( $queuename, $MQOO_BROWSE | $MQOO_FAIL_IF_QUIESCING);
Q: How do I get to those Enum variables inside my COM object.
Code:
void com_isenum(object com_module)
is undocumented and doesn't seem to do much.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top