|
Posted by sharadjaiswal on September 23, 2005, 2:22 am
Please log in for more thread options
Our goal is to do packet capture on a Smartphone device (we have an O2
XPhone <http://www.seeo2.com/product/XphoneII/template/Product.vm> running
Windows Smartphone 2003). We decided to use netlog. The source code of netlog
is available within the platform builder - but the only platform builder
available online is for Win CE 5.0. Our device has Wince 4.2, and we try
running netlog built for Wince 5.0 on this device and it fails.
Specifically the code fails during SendCommandToCxport call within netlog
code which sends a load message to cxport.dll. The SendCommandToCxport call
basically does
1) a RegisterDevice(L"CTE",0,L"\Windows\cxport.dll",0);
2) CreateFile()
3) DeviceIOControl(IOCTL_NETLOG_LOAD).
And it fails in RegisterDevice..
We have the following questions:
1. Has anyone got netlog working on an Smartphone device?
2. Does there exist any netlog code for WinCE 4.2 that we can use?
3. Does anyone have any idea what is the difference between the netlog code
for 4.2 vs. 5.0 that could be causing this proble. Specifically with respect
to the code with cexit.dll?
Thanks
Sharad.
|