Question : How can i convert in integer this kind of string (0x00000)

Hi experts,

i have C++ DLL that i encapsulate in .NET and i have multiple define variables such as :

0x5AB007
0x5AB004
0x5AB006
...

How can i translate back in .net safe type to create ENUMS or whatever else?

Thank you.

Kind Regards

Answer : How can i convert in integer this kind of string (0x00000)

Not sure what you're after here....you what to make an Enum with those values?

    Public Enum SomeName As Integer
        Value1 = &H5AB007
        Value2 = &5AB004
        Value3 = &H5AB006
    End Enum
Random Solutions  
 
programming4us programming4us