Re: Problem with ATL service and NetMon component.



I hardly call this is to be a problem of windows networking components ...
Try to ask on NetMon support forums.

--
V.
This posting is provided "AS IS" with no warranties, and confers no
rights.
"Piluex" <Piluex@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:1952E78C-AD25-4E1F-B016-5873A9212AB3@xxxxxxxxxxxxxxxx
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



.