J
Josh
Hi All,
I am writing a C# program that uses two OCX's from VB6.
A similar program works fine in VB6.
A function in OCX #1 is called using a reference to OCX #2.
While performing the function, I get a message box with the error:
"Type mismatch on Line 111"
When looking at the code, a call is made to a function in OCX #2 which
returns a boolean in VB6.
Could the back-and-forth in .NET have caused a mismatch in the bool
type (type size maybe)?
Is there a workaround?
Thanks,
Josh
I am writing a C# program that uses two OCX's from VB6.
A similar program works fine in VB6.
A function in OCX #1 is called using a reference to OCX #2.
While performing the function, I get a message box with the error:
"Type mismatch on Line 111"
When looking at the code, a call is made to a function in OCX #2 which
returns a boolean in VB6.
Could the back-and-forth in .NET have caused a mismatch in the bool
type (type size maybe)?
Is there a workaround?
Thanks,
Josh