Cand deschizi fisierul cu CreateFile, foloseste ca parametrul al 3-lea: FILE_SHARE_READ | FILE_SHARE_WRITE, intrucat si stdout si stderr sunt redirectate in acelasi fisier.<br><br><div class="gmail_quote">2008/4/6 Tiugan Radu <<a href="mailto:tiuganradu@yahoo.com">tiuganradu@yahoo.com</a>>:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Am folosit fprintf pentru scrierea mesajului de eroare. In cazul standard mesajul este afisat, dar daca stderr este redirectionat in fisier atunci nu se scrie nimik. Are cineva idee care ar putea fi problema?<br>
<p>
</p><hr size="1">You rock. That's why Blockbuster's offering you <a href="http://us.rd.yahoo.com/evt=47523/*http://tc.deals.yahoo.com/tc/blockbuster/text5.com" target="_blank">one month of Blockbuster Total Access</a>, No Cost.<br>
_______________________________________________<br>
so mailing list<br>
<a href="mailto:so@cursuri.cs.pub.ro">so@cursuri.cs.pub.ro</a><br>
<a href="http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/so" target="_blank">http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/so</a><br>
<br></blockquote></div><br>