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

Search:

Type: Posts; User: Mihai Greavu

Search: Search took 0.01 seconds.

  1. Re: Access Is Denied in WTSQueryUserToken and Windows 2003 Ent SP1

    Hello,
    After installing the service check that it actually runs in the context of the LocalSystem account (it's not enough to just have the LocalSystem account present)
    In...
  2. Replies
    5
    Views
    6,486

    Re: Slow socket performance

    Might be related to gracefull closure of the sockets and TCP states (TIME_WAIT etc)
    Use the netstat command to check for this.
    Compare the netstat results with the C# server.
    Perhaps on your...
  3. Replies
    10
    Views
    1,105

    Re: DLL EntryPoint - Problem

    Add 2 functions to your dll and export them.
    Initialize { monitor.startThread(); } and
    Uninitialize () {monitor.stopThread(); }.

    Call Initialize() from the process after the dll is loaded....
  4. Replies
    10
    Views
    1,105

    Re: DLL EntryPoint - Problem

    Well, in light of the latest info provided by Codeplug, you'd probably be better off by adding some Initialize/Uninitialize functions to your dll, do thread signaling/waiting in Uninitialize() which...
  5. Replies
    10
    Views
    1,105

    Re: DLL EntryPoint - Problem

    The layout of your code is mostly Ok.
    However, if you want to cleanly stop the thread when the dll is unloaded, you should use DLL_PROCESS_DETATCH. So I would move this line _monitor.endThread() in...
  6. Replies
    10
    Views
    1,105

    Re: DLL EntryPoint - Problem

    Hello,

    DLL_THREAD_DETACH is called when a thread is exiting in a clean manner. Do you have such a thread in your process you know it's doing this ?
    DLL_THREAD_DETACH is not called when a thread...
  7. Replies
    4
    Views
    1,284

    Re: Using SetTimer in OnMouseMove

    Don't have a full picture about your implementation but you can try this:

    Post or Send a WM_CLOSE (or your own custom) message to the tooltip window from within OnMouseMove(). You should have a...
  8. Replies
    10
    Views
    1,040

    Re: Broadcasting in UDP

    salve scorrpeio,

    Something looks a bit dubious.
    Are you positive on this line: m_RemoteAdd.sin_port = htonl( INADDR_BROADCAST ); ?
    INADDR_BROADCAST is usually a placeholder for the bcast addr...
Results 1 to 8 of 8


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center