Log in

View Full Version : Creating a P/Invoke Library for the .NET CF


Mike Temporale
01-28-2004, 04:00 PM
<div class='os_post_top_link'><a href='http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/html/PInvokeLib.asp' target='_blank'>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/html/PInvokeLib.asp</a><br /><br /></div>"This sample demonstrates how to P/Invoke numerous useful native functions that are not directly available through the .NET Compact Framework. A test Form is provided that enumerates all available test procedures and allows the user to select and run them."<br /><br />Geoff Schwab has a great collection of the most commonly requested P/Invoke functions. If you're a developer looking to play or record a .wav file, preform a soft reset, or maybe check the memory on your device you should give this article a read.<br /><br />Note: These examples are based on the .NET Compact Framework 1.0. Some examples may not work in the Smartphone environment, like the controls for SIP. :wink: