CREATING A CONSOLE APPLICATION WITH A DYNAMIC LINK LIBRARY
For this activity you need an existing OS image project that has been built and runs with Kernel and KITL debugging enabled.
In Platform Builder, you can add a native code console application by right-clicking the SubProjects icon in the Solution folder and selecting Add New SubProject. Then select WCE Console Application, give it a name (e.g., MyApp), and select Next. Typically, you would select the second option (“Simple console application”) and finish. This generates a project in a folder below the OS SubProjects folder with the name that you gave the subproject. To create a native DLL project, you do the same except you would select WCE Dynamic-Link Library instead of WCE Console Application. (Call it MyDLL.) For this project select a DLL that exports some symbols.
Configure both projects to be excluded from the image and to be built as follows:
By doing this you can modify the subprojects and rebuild them while the OS is running without rebuilding the OS.
Following are a couple of hints to avoid some confusion with terminology with respect to native projects: