From: Ulrich T. <Ulr...@gm...> - 2005-09-04 21:11:34
|
Hi, > This lead me to find some problems. > > In particular > > wxFileOutputStream outfile(fileName); > outfile.Write(wxMemoryInputStream(m_buffer)); > > must be changed: > > wxFileOutputStream outfile(fileName); > wxMemoryInputStream tmp(m_buffer) > outfile.Write(tmp); Thanks a lot! I already made the necessary changes. > Also code like > > for (int i=.... ) { > } > > must be turned into: > > int i; > for (i=.... ) { > } Thanks again. I changed all for-loops to not use variable definitions. > The two errors above are the price to pay when you use a compiler like > MSVC ;-) Well, maybe I should install mingw in addition to MSVC to do such checks myself. Regards, Ulrich -- E-Mail privat: Ulr...@gm... E-Mail Studium: Ulr...@Fe... World Wide Web: http://www.stud.fernuni-hagen.de/q1471341 |