Which Visual COBOL product version are you using? What type of application is this? i.e. WinForm, WPF, WCF, ASP.NET, etc. You should not be closing the connection in both languages. COBOL should do an UNBIND as David states and then VB should do the Close. When do you get the duplicate connection message, when opening a second time in VB? Can you show us what this connect code looks like? Thanks.
↧