how can I add a byte to the end of a binary file? Let's say i want to add a 0xFF to it?
Also, any method to append a whole .bin file to another one?
(except : system(copy /b ....) )...
I am having a dialog based MFC project and had to include a lot of c files from an older project. In one of the c files there is the only function which is supposed to be accessable from a...
thanks too, that sounds bad :confused:
i guess I'll have to try to find a machine where it hangs.. dammit!
I thought it might be because i had linked the libraries dynamically and there could be...
Hi
I am having the following code to browse a directory. Everything works fine on win2000 but it looks like on xp the app hangs. I don't have an xp version now to try to debug so I thought maybe...
How to write some data contained in a CString to a binary file?
The CString data can only contain "hex values", i.e. str = "010145b4bd".
When I write using ofstream or CFile and open the...
well, I think "I need the seconds since midnight 01.01.1970 as a CString" should be clear enough. There is nothing mentioned about "formatted" in my post. :)
Yes it used to work fine. Now, when I'm debugging the app, sometimes I get an error at that location.
it is something like: (the aStr has the sufficient length so the delete is not the problem.
I am having a CString and append other CString to it by using the
+= operator. Normally that's ok but sometime the app crashes.
MSDN says:
"You should be aware that memory exceptions...
well the problem was that the dialog wasn't yet created. Still it wouldn't work with a modal dialog because the PostMessage code in the main dialog would never be executed.
I am having a dialog-based application containing a property sheet. each tab corresponds to a dialog class implementing some controls. on one of the tabs, there is a button calling a third...
as stated in the title, I am having a dialog based application. When I am starting to move it by the title bar it disappears and only reappears (at the right location) when I finish the move. ...
I'm pretty new to Tabs. I have created an application (Dialog) which is supposed to have a Tab ctrl containing various controls like buttons, dropdown lists, etc. Now, I have faced the...