you should use the visual studio for this case.
The 2005 Version has support for Windows ME, but i don't know if it's for 5.1
But you need to learn C++ or C# for creating tools for Windows Mobile


Visit my site: www.masterq32.de