The NSA post this week the list of the Top most dangerous programming errors, from the SQL request to the encrypted data.....
Don't forget ... There are only 10 types of people in the world: Those who understand binary, and those who don't.
Check this out here.
- Nicolas
Tuesday, January 13, 2009
TOP 25 Most Dangerous Programming Errors
Posted by
Nicolas BESSON [MVP]
0
comments
Labels: General
Req : Using Windows CE Test Kit for Unit Testing
I would like to write a post about unit testing and the Windows CETK. To go deeply in this suject I would like to know your background experience with this tool or if you are using other tools for unit testing of your applications under Windows Embedded CE or Windows Mobile.
You can submit all your testimonials to nbesson.blog@gmail.com
Thanks for your help.
- Nicolas
Posted by
Nicolas BESSON [MVP]
0
comments
Labels: Debugging, General, Windows CE 6.0, Windows Mobile
Wednesday, January 7, 2009
Windows Mobile Developer Power Toys
The Windows Mobile Developer Power Toys help you develop and test your Windows Mobile applications.
The Power Toys include:
- Emulator ActiveSync Connection Tool - Allows Activesync to connect to your Emulator session from Visual Studio .NET 2003.
- ActiveSync Remote Display - Display Pocket PC applications on your desktop or laptop without needing any device side configuration.
- CECopy - Command line tool for copying files to the device currently connected to desktop ActiveSync.
- Convert PPC DAT to SP XML - Command line tool for generating Smartphone CABWizSP XML docs from existing Pocket PC CAB files.
- Hopper - User input stress simulator.
- JShell - UI version of the Platform Builder Target Control Window.
- PPC Command Shell - Command shell for the Pocket PC 2003 device.
- RAPI Debug - Displays detailed information about currently running processes.
- RAPI Start - Command line tool to remotely start an application on your Pocket PC from your desktop.
- TypeIt - Send characters/strings to the Smartphone 2003 Emulator via ActiveSync.
Posted by
Nicolas BESSON [MVP]
0
comments
Labels: ActiveSync, Windows Mobile
Monday, November 24, 2008
Debugging Windows Mobile devices
Another boring notification while debugging Windows Mobile devices, is linked to the default security level of the OS. On every start of the debugger, VS2005 launch required applications on the device that are not digitally signed, so device warn you.
One solution to disable those warning messages, is to disable and change the security level. Of course this will completely remove all the security on the device... so make sure to revert your changes after debugging process to avoid any damages on your device.
On the device you have to set the following :
[HKEY_LOCAL_MACHINE\Security\Policies\Policies]
"00001001"=dword:1
"0000101a"=dword:1
- Nicolas
Posted by
Nicolas BESSON [MVP]
0
comments
Labels: Debugging, VS2005, Windows Mobile
ActiveSync Tweak
If you are like me, connecting, disconnecting, all day long, various Windows Mobile and Windows CE devices to you computer through ActiveSync, at each connection ActiveSync bother you make a partnership !
Partnership are nice while it's your personal or business device and you bring it everywhere with you to get an updated schedule and email... but while you are debugging applications, you don't want to be prompted.
ActiveSync have a "secret" registry key to always associate connected device as guest and will never prompt you anymore for any partnership.
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows CE Services]
"GuestOnly"=dword:1
Set this value on your desktop computer and then plug your devices !!!
To revert this, just set GuestOnly to 0(zero) and partner ship will be enabled.
- Nicolas
Posted by
Nicolas BESSON [MVP]
1 comments
Labels: ActiveSync, Debugging, Windows CE 6.0, Windows Mobile
Wednesday, November 19, 2008
ARM European Technical Conference
The ARM European Technical Conference will take place tomorrow November 20 th in Paris. It's not too late to register for the event (link).
- Nicolas
Posted by
Nicolas BESSON [MVP]
0
comments
Monday, November 17, 2008
Dll Imports
When you are connecting managed code to native, it is often a pain to figure out how to write the “DllImport” properly. I'm using this site CONSTANTLY when I need access to native code from C#. It allows you to search on a function name and see user contributed definitions for the DLL Import…
http://www.pinvoke.net/
(Thanks to Joe)
- Nicolas
Posted by
Nicolas BESSON [MVP]
0
comments