Late/dynamic binding of MS libraries (MS Office SOAP Type Lib, MS

H

huberfl

Hello,
I developed a webservice client in MS Access, and used the Web Services
Toolkit 2.01 to generate the proxy classes.
Unfortunatelly, the users of the Access Database now need the two libraries
(msxml6.dll, MSSOAP30.DLL). I want to avoid the fixed setting of a reference
and instead use late binding by generating an object a la

Dim sc_webService As Object
Set sc_webService = CreateObject("MSSOAP.SoapClient30")

Apparently this works so far. But in addition, I get two compile errors:
1) A problem is the factory class, which implements the interface
IGCTMObjectFactory.
2) And its creator method, which defines a input parameter of type
MSXML2.IXMLDOMNode:
Private Function IGCTMObjectFactory_CreateObject(ByVal par_WSMLNode As
MSXML2.IXMLDOMNode) As Object

Do you know a work around, how I could use the Set xyz As Object, Set xyz =
CreateObject("library")? Or is there another possiblity to avoid the setting
of fixed references?

Thanks for your help,
Florian
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top