You can determine the total size of a Storage Card and available free bytes using the GetDiskFreeSpaceEx API function. Below is a “mini-wrapper” around the function which returns a structure with the three return values. You’ll notice in this example I’m marshalling longs (64bit Integers), values greater than 32bit cannot be marshalled by value but […]
I’ve posted a new article to OpenNETCF.org about hosting Native windows controls from within the .NET Compact Framework. The approach used allows you to host the control within a Control object and receive notification back from the control thus supporting Events. The first control to use this technique was the HTMLViewer in the Smart Device […]
In the full desktop framework all Controls and Forms expose the Handle property which represents the native window handle of the control – this can be passed to API functions. In the Compact Framework this property is not implemented. In the Smart Device Framework we have created the OpenNETCF.Windows.Forms.IWin32Window interface which matches the equivalent interface on […]
To co-incide with our latest source-code release of the Smart Device Framework, we’ve implemented an online source browser which you can use to view our complete portfolio of code. One of the features of this is the ability to search for keywords in the code. A good example of why you might want to do […]
To give an overview of the various namespaces, classes, structures and interfaces which make up the OpenNETCF Smart Device Framework, I have created a poster – which you can now download in PDF format and print out as big as you want from the link below:- OpenNETCF Posters I’ll also be uploading shortly a further refresh to […]
Kevin Lisota has just posted about his excitement for the upcoming MDC in San Francisco. It’s shaping up to be a really interesting event and of course OpenNETCF will be providing an exciting session:- “CLI345 – Developing Real-world Smart Device Applications with Visual Studio .NET 2003, .NET Compact Framework and OpenNETCF SmartDevice Framework The .NET […]
The Smart Device Framework, OpenNETCF’s ambitious collection of tools, libraries and controls has now been released. If you are a .NETCF developer you have to check this out:- http://www.opennetcf.org/smartdeviceframework.asp Enjoy!
This Win32 to .NET mapping article on MSDN caught my eye recently. It’s aim is to show the mapping between Win32 API functions and their managed equivalent. This is for the full desktop framework, would you be interested in a Compact Framework equivalent? Since Compact Framework development generally requires a fair bit of P/Invoke its […]