Click to See Complete Forum and Search --> : include c++ project into vb


veedub
March 21st, 2001, 02:38 AM
Hi there! i've got a question concerning importing code in a different language.

I have available code, written in vc++ and i want to use this project in an vb environment.

i suppose, vb can't compile this c++ project even if i included this into vb..
but i'm not sure... could any one give me advise, how i could use the existing c++ code in vb??

thank you in advance

paulc
March 21st, 2001, 03:13 AM
I am not sure on the specifics of you do this, but what you have to do is compile the code into a .dll file. You can then call this .dll from within VB.