P
Philip
Hi, first of all I'm new to this whole .net thing so please forgive my
ignorance. Now I have a C++ object with me, and I want to be able to
call its methods from VB.net.
e.g.
[c++ code]
Foo::Foo
{
}
void Foo:
isplay_Message()
{
printf("Hello World");
}
[vb code]
Dim myStringInstance As New Foo() ''Foo is the C++ object
myStringInstance.Display_Message() ''Display_Message prints out "hello
world"
Now what would be the easiest way I can make the above code work? Do
I have to make a COM object? Someone also told me to create a
netmodule, but I don't know how to create a C++ netmodule. And even
if I did know how to create a netmodule, I wouldn't know what to do
afterwards.
I'd really appreciate the help!
Sincerely,
Philip
ignorance. Now I have a C++ object with me, and I want to be able to
call its methods from VB.net.
e.g.
[c++ code]
Foo::Foo
{
}
void Foo:
isplay_Message(){
printf("Hello World");
}
[vb code]
Dim myStringInstance As New Foo() ''Foo is the C++ object
myStringInstance.Display_Message() ''Display_Message prints out "hello
world"
Now what would be the easiest way I can make the above code work? Do
I have to make a COM object? Someone also told me to create a
netmodule, but I don't know how to create a C++ netmodule. And even
if I did know how to create a netmodule, I wouldn't know what to do
afterwards.
I'd really appreciate the help!
Sincerely,
Philip

zsX-EkdZZ(IVnFRTX%!:Sv^L&Gk~s]vJ@Z~%Rm@G]fr*r2P}u5 *&k/-_2+&Qowj6hiJ1b$^JQf:uy9456HIdKq*B`NC##kyO,>7"Ztnav+=71b*"E+DIme;{i&)ii{#6e?i8P,1Xpc[q0}i:Tm];B1