Problem with ATL service and NetMon component.
- From: Piluex <Piluex@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 9 May 2008 08:40:01 -0700
I'm developing a library that uses NetMon and it's being used from a ATL
service. When my library calls to CreateNPPInterface it gets blocked.
Steps to reproduce:
0) Download http://piluex.com/pcapservice.zip.
1) Compile the solution
2) Go to debug folder with command line and register the service
pcapservice.exe /service
3) Manually run the service with Services control panel
4) Attach visual studio to the service and put a breakpoint at:
Code Snippet
CreateNPPInterface( hCaptureBlob, IID_IRTC, (void**) &pIRTC);
in MyClass.
5) Run the helper script in /debug (pcapservice.vbs) that calls the "test"
method then the debugger will break at that line, press F10 and that's it,
it'll get blocked.
Thanks
.
- Follow-Ups:
- Re: Problem with ATL service and NetMon component.
- From: Volodymyr M. Shcherbyna
- Re: Problem with ATL service and NetMon component.
- Prev by Date: Re: WSAENOBUFS on winsock client application
- Next by Date: Re: Problem with ATL service and NetMon component.
- Previous by thread: loopback address 127.0.0.1 question
- Next by thread: Re: Problem with ATL service and NetMon component.
- Index(es):