FAQ
Is there any getting started guides or how-to guides installed with the .NET SDK?
- No, there is not. There is a .chm file where the H15 SDK was installed that describes the classes, enums, and the like available for use in your application.
Where is the .NET SDK DLL?
- Typically where you unzipped the SDK, and from there: \bcrctl\Version xxx\NETCF\bcrctl.net.dll.
How do I soft-reset the device programmatically from my .NET application?
- In C#:
[DllImport("coredll.dll", SetLastError = true)]
static extern int SetSystemPowerState(string psState, int StateFlags, int Options);
const int POWER_FORCE = 4096;
const int POWER_STATE_RESET = 0x00800000;
- Then call
SetSystemPowerState(null, POWER_STATE_RESET, POWER_FORCE);
How do I run my application on startup?
- There are various ways. One way involves editing the registry (see this link), where you can then do a backup of your device, and have it (and your application) persist across cold resets. Another way, which is very simple, is to just place a shortcut to your application in \FlashDisk\Startup\warm\.