Type: Posts; User: Radu
Search took 0.03 seconds.
March 2nd, 2007, 03:01 AM
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 ....) )...
February 2nd, 2007, 04:12 AM
Could this be related to some asian language pack problem? the guy who has this error is located in korea.
February 2nd, 2007, 03:57 AM
That was it! Thanks guys! :)
February 2nd, 2007, 03:35 AM
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...
February 2nd, 2007, 02:38 AM
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...
February 1st, 2007, 09:03 AM
thanks for your reply but this is already declared in the header file.
February 1st, 2007, 08:20 AM
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...
January 24th, 2007, 03:36 AM
January 22nd, 2007, 08:43 AM
victor, yeah, i didn't use LPCSTR.
January 22nd, 2007, 08:36 AM
ok, i found a solution.
1) convert the CString to unsigned char
2) write the unsigned char buffer to the file
CFile f( headerPath, CFile::modeCreate | CFile::modeWrite |...
January 22nd, 2007, 07:43 AM
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...
January 22nd, 2007, 07:06 AM
January 22nd, 2007, 06:45 AM
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. :)
January 22nd, 2007, 06:17 AM
one more question:
I am getting 5 bytes data. Isn't it supposed to be 4 bytes? i.e. now I was getting 1169467720
January 22nd, 2007, 06:10 AM
I was looking for the solution given by thomas_nibu. Just wanted to have the number as CString.
Have a nice day!
January 22nd, 2007, 04:36 AM
how can I convert time_t to CString? (I need the seconds since midnight 01.01.1970 as a CString.
Thanks in advance!
December 15th, 2006, 08:30 AM
Thanks! I'll take a look at that.
December 15th, 2006, 07:58 AM
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.
December 15th, 2006, 07:50 AM
I am having a CString and append other CString to it by using the
+= operator. Normally that's ok but sometime the app crashes.
"You should be aware that memory exceptions...
November 30th, 2006, 07:54 AM
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.
November 30th, 2006, 07:08 AM
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...
October 25th, 2006, 09:35 AM
Thanks for your replies.
Now I have seen that in fact the window shows when there is no other application visible. (on the desktop I see the window while dragging.)
October 24th, 2006, 08:12 AM
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. ...
October 24th, 2006, 07:16 AM
thanks alot guys, you helped me alot.
have a nice day
October 24th, 2006, 03:37 AM
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...
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!