C++ and VB.NET

  • Thread starter Thread starter John
  • Start date Start date
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)
 
John,

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

Kerry Moorman
 
Back
Top