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 -----
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
_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to