<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[schreibgeschützte datei mit CFile]]></title><description><![CDATA[<p>wie erstelle ich eine schreibgeschützte textdatei mit CFile? laut hilfe soll dies mit &quot;CFile::shareDenyWrite&quot; funktionieren. aber wie?<br />
folgende aufrufe:<br />
&quot;CFile myFile( file_name, CFile::modeCreate | CFile::modeWrite|CFile::shareDenyWrite );&quot; und</p>
<p>&quot;myFile.Open( pFile, CFile::modeCreate | CFile::modeWrite|CFile::shareDenyWrite , &amp;e );&quot;</p>
<p>funktionieren nicht (datei wird erstellt, ist aber nicht schreibgeschützt).</p>
<p>danke im voraus!</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/46200/schreibgeschützte-datei-mit-cfile</link><generator>RSS for Node</generator><lastBuildDate>Sun, 26 Apr 2026 18:21:08 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/46200.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 17 Aug 2003 17:38:01 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to schreibgeschützte datei mit CFile on Sun, 17 Aug 2003 17:38:01 GMT]]></title><description><![CDATA[<p>wie erstelle ich eine schreibgeschützte textdatei mit CFile? laut hilfe soll dies mit &quot;CFile::shareDenyWrite&quot; funktionieren. aber wie?<br />
folgende aufrufe:<br />
&quot;CFile myFile( file_name, CFile::modeCreate | CFile::modeWrite|CFile::shareDenyWrite );&quot; und</p>
<p>&quot;myFile.Open( pFile, CFile::modeCreate | CFile::modeWrite|CFile::shareDenyWrite , &amp;e );&quot;</p>
<p>funktionieren nicht (datei wird erstellt, ist aber nicht schreibgeschützt).</p>
<p>danke im voraus!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/334400</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/334400</guid><dc:creator><![CDATA[palme]]></dc:creator><pubDate>Sun, 17 Aug 2003 17:38:01 GMT</pubDate></item><item><title><![CDATA[Reply to schreibgeschützte datei mit CFile on Sun, 17 Aug 2003 18:22:25 GMT]]></title><description><![CDATA[<p>mist hab´s wieder gelöst.</p>
<p>Sorry, war ein blödsin <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f644.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_rolling_eyes"
      title=":rolling_eyes:"
      alt="🙄"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/334423</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/334423</guid><dc:creator><![CDATA[BigSigi]]></dc:creator><pubDate>Sun, 17 Aug 2003 18:22:25 GMT</pubDate></item><item><title><![CDATA[Reply to schreibgeschützte datei mit CFile on Sun, 17 Aug 2003 18:53:11 GMT]]></title><description><![CDATA[<p>Nein, nie. Was du suchst ist SetFileAttributes. Achso: Mit CFile::SetStatus geht es natürlich auch.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/334450</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/334450</guid><dc:creator><![CDATA[Oliver]]></dc:creator><pubDate>Sun, 17 Aug 2003 18:53:11 GMT</pubDate></item></channel></rss>