equivalent of atoi and itoa functions in SDK
-
hi every one What is the equivalent of atoi and itoa functions in Windows SDK platform? with special thanks
-
hi every one What is the equivalent of atoi and itoa functions in Windows SDK platform? with special thanks
-
I am grateful to help you I am using these functions, but have not the correct answer. I've created a library in visual c++ and for use it in Delphi, convert it to OMF format. But when I add lib to Delphi ,get an error message where the atoi function is called. Please help me Thanks and respect
-
I am grateful to help you I am using these functions, but have not the correct answer. I've created a library in visual c++ and for use it in Delphi, convert it to OMF format. But when I add lib to Delphi ,get an error message where the atoi function is called. Please help me Thanks and respect
Please help us to help you. What on earth does "get an error message where atoi function is called" actually mean? Does the program crash, provide an unexpected conversion result, display an error message (if so, WHAT?), etc, etc. My initial thought is that you could have unicode issues. Perhaps this page will help: Using Functions That Have No Unicode Equivalents[^]
-
Please help us to help you. What on earth does "get an error message where atoi function is called" actually mean? Does the program crash, provide an unexpected conversion result, display an error message (if so, WHAT?), etc, etc. My initial thought is that you could have unicode issues. Perhaps this page will help: Using Functions That Have No Unicode Equivalents[^]
I am grateful to help you. I test this method, but It is not my problem. When using library, this error message is displayed:
Build
[Error] Unit1.pas(130): Unsatisfied forward or external declaration: 'atoi'
[Error] Unit1.pas(130): Unsatisfied forward or external declaration: 'itoa'
[Fatal Error] Project1.dpr(5): Could not compile used unit 'Unit1.pas'but when calling the "atoi" function be deleted from the lib error does not occur. This problem when using "strcpy" function also occurred. But replacing it with the "lstrcpy" function This problem was solved I'm hoping to find a function equivalent to the "atoi" function to this problem be solved. Thanks!
modified on Monday, January 18, 2010 6:29 AM
-
I am grateful to help you. I test this method, but It is not my problem. When using library, this error message is displayed:
Build
[Error] Unit1.pas(130): Unsatisfied forward or external declaration: 'atoi'
[Error] Unit1.pas(130): Unsatisfied forward or external declaration: 'itoa'
[Fatal Error] Project1.dpr(5): Could not compile used unit 'Unit1.pas'but when calling the "atoi" function be deleted from the lib error does not occur. This problem when using "strcpy" function also occurred. But replacing it with the "lstrcpy" function This problem was solved I'm hoping to find a function equivalent to the "atoi" function to this problem be solved. Thanks!
modified on Monday, January 18, 2010 6:29 AM
itoa
andatoi
are functions in the C runtime library. What your question should really be is: what are the equivalents ofitoa
andatoi
in the Delphi runtime library... Here's a hint - look atStrToInt
andIntToStr
...Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p MVP for 2010 - who'd'a thunk it!
-
itoa
andatoi
are functions in the C runtime library. What your question should really be is: what are the equivalents ofitoa
andatoi
in the Delphi runtime library... Here's a hint - look atStrToInt
andIntToStr
...Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p MVP for 2010 - who'd'a thunk it!
thank you very much