1. What does this have to do with Qt programming?
2. Why do you use CreateFile if you want to use FILE or fstreams?
Just initilaize an fstream object, or use FILE C style all the way...
1. What does this have to do with Qt programming?
2. Why do you use CreateFile if you want to use FILE or fstreams?
Just initilaize an fstream object, or use FILE C style all the way...
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
Use _fdopen once you have the file handle.
See this: http://msdn2.microsoft.com/en-us/lib...82(VS.80).aspx
Regards
Bookmarks