开发者

Stop Httpd to take updated COM component

开发者 https://www.devze.com 2023-03-12 01:07 出处:网络
I am working with ASP pages in WIN CE device. The web server is httpd. We have developed a开发者_C百科 COM for using in the ASP pages. Now we are facing an issue. The issue is once we loaded the home

I am working with ASP pages in WIN CE device. The web server is httpd. We have developed a开发者_C百科 COM for using in the ASP pages. Now we are facing an issue. The issue is once we loaded the home page and used the COM component, the httpd will not take newer version of COM we put. We currently restart the device for the httpd to take an updated COM component.

How can we correct the issue? Is it possible to stop httpd service and restart?.if yes, how?

We have limited ActiveSync capability using ConmanClient2.exe and cMaccept.exe


If you have the command-line processor on the device you can do

services stop htp0:
services start htp0:


If you are only interested in restarting this service during development of your COM object you can use the Windows CE Remote Process Viewer provided with Visual Studio Remote Tools to terminate the process, and then start it again manually. During WinCE applications development I have found SOTI Pocket Controller to be useful. I am not related to them in any way, I am just a happy user of this tool.

If you are also interested in a programmatic solution, you can enumerate all services programmatically, terminate the httpd process and launch it again. See here for more details.

Regarding ConmanClient2.exe and cMaccept.exe, these are Visual Studio tools and they are not related to ActiveSync, you can use them with WiFi or Ethernet even when there is no ActiveSync support on your device..

0

精彩评论

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

关注公众号