Search:

Type: Posts; User: johnnie2

Page 1 of 8 1 2 3 4

Search: Search took 0.02 seconds; generated 49 minute(s) ago.

  1. Replies
    6
    Views
    6,796

    From MSDN...

    From MSDN:As a result, allowing a thread to close its own handle may not necessarily remove the thread from the system since the thread has not terminated.
  2. Thread: Sorting...

    by johnnie2
    Replies
    3
    Views
    1,111

    You could use a combination of ListView_GetItem()...

    You could use a combination of ListView_GetItem() and ListView_SetItem(). The iItem member of the LVITEM structure refers to the index of the item within the list view.

    With this in mind, you'd...
  3. Replies
    15
    Views
    7,088

    You may be interested in MSDN's edit control...

    You may be interested in MSDN's edit control section.
  4. Replies
    4
    Views
    2,620

    Look into GetModuleFileName()...

    Look into GetModuleFileName().
  5. Replies
    4
    Views
    7,010

    Interestingly, the scenario you've suggested is...

    Interestingly, the scenario you've suggested is very unlikely to occur. Windows's multithreading capabilities are based upon a system of thread priorities. Threads of relatively high priorities...
  6. Replies
    4
    Views
    7,010

    You could change the method by which the threads...

    You could change the method by which the threads enter the critical section (using TryEnterCriticalSection() rather than EnterCriticalSection()), but that may not be the best solution.

    Instead,...
  7. Replies
    9
    Views
    5,118

    You may want to see Is Winsock thread-safe?...

    You may want to see Is Winsock thread-safe? from the Winsock Programmer's FAQ for an answer to your original question.
  8. Replies
    4
    Views
    2,619

    You may want to see Johnnie's Winsock Tutorial...

    You may want to see Johnnie's Winsock Tutorial.
  9. Replies
    2
    Views
    2,425

    Have you ensured that all machines, including the...

    Have you ensured that all machines, including the two new machines, are members of the same workgroup?
  10. Thread: WinSock

    by johnnie2
    Replies
    6
    Views
    1,859

    You may be interested in Johnnie's Winsock...

    You may be interested in Johnnie's Winsock Tutorial.
  11. Replies
    18
    Views
    164,726

    Sticky: I'd like to suggest: Johnnie's Winsock...

    I'd like to suggest:

    Johnnie's Winsock Tutorial

    for inclusion into the list.
  12. Replies
    2
    Views
    7,937

    Invoking closesocket() on a particular socket...

    Invoking closesocket() on a particular socket cancels any active connection and causes the operating system to discard internally-managed data regarding the socket. After the call, the unfortunate...
  13. Replies
    11
    Views
    2,088

    Please carefully review all posts within this...

    Please carefully review all posts within this thread. You'll see that the original poster desires a device to edit the registry of a remote computer system. Anon suggested using the remote editing...
  14. Replies
    11
    Views
    2,088

    The original poster wishes to edit the registry...

    The original poster wishes to edit the registry of a remote computer system. The poster asked for tips regarding the creation of such a device. Anon suggested that the original poster simply use...
  15. Replies
    4
    Views
    1,556

    The upper limit is determined by the operating...

    The upper limit is determined by the operating system, and is indeed a power of two. If the application does not manually set the upper limit, the edit control is constrained to 32,767 bytes by...
  16. Replies
    10
    Views
    1,576

    Yes. Not necessarily. The server is not...

    Yes.

    Not necessarily. The server is not guaranteed to receive the entire string in one call to recv(); it may take up to five server-side invocations (not including the NULL terminator) to secure...
  17. Replies
    6
    Views
    1,850

    Are you utilizing asynchronous sockets with...

    Are you utilizing asynchronous sockets with window notifications?
  18. Replies
    2
    Views
    3,350

    The major difference I see between the two code...

    The major difference I see between the two code listings is that the TempDirectoryPath string is effectively allocated on the heap in the working sample (declared static), while in the failed code...
  19. Replies
    3
    Views
    2,044

    Alright, are you saying any command after PASV is...

    Alright, are you saying any command after PASV is simply not sent (any further command sent to the server has no effect or the send() results in an error) or that nothing is happening after...
  20. Replies
    2
    Views
    1,979

    Something along the lines of SetWindowLong() with...

    Something along the lines of SetWindowLong() with the GWL_WNDPROC flag. Pass in a function pointer to your new procedure to redirect the control's messages.
  21. Replies
    2
    Views
    1,145

    Johnnie's Winsock Tutorial...

    Johnnie's Winsock Tutorial and The Winsock Programmer's FAQ are two more resources geared towards Winsock.

    btw, that's an excellent sig minesweeper.
  22. Replies
    8
    Views
    2,521

    Right. You'll have to specify the browser...

    Right. You'll have to specify the browser executable (iexplore.exe for Internet Explorer) and the path to your HTML document as the parameter field. The operation to perform should remain "open,"...
  23. Thread: udp/tcp

    by johnnie2
    Replies
    1
    Views
    1,045

    Post code; bind()ing a UDP socket really...

    Post code; bind()ing a UDP socket really shouldn't spawn a listening socket running a totally different protocol.
  24. Replies
    3
    Views
    1,151

    Or the wrap program stalls and never returns...

    Or the wrap program stalls and never returns control to the caller.
  25. Replies
    12
    Views
    2,471

    Technically, you're not getting a handle to the...

    Technically, you're not getting a handle to the other process's message loop directly; you're retrieving a handle to the process's window and using that in conjunction with SendMessage() or...
Results 1 to 25 of 186
Page 1 of 8 1 2 3 4