简体   繁体   中英

Windows Mobile Application without UI (Service like)

I am developing Windows Mobile Application which will be automatically started in system startup. I need to run this application as service that should not show UI (Progress indication) when it loads and do some processing while loading.

I tried to use http://managedserviceswm.codeplex.com/ but it shows UI (Progress indication) as my application is doing heavy processing on start up. Is there any way to do the processing in background (or NON-UI thread) which will not effect user interaction with device and does not show Progress Indication that something is going on in device?

The wait cursor is shown by the execution engine as it loads and JITs the necessary assemblies to run your application. There is no way to prevent that form happening. All you can do is attempt to minimize it by keeping the amount of constructor and static initialization to a minimum and build up the objects after the CLR has done all of its loading.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM