Search:

Type: Posts; User: ENF

Search: Search took 0.01 seconds.

  1. Replies
    12
    Views
    2,044

    Let me point out that if the combat loop has been...

    Let me point out that if the combat loop has been started and you enter combat again you could have serveral combat loops running, so you need some sort of thread sycronisation. The easiest way to do...
  2. Thread: Reading file

    by ENF
    Replies
    4
    Views
    1,036

    try file mapping CreateFileMapping MapViewOfFile

    try file mapping
    CreateFileMapping
    MapViewOfFile
  3. Replies
    6
    Views
    1,657

    I see no reason to store all possible passwords....

    I see no reason to store all possible passwords. If you want to use them for anything usefull you'd have to have some automated way to go thru the list trying every one it would be better to have a...
  4. Replies
    1
    Views
    1,115

    extracting value from array

    I have an array like this
    char Data[10];

    I am trying to extract a dword like this
    dwNumber=Data[2];
    This dosen't work
    I've also tried
    dwNumber=(DWORD)Data[2];
    still dosen't work I guese it...
  5. Replies
    14
    Views
    1,578

    Not sure how log ins are handled on this bored...

    Not sure how log ins are handled on this bored but you might end up having to handle cookies.
  6. Replies
    4
    Views
    1,490

    Even after using EM_SCROLLCARET ater each...

    Even after using EM_SCROLLCARET ater each selection I still have the same problem. I am wondering if it is something to do with the control not having focus., would that affect EM_SCROLLCARET? Also...
  7. Replies
    5
    Views
    12,333

    s is the listening socket ns is a new socket...

    s is the listening socket
    ns is a new socket created by accept
    when a connnection is accepted you need to fork to handle that connection (ns) but keep looping to accept future connections. Only one...
  8. Replies
    4
    Views
    1,490

    recv(Sock, RecvBuffer, DataLength, 0); ...

    recv(Sock, RecvBuffer, DataLength, 0);

    RecvBuffer[DataLength]=0; //make sure string is null terminated
    SendMessage(hEdit, EM_SETSEL, -1, -1);
    SendMessage(hEdit, EM_REPLACESEL, 0,...
  9. Replies
    4
    Views
    1,490

    vertically scolling rich edit

    currently I am using EM_SETSEL/EM_REPLACESEL to add new lines to a rich edit control, the problem is when the text is off the bottom of the scream the control dosen't scroll even though it has the...
  10. Replies
    3
    Views
    1,650

    ES_MULTILINE did it.

    ES_MULTILINE did it.
  11. Replies
    3
    Views
    1,650

    subclassed edit control trouble

    hi I have a subclassed edit control the proc is like this


    if (uMsg==WM_KEYDOWN && LOWORD(wParam)==VK_RETURN)
    {
    if (SendMessage(hWnd, WM_GETTEXT, 100, (LPARAM)Buffer))
    {
    ...
  12. Replies
    3
    Views
    1,215

    use SendMessage(hWndEdit, EM_SETSEL, -1, -1);...

    use
    SendMessage(hWndEdit, EM_SETSEL, -1, -1);
    this moves cursor to the last place in the edit control then use EM_REPLACESEL (I think thats the correct name) and it will add new text to the end
Results 1 to 12 of 12