开发者

Debug COM Component in Windows CE

开发者 https://www.devze.com 2023-03-11 10:25 出处:网络
We have developed a COM component to be used in ASP pages of HTTPD service in Windows CE. We need to debug the COM Component. We have limited active开发者_如何学Python sync capability with ConmanClien

We have developed a COM component to be used in ASP pages of HTTPD service in Windows CE. We need to debug the COM Component. We have limited active开发者_如何学Python sync capability with ConmanClient2.exe and cMaccept.exe.

What should we do debug the component from our PCs?

Where can we get more information on this?


You can attach the Visual Studio native code debugger to the services.exe process. This process will be the one loading your COM dll. For more information you can read the native code part of this page in MSDN (Walkthrough: Debugging a Solution that Includes Both Managed and Native Code).


You should consider to define an interface contract of your COM components. Write a unit tester that tests your contract. When the unit tester is a normal Windows CE program, you can debug it along with the testee COM component.

Edit: I would discourage from debugging any module in services. Which test environment is used is not important but it should isolate the module.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号