Search:

Type: Posts; User: Darkmonkey

Search: Search took 0.01 seconds.

  1. Replies
    12
    Views
    1,590

    Wahey, You're right, I wasn't aware about...

    Wahey, You're right, I wasn't aware about lifetimes. I've managed now, by removing the code that kills the XML object, but I'll have to look into my own buffer as you said (not really sure about that...
  2. Replies
    12
    Views
    1,590

    Opps, sorry, forgot about that :( It's taken...

    Opps, sorry, forgot about that :(

    It's taken from a XML file. (Using TinyXMl). This codes gets the title, and sets it:


    // XML
    TiXmlDocument *xmlDoc = new TiXmlDocument(szFileName);
    if...
  3. Replies
    12
    Views
    1,590

    Nope, still no luck. Still messes up the string....

    Nope, still no luck. Still messes up the string. I think it might have been because there is no NULL terminator? but I don't know how to add one, if it is missing.
  4. Replies
    12
    Views
    1,590

    Hey, I was wondering if you could help me again....

    Hey, I was wondering if you could help me again. In the WM_PAINT code, when I try to show the title (though GDI or a message box), it messes up the text, and I just get a series of "Ý"'s. The title...
  5. Replies
    12
    Views
    1,590

    Wahey, It's working ^_^ Cheers, I used a...

    Wahey, It's working ^_^

    Cheers, I used a pointer instead, and fiddled with the handle assigning a bit, and it works like a charm

    Cheers, Again Mate, A real saviour :D
  6. Replies
    12
    Views
    1,590

    I must be doing something wrong :( I can't get it...

    I must be doing something wrong :( I can't get it to work.

    Here is the code from the WM_PAINT message:

    // Do tha junk
    PAINTSTRUCT ps;
    HDC hdc;

    // simply validate the window
    hdc =...
  7. Replies
    12
    Views
    1,590

    Win32, Tracking data with MDI's

    Hey, I posted this in coding forums as well, but with no luck. I'm currently trying to make a program that uses an MDI, but I've hit a deadend :( I can't figure out how to keep track of each set...
Results 1 to 7 of 7