Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 07-12-2005, 05:31 AM
Andrew Andrew is online now
Registered User
 
Join Date: 12-01-2004
Posts: 19
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.
Reply With Quote
  #2  
Old 07-12-2005, 09:18 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
That's just how the Win32 INI API GetPrivateProfileString works. Apparently non-printable characters after the = sign are treated like any other whitespace (ignored).
Reply With Quote
  #3  
Old 07-13-2005, 12:54 AM
Andrew Andrew is online now
Registered User
 
Join Date: 12-01-2004
Posts: 19
Thanks, I figured that was the problem
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 10:16 AM.


Copyright © 1999-2023 Kinook Software, Inc.