<?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[WritePrivateProfileString Problem??]]></title><description><![CDATA[<p>Hi Leute,</p>
<p>habe mal wieder ein Problem.Und zwar hole ich mir mit GetPathName() den aktuellen Pfad und benutze ihn für WritePrivateProfileString.<br />
Dies Funzt irgendwie nicht richtig.<br />
Ich habe das problem auch schon entdeckt und zwar gibt mir GetPathName den Pfad in der Form von zb C:\test\test.ini zurück aber irgendwie will WritePrivateProfileStrinmg das in der Form C:\\test\\test.ini.<br />
Weiß jemand eine möglichkeit wie ich meinen Pfad so hinbekomme. Kann ich da evet. mit irgendwelchen cast was erreichen?</p>
<p>Danke für eure Hilfe!!!</p>
<p>C u</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/6018/writeprivateprofilestring-problem</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Apr 2026 09:03:19 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/6018.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 03 Jun 2003 21:53:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to WritePrivateProfileString Problem?? on Tue, 03 Jun 2003 21:53:00 GMT]]></title><description><![CDATA[<p>Hi Leute,</p>
<p>habe mal wieder ein Problem.Und zwar hole ich mir mit GetPathName() den aktuellen Pfad und benutze ihn für WritePrivateProfileString.<br />
Dies Funzt irgendwie nicht richtig.<br />
Ich habe das problem auch schon entdeckt und zwar gibt mir GetPathName den Pfad in der Form von zb C:\test\test.ini zurück aber irgendwie will WritePrivateProfileStrinmg das in der Form C:\\test\\test.ini.<br />
Weiß jemand eine möglichkeit wie ich meinen Pfad so hinbekomme. Kann ich da evet. mit irgendwelchen cast was erreichen?</p>
<p>Danke für eure Hilfe!!!</p>
<p>C u</p>
]]></description><link>https://www.c-plusplus.net/forum/post/29238</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/29238</guid><dc:creator><![CDATA[Iceman999]]></dc:creator><pubDate>Tue, 03 Jun 2003 21:53:00 GMT</pubDate></item><item><title><![CDATA[Reply to WritePrivateProfileString Problem?? on Tue, 03 Jun 2003 22:30:00 GMT]]></title><description><![CDATA[<p>Servus,</p>
<p>schau dir mal die Funktion Replace von CString an.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/29239</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/29239</guid><dc:creator><![CDATA[Manuele]]></dc:creator><pubDate>Tue, 03 Jun 2003 22:30:00 GMT</pubDate></item><item><title><![CDATA[Reply to WritePrivateProfileString Problem?? on Wed, 04 Jun 2003 04:17:00 GMT]]></title><description><![CDATA[<p>FAQ.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/29240</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/29240</guid><dc:creator><![CDATA[Unix-Tom]]></dc:creator><pubDate>Wed, 04 Jun 2003 04:17:00 GMT</pubDate></item><item><title><![CDATA[Reply to WritePrivateProfileString Problem?? on Wed, 04 Jun 2003 14:05:00 GMT]]></title><description><![CDATA[<p>Danke Leute die idee mit Replace funzt super.</p>
<p>Thx</p>
<p>C u</p>
]]></description><link>https://www.c-plusplus.net/forum/post/29241</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/29241</guid><dc:creator><![CDATA[Iceman999]]></dc:creator><pubDate>Wed, 04 Jun 2003 14:05:00 GMT</pubDate></item><item><title><![CDATA[Reply to WritePrivateProfileString Problem?? on Wed, 04 Jun 2003 14:19:00 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>das \\ kommt von den Escapesequenzen. \ wird für solche verwendet. Um beim schreiben eines Strings dem Compiler klar zu machen das Du ein \ haben möchtest bedarf es eines \\ .</p>
<p>Wenn Du den String den Du mit ReadProfileString gelesen hast mit WriteProfileString wegschreibst wird es funktionieren. Die \\ brauhst Du nur wenn Du Text im Quellcode stehen hast.</p>
<p>Es erscheint mir das Du kein Replace brauchst ?! Zeig mal etwas quelltext.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/29242</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/29242</guid><dc:creator><![CDATA[Knuddlbaer]]></dc:creator><pubDate>Wed, 04 Jun 2003 14:19:00 GMT</pubDate></item></channel></rss>