Menu

#7 Save + read-only problem

open
nobody
None
5
2001-03-05
2001-03-05
No

When following the steps specified in demo5_readme.txt
I get an assert when trying to perform step 3, in the
file: "src/common/fille.cpp" the following function
gave the error.

off_t wxFile::Read(void *pBuf, off_t nCount)
{
wxCHECK( (pBuf != NULL) && IsOpened(), 0 );

I noticed that this assert is caused because
the "demo5res.xrc" file is set to read-only.
It maybe a good practice to check access right before
trying to write to the file...

Hans.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.