title: Read hex characters from an ini file
body: <p>I have an ini file with some hex characters,like this:</p>
  
  <pre><code>[FOO]
  1=0x55
  2=0x40
  3=0x90
  </code></pre>
  
  <p>First, is this the right format for an ini file, or should i use \x50?</p>
  
  <p>Second, how can i read the characters? i have this:</p>
  
  <pre><code>char Frame[4]
  TIniFile* IniFile;
  IniFile=new TIniFile(cPath+"\\"+"setup.ini");
  for( int i = 1; i &lt; 4; i++ )
  {
   Frame[i]=IniFile-&gt;ReadString("FOO",i,-1); 
  }
  </code></pre>
  
  <p>The problem is that IniFile->ReadChar doesn't exist (i am using borland c++ builder 6).</p>
  
  <p>how can i cast the string (0x55 for example) to a char? so i can put it in the <em>Frame</em> array</p>