Category: Application Development
Application Development related
Make .NET CF the same as desktop .NET
Read the rest of entry »
Windows Pads .. Windows 7, CPUs, Windows CE, Windows Embedded Standard 7
Read the rest of entry »
About
Lets completely work through a Platform Invoke Example.
For simplicity I’ll use a Windows Mobile Emulator, but it would simply apply to an actual Windows Mobile Device/Windows CE device.
Context:
Visual Studio 2008 with a suitable Windows Mobile or Windows CE Emulator/SDK installed.
Using C# for the application and C++ for the native DLL.
I have also tried this on my Windows Mobile 6.53 Phone
First
Create a new C# Smart Device Project .. Ignore the .NET Ver ...
Read the rest of entry »
Aka PInvoke
Native and Managed Code
Native code is code written in C++ (or assembler) and compiled to produce a binary executable or .DLL. Native code applications are CPU specific and only require the executable and any other required native .DLLs. Native code applications and .DLLs do not produce MSIL code.
Managed code applications are written in C# or VB.NET using the .NET Compact Framework (CF). Unlike desktop .NET, C++ cannot be used to code .NET CF (Smart Device) applications. CF provides a rich l ...
Read the rest of entry »
This is where native code meets .NET. Its very much a black art, lots of smoke and mirrors etc. etc… But a necessary evil with Windows CE. That is because it is the gateway from .NET applications to the hardware and to the operating system. This is the first of a series of blogs on this matter.
I must though give credit to others’ who shoulders I am standing on for this. Whilst I have had experience with PInvoke going back to the first version of .NET CF on Windows CE (I think it was about V4.2) I have referenced a number of sources in an attempt to provide a comprehensive coverage of this topic. I’ll provide a reading list and some links in a later blog.
Read the rest of entry »