CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Radu

Page 1 of 31 1 2 3 4

Search: Search took 0.13 seconds.

  1. Replies
    2
    Views
    1,352

    add bytes to binary file

    Hi!

    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 ....) )...
  2. Replies
    5
    Views
    817

    Re: Browse Directory problem in XP

    Could this be related to some asian language pack problem? the guy who has this error is located in korea.
  3. Re: include c file in c++ workspace (LNK2001 problem)

    That was it! Thanks guys! :)
    :wave:
  4. include c file in c++ workspace (LNK2001 problem)

    Hi,

    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...
  5. Replies
    5
    Views
    817

    Re: Browse Directory problem in XP

    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...
  6. Replies
    5
    Views
    817

    Re: Browse Directory problem in XP

    thanks for your reply but this is already declared in the header file.
  7. Replies
    5
    Views
    817

    Browse Directory problem in XP

    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...
  8. Replies
    14
    Views
    9,040

    Re: convert time_t to CString

    Thanks Victor! :wave:
  9. Replies
    4
    Views
    5,084

    Re: write CString to binary file

    Thanks!

    victor, yeah, i didn't use LPCSTR.
  10. Replies
    4
    Views
    5,084

    Re: write CString to binary file

    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 |...
  11. Replies
    4
    Views
    5,084

    write CString to binary file

    Hi,

    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...
  12. Replies
    14
    Views
    9,040

    Re: convert time_t to CString

    oh man, ..
    sure! :blush:
  13. Replies
    14
    Views
    9,040

    Re: convert time_t to CString

    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. :)
  14. Replies
    14
    Views
    9,040

    Re: convert time_t to CString

    one more question:
    I am getting 5 bytes data. Isn't it supposed to be 4 bytes? i.e. now I was getting 1169467720
  15. Replies
    14
    Views
    9,040

    Re: convert time_t to CString

    Thanks guys!

    I was looking for the solution given by thomas_nibu. Just wanted to have the number as CString.
    Have a nice day!

    radu
  16. Replies
    14
    Views
    9,040

    convert time_t to CString

    Hi,

    how can I convert time_t to CString? (I need the seconds since midnight 01.01.1970 as a CString.
    Thanks in advance!

    radu
  17. Replies
    4
    Views
    1,139

    Re: CString concatenation

    Thanks! I'll take a look at that.
  18. Replies
    4
    Views
    1,139

    Re: CString concatenation

    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.

    ...
  19. Replies
    4
    Views
    1,139

    CString concatenation

    Hi GUys,

    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...
  20. Replies
    1
    Views
    797

    Re: PostMessage to child

    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.
  21. Replies
    1
    Views
    797

    PostMessage to child

    Hi,

    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...
  22. Replies
    3
    Views
    683

    Re: Dialog disappears when dragging

    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.)
  23. Replies
    3
    Views
    683

    Dialog disappears when dragging

    Hi

    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. ...
  24. Replies
    3
    Views
    1,096

    Re: Dialog in CTabCtrl

    thanks alot guys, you helped me alot.

    have a nice day

    radu
  25. Replies
    3
    Views
    1,096

    Dialog in CTabCtrl

    Hi guys,

    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...
Results 1 to 25 of 773
Page 1 of 31 1 2 3 4





Click Here to Expand Forum to Full Width

Featured