O'Reilly logo

Microsoft® .NET Compact Framework (Core Reference) by Mark Sutton, Rory MacLoed, Robert Burbidge, Stephen Wheelwright, Andy Wigley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required