Re: working with COM objects

2011-09-03 Thread Dave Watts
I have the main methods, which I know how to call and what attributes to pass, but that's it. I have use oleview, but that also is not telling me much more. interface _Export : IDispatch {        [id(0x6003)] HRESULT _stdcall GetCustomerDomains(...);        [id(0x60030001)] HRESULT

Re: working with COM objects

2011-09-03 Thread Russ Michaels
yes I can call these 3 methods just fine as I said, but I don't seem to get any data back, or I just don;t know how to access it or output it as I can't cfdump it or loop over it. It is a custom COM that extracts data from our hosting control panel, so no you can;t download it from anywhere. On

Re: working with COM objects

2011-09-03 Thread Dave Watts
yes I can call these 3 methods just fine as I said, but I don't seem to get any data back, or I just don;t know how to access it or output it as I can't cfdump it or loop over it. Can you output this? yourObjInstance.GetUsers().xml Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/

Re: working with COM objects

2011-09-03 Thread Russ Michaels
ah Dave u da man, that put me on the right track This got me what I needed users = obj.getUsers(params) cfoutput#users.xml#/cfoutput cheers dude On Sat, Sep 3, 2011 at 7:23 PM, Dave Watts dwa...@figleaf.com wrote: yes I can call these 3 methods just fine as I said, but I don't seem to

Re: working with COM objects

2011-09-03 Thread Russ Michaels
oh dear, having just looked back at the interface definition, I can see it is quite obvious now [out, retval] IXMLDOMDocument2** sometimes can;t see the wood for the trees eh :-) On Sat, Sep 3, 2011 at 10:57 PM, Russ Michaels r...@michaels.me.uk wrote: ah Dave u da man, that put me on the

Re: working with COM objects

2011-09-03 Thread Dave Watts
oh dear, having just looked back at the interface definition, I can see it is quite obvious now  [out, retval] IXMLDOMDocument2** sometimes can;t see the wood for the trees eh :-) I had to look up the properties for that data type, so I'd have run into the same problem. Dave Watts, CTO,

working with COM objects

2011-09-02 Thread Russ Michaels
I have a COM object I am calling with cfobject, that works fine, no errors. however I don't seem to get any data back from it, I am expecting XML, but if I cfdump the result it just seems to be an empty object. getmetaData(object) also doesn't show me anything useful, just a bunch of default java

Re: working with COM objects

2011-09-02 Thread Dave Watts
I have a COM object I am calling with cfobject, that works fine, no errors. however I don't seem to get any data back from it, I am expecting XML, but if I cfdump the result it just seems to be an empty object. getmetaData(object) also doesn't show me anything useful, just a bunch of default

Re: working with COM objects

2011-09-02 Thread Russ Michaels
I have the main methods, which I know how to call and what attributes to pass, but that's it. I have use oleview, but that also is not telling me much more. interface _Export : IDispatch { [id(0x6003)] HRESULT _stdcall GetCustomerDomains( [in] BSTR Username,