Click to See Complete Forum and Search --> : Calling VB forms from C++ using COM


Jomo Fisher
December 3rd, 1998, 03:34 PM
Anyone know how to do this?

I know how to call COM methods in a VB object from a C++.

They work unless I attempt to show a form.


A VB class like this works just fine:


Public Sub ShowDialog()

InputBox ("Enter a name for the Thing")

End Sub


A VB class like this returns a a failure code

Public Sub ShowDialog()

Form1.Show

End Sub