BaseFile
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 15/02/2011 at 17:27, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 12
Platform: Windows ;
Language(s) : C++ ;---------
Is it possible to write to a basefile and then make it read only?~Shawn
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 15/02/2011 at 17:58, xxxxxxxx wrote:
And I figured this one out too... Sorry I have a bad habit of asking before I look. I will work on that.
The solution:
GeFSetAttributes(file, GE_FILE_ATTRIBUTE_READONLY, GE_FILE_ATTRIBUTE_READONLY);