Search:

Type: Posts; User: *nick

Search: Search took 0.00 seconds.

  1. Thread: memory leak

    by *nick
    Replies
    8
    Views
    3,116

    ok you say that I shouldn't use but I see it in...

    ok you say that I shouldn't use but I see it in Petzold book example




    HELLOWIN.C

    /*------------------------------------------------------------
    HELLOWIN.C -- Displays "Hello, Windows...
  2. Thread: memory leak

    by *nick
    Replies
    8
    Views
    3,116

    i would prefer to do option 1 for now, can you...

    i would prefer to do option 1 for now, can you advise how to convert the strings?
    1. continue using readdir and convert your strings
  3. Thread: memory leak

    by *nick
    Replies
    8
    Views
    3,116

    Yes I know that it is the unicode issue, but if I...

    Yes I know that it is the unicode issue, but if I will need to use it later on, how can I fix it now?
  4. Thread: memory leak

    by *nick
    Replies
    8
    Views
    3,116

    yes I am not using it because I am getting...

    yes I am not using it because I am getting Chinese chars in drop down box if I put it here

    SendMessage(hwndCombo, CB_ADDSTRING, 0, (LPARAM) items[i]);

    changed:
    SendMessage(hwndCombo,...
  5. Thread: memory leak

    by *nick
    Replies
    8
    Views
    3,116

    memory leak

    Hi

    I have an issue with this code, it has memory leak.




    #include <windows.h>
    #include <stdio.h>
    #include <string.h>
Results 1 to 5 of 5