Hi all,
I have an ActiveX exe running as my server and a standard exe as my client. I have setup a standard callback between the two (copied from the Coffee2 example in msdn).
My callback is defined as follows in an ActiveX dll (the interface definition)
In my client (which is receiving this document) I append the document to a local copy using the following code:Code:Public Sub StationSoftwareEvent(ByVal stationMsg As FreeThreadedDOMDocument) End Sub
Where mtmpDOC is also created as a FreeThreadedDOMDocumentCode:mtmpDOC.childNodes(0).appendChild stationMsg.childNodes(0).childNodes(0)
I however get the following error message when the above line tries to execute:
I am using MSXML v3 sp1 with ADO 2.6 (the xml component didn't seem to work without it installed).Run-time error '-2147024809 (80070057)':
the parameter is incorrect.
I have sucessfuly done the above when I include all the code in one project and do not use callbacks or events. So what am I missing when I use callbacks?
Any help would be appreciated.
Regards,
Jarrod




Reply With Quote