Re: Error: 7 Out of Memory



skoxlien wrote:

As you can see I have added test messages written to a log file so I
can see where I get to. I hit the Load ComStatus, but it never
actually gets into the Form Load routine of the ComStatus child form,
because I have another test message in there as the first thing, and it
never gets written into the log file.


You do not actually know that for certain. It may be correct, but it
also might not.

Unless you close the file after every write operation, you do not know
if there were lost buffers when the app halted.

Personally, I use the INI file APIs (writeprivateprofilestring) for that
kind of investigative logging.



Bob
--
.


Loading