Hello,
I am having an absolute nightmare with a DLL Hell linked with ADO.
The application is truly simple:
- A Win32 application sends via MSMQ some ADODB.Recordset (v 2.5)
- A C# app receives the Message and save it to the DB.
Now here is the trick:
- I receive an ADODB.Recordset which uses ADO
- I save to the DB using ADO.Net
When I close the App I get an exception message:
"An unhandled exception of type 'System.InvalidOperationException'
occurred in system.data.dll
Additional information: Handle is not initialized."
which happens when I close the app and I close an ADO.Net connection.
When I mess up big time with the way I create my "interop.dlls" it
works for that app but not for other apps that uses both ADODB and
ADO.Net.
Is anyone using successfully both version of ADO in their app without
problems please? If so what is the trick?
Many thanks,
Michael
--
Michael
----
http://michael.moreno.free.fr/
http://port.cogolin.free.fr/