C++ and VB.NET

J

John

I wrote a C++ function which has two integer parameters and returns a float.
The C++ function uses vectors, and am unsure how to re-write in VB, also the
function is VERY long and I dont want to rewrite it anyway. Is it possible
to implement this function in vb.net somehow?

float percent = (int firstInteger, int secondInteger)
 
G

Guest

John,

The Visual Basic Declare statement or DllImport attribute might work for you.

Kerry Moorman
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top