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.
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