regards,
Jonathan
Sorry, i havn't tried this,
but get() returns an array
MsgUnit[]
and not
MsgUnit
The only example for ActiveX i have driven to the end was
VisualBasic.net, there the solution was simple:
' Get synchronous the above message
Dim getMsgArr As Object()
getMsgArr = xmlBlaster.get("<key oid='HelloWorld3'/>", "<qos/>")
Dim msg As Object
For Each msg In getMsgArr
Console.WriteLine("Get returned:" & msg.toXml())
Next
As this is an ActiveX mapping issue some
Microsoft .net practitioner could know the answer ...
regards
Marcel
Jonathan Lee wrote:
Hi,
Anyone out there using xmlBlaster managed to get it working with C#
or .NET? I'm not sure if I got it right, but when I tried to call the
'get' function, it suppose to return MsgUnit object. Under the .NET,
it returns an Object instead and I can't cast it to 'MsgUnit' .
(e.g. public abstract new System.Object get ( System.String arg0 ,
System.String arg1 )
Member of XmlScriptAccess.XmlScriptAccessDispatch)
Any solutions on extracting the message information? Thanks!
regards,
Jonathan
--
http://www.xmlBlaster.org
_________________________________________________________________
Get MSN Hotmail alerts on your mobile.
http://mobile.msn.com/ac.aspx?cid=uuhp_hotmail