hi...
-
Hi all code project members... i new in VC++ programming...i have a problem to convert a string of hex value such as "E302" to the hex number such as oxE302... i used the wcstol(...) but i seen not work.... Thankz in advance Rgds :_Rocket_:
-
Hi all code project members... i new in VC++ programming...i have a problem to convert a string of hex value such as "E302" to the hex number such as oxE302... i used the wcstol(...) but i seen not work.... Thankz in advance Rgds :_Rocket_:
DId I understand you correctly, you want to convert hex E302 to a long-integer value? (coz that's what wcstol does) wcstol input syntax is [whitespace] [{+ | ?}] [0 [{ x | X }]] [digits] You need to give the "E302" string to the function as "0xE302". ------------------------------------------ Experience is the name every one gives to their istakes. -Oscar Wilde Experience is one thing you can't get for nothing. - Oscar Wilde