I pose the following scenario.
- I have a DLL ( developed in .Net with fwrk 4 ) where one of its functions is to connect to a WebService (Service reference).
-
I have some projects developed in .Net that consume this DLL.
-
I have some projects developed in Vb6 that need to consume that DLL.
The projects developed in .Net work without problems using the reference of the Dll. But I have problems using it in vb6 projects.
The DLL can already be referenced in VB6 and I can invoke the existing methods, but I get the following error when trying to execute the webservice methods.
This error I had at the beginning when I added and tested the dll with the .Net projects and the solution was adding the serviceModel block (binding and endpoint) of the app.config generated by the project of the DLL in the app.config of the project where you used the DLL. and it worked.
My question is how do I resolve it in VB6?
Thank you very much. Waiting for your comments