[DUG] C code help

Ross Levis ross at stationplaylist.com
Fri Jul 14 14:39:38 NZST 2006


I need to read and write that flag.  No other flags are using that particular entire byte so I can access this part of the flag as a byte and check for the value 2, and ignore the other 3 bytes.  I think I'm set now, thanks.

Ross.
  ----- Original Message ----- 
  From: Brian Wrigley 
  To: NZ Borland Developers Group - Delphi List 
  Sent: Friday, July 14, 2006 2:33 PM
  Subject: Re: [DUG] C code help


  No, that function won't change the value in the flag. It just tests it and returns True if that field of a global variable (m_nFieldFlags) contains the value "Text_UTF8" and returns False if that field contains any of the other 3 values.

  What is it that your own program needs to do with this field? Just determine the value? Or do you need to set or change it and pass the resulting entire flags word (which possibly includes other fields which should not be changed) back to an external process or device?

  Regards,
  Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ns3.123.co.nz/pipermail/delphi/attachments/20060714/d9bcfbf1/attachment.html


More information about the Delphi mailing list