Why wait ReadString=m_ReturnValue back, what's the meaning
CodePudding user response:
And the new string (" ", 1024) what do you meanNovice to solve the code, thank you
CodePudding user response:
Variable with 1024 Spaces in advance, so that can read back up to 1024 ASCII characters,This is a GetPrivateProfileString API interface function read a particular string value from initialization file, you search GetPrivateProfileString,
CodePudding user response:
Although is to support the ReadString=m_ReturnValue such wording, but standard of writing should be of VB.Net Return m_ReturnValue ,API function calls rule is memory (including string) must be applied by the caller/release, function only to read/write memory; new string (" ", 1024) is to apply for a string of space,
CodePudding user response: