Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   READ_INI macro (https://www.kinook.com/Forum/showthread.php?t=1155)

Andrew 07-12-2005 05:31 AM

READ_INI macro
 
I'm using the read_ini macro to retrieve a value from an INI file. The value in the INI file can contain special characters. As long as the value does not start with a special character everything is retrieved just fine.

If the value starts with one or more special characters, like asci 30 or 33 or 22, ... then they will not be read until a readable character is encountered.

kinook 07-12-2005 09:18 AM

That's just how the Win32 INI API GetPrivateProfileString works. Apparently non-printable characters after the = sign are treated like any other whitespace (ignored).

Andrew 07-13-2005 12:54 AM

Thanks, I figured that was the problem


All times are GMT -5. The time now is 08:36 AM.


Copyright © 1999-2023 Kinook Software, Inc.