I recently had to convert a Windows Embedded Compact ATL component into a Platform Builder subproject. Before I go into further detail, let me give you a piece of advice:
Don’t do it unless you absolutely have to!
If you choose to ignore my advice, please follow these steps (Windows Embedded CE 6.0 and later):
In your OSDesign:
· Make sure you have selected the Active Template Library (ATL) catalog item (SYSGEN_ATL)
In your sources file:
· Add WINCEATL80=1
· Remove ANY explicit ATL include path form the INCLUDES macro
· For a sysgened project add $(ATL8LIBS) to the TARGETLIBS macro (if you want to link against the debug version of ATL use $(ATL8LIBD) instead)
· For non sysgened projects add $(S_ATL8LIBS) to the TARGETLIBS macro (if you want to link against the debug version of ATL use $(S_ATL8LIBSD) instead)
Post this to a friend!
1 week ago