Partager via


DLLENTRY (Compact 2013)

3/26/2014

The _DllEntryCRTStartup function has been removed from Windows Embedded Compact 2013, which may result in a failure to call DllEntry during DLL loading. If you use the DllEntry function as your DLL entry point, make the following changes to avoid any problems with DLL loading:

  1. Change the name of your DLL entry point to DllMain.
  2. If the line DLLENTRY=_DllEntryCRTStartup exists in your Sources file, delete the line or replace it with DLLENTRY=_DllMainCRTStartup.
  3. If you export DllEntry, update your .def file to export DllMain instead.

See Also

Concepts

Sources File
TARGETTYPE

Other Resources

DllMain
DisableThreadLibraryCalls