January 16th, 2009, 03:07 AM
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...
January 11th, 2009, 07:20 AM
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...
January 10th, 2009, 01:30 PM
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....
January 10th, 2009, 12:35 PM
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...
January 10th, 2009, 11:21 AM
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...
January 10th, 2009, 10:17 AM
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...
January 9th, 2009, 04:03 PM
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...
January 9th, 2009, 03:01 PM
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...