How to Translate the Code?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

The following source is written in VB. Now I want to covert this source code
to VC++ .NET. Could you please try to do this translation someone who have
knowledge in VB and C++?

Function Convert(ByVal MyNumber)
Dim DecimalPlace, Temp

DecimalPlace = InStr(MyNumber, ".")

Temp = Left(Mid(MyNumber, DecimalPlace + 1) & "00", 2)
 
I would look at Lutz Roeder's Reflector. I am not sure if it decompiles
assemblies to C++, but I know it does C#, VB.NET and Delphi. It is worth a
shot.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************
 
Back
Top