wuyueduzun

I have developed a Today Screen plugin, compile the dll, pack it using makecab and deploy it on WM5.0 Packet PC Phone Emulator. It works very well, i can see my item in Today screen, but while i deploy it on a real Packet PC Phone, i still can install successfully, and select it in "setting->Today->Items", but it can't display on Today Screen.

Then i restart the phone serval times, and reinstall the plugin, it's no use. But if i select the option of the item, it can launch the option dialog.

It's strange, does somebody have the same problem



Re: Smart Devices General About deploying Today Screen plugin for WM5.0 Packet PC Phone

Imzadi_il

Hi,

did you check the registry values (Order) It might be simple be down their in the today screen

Imzadi





Re: Smart Devices General About deploying Today Screen plugin for WM5.0 Packet PC Phone

wuyueduzun

It's not the oder's problem,
I set the oder to zero using PHMRegEdit, it still can't display,





Re: Smart Devices General About deploying Today Screen plugin for WM5.0 Packet PC Phone

AlexFeinman

Does it work if you deploy it directly from Visual Studio to the phone once






Re: Smart Devices General About deploying Today Screen plugin for WM5.0 Packet PC Phone

Christopher Fairbairn

Hi,

wuyueduzun wrote:
I have developed a Today Screen plugin, compile the dll, pack it using makecab and deploy it on WM5.0 Packet PC Phone Emulator. It works very well, i can see my item in Today screen, but while i deploy it on a real Packet PC Phone, i still can install successfully, and select it in "setting->Today->Items", but it can't display on Today Screen

Can you build and deploy a basic "hello world" executable (such as that produced by see the default "Win32 Smart Device Project" project template within Visual Studio 2005 to that same PDA device You could possibly be running into a device security model type problem, so the first thing to verify is that you can run a basic executable at all.

The list displayed in the today items section of the control panel is simply an enumeration of the registry keys within HKLM\Software\Microsoft\Today\Items. I.e. it will show in that list even if there is a problem with your DLL (or even if the DLL has been deleted).

If you can run a basic executable you have built, but can't get your today plugin to work. I would start debugging the entry points used by the today panel API. A low tech, approach would be to simply place a couple of message boxes in the initialisation code, to see if the OS is even loading your DLL etc.

Hope this helps,

Christopher Fairbairn