The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

import-bot (20211) [Avatar] Offline
#1
Re: Hi
[Originally posted by fgrimes]

Hi Saro,

We're discussing C# and .NET here, so there are better places to get an answer
to your question. To start, you could try http://msdn.microsoft.com/visualc/.

Isn't there a CFile class, or something similar? For example:

CFile f;
f.Open("out.txt", ... );
f.Write( ... );
f.Close();

Sorry I can't help further.

Fergal
import-bot (20211) [Avatar] Offline
#2
[Originally posted by saro]

Hi
i am using VC++ & writting all the events for my program in the event viewer
through report event In NT system. I want to write in txt file whtever i am
writting in eventviewer. How i will go for this. Waiting for your reply

Thanks & Regards
Saro