rbfigueira.net

All about .net stuff, Compact framework, framework.net and personal projects.

Pocket Today Screen plugins using the compact framework

I was trying to find some information about “How to create Today Screen plugins using the compact framework”.

I have found this :

http://msdn.microsoft.com/chats/embedded/embedded_010603.asp

Host Guest_mikehall_ms
Q:
andrew: Can I make changes / replace the Today screen through pInvoke in the compact framework, Is there API to use, or is that still reserved for the C++ API only.

Host Guest_mikehall_ms
A:
You can call out to 'native' code from a compact framework application, you cannot call into a compact framework application, today screen add-ins are Win32 'native' DLL's that expose specific functions

Using the Today API
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppc2k/html/ppc_yapi.asp


Conclusion:
Today screens require COM, which is not supported in this version of the CF. The Compact Framework doesn't have the ability to expose functions from a DLL in standard Win32 format, which is why we can't use the CF to write a Today add-in. :(

Perhaps in the next future versions of the compact framework might be possible ;)

Posted: Jun 22 2003, 02:21 PM by rbfigueira | with 1 comment(s)
Filed under:

Comments

Lorenzo Barbieri said:

I missed very much the CF support for Today add-ins.
It's very annoing that I've to program them using the old eVC++ with all the related problems.
# June 22, 2003 4:27 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)