So to start with all is well as in the .Net app is working just fine with
the vb6 dll. But then I update the vb6 dll and the my app crashes.
Update method.
First I regsvr32.exe /u ecode4.dll
Then I replace the dll with the new one (in system32) and then I
regsvr32.exe ecode4.dll
That will cause my .Net app to crash. Now interestingly if in my vb.Net code
I turn option strict Off and then run up the dll like this: Dim eo = New
ecode4.order
Then It will be happy accept the me updating the vb6 dll to the new version
but if I run up the dll like this:
Dim eo As ecode4.eorder = New ecode4.eorder
then the app will not allow me to update the vb6 dll.
Any ideas please!!
Kind regards
Paul
>Any ideas please!!
Sounds like you haven't turned on Binary Compatibility in the VB6
project.
Mattias
--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.