Writing Custom Unmanaged DLLs
This section will give a very brief introduction to writing native code using eMbedded Visual C++ 4. These details will vary from compiler to compiler; if you are using a different C++ compiler, you might need to make changes.
Choosing an eMbedded Visual C++ 4 Project Type
When using eMbedded Visual C++ 4, the developer can use either the WCE Dynamic-Link Library or the WCE MFC AppWizard (dll) project type. The former is used for simple DLL projects, and the latter is used for DLLs that make use of the Microsoft Foundation Classes (MFC) library. For simplicity, we won’t consider MFC projects in this chapter; in any case, marshaling between managed and unmanaged code is unaffected by MFC considerations. Figure 22-1
Get Microsoft® .NET Compact Framework (Core Reference) now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.