WEC7 MFC project RRS feed

  • Question

  • Hey all,


    I made a default MFC application project, when compiled got the error C2039: 'lstrlenW' : is not a member of 'ATL'. Some googling (on bing) made me realize there are some updates I need to install:

    - Windows Embedded Compact 7 Update 3

    - Visual Studio 2008 update for Windows Embedded Compact 7

    - Windows Embedded Compact 7 ATL Update for Visual Studio 2008 SP1 (which said to resolve the issue I'm facing)


    For some reason, I still get the same error. Anyone got a lead for me?


    Thank you,


    Wednesday, January 18, 2012 2:54 PM

All replies

  • Shahal,

    Did you ever resolve this issue, if so.., How?

    Wednesday, February 8, 2012 1:25 PM
  • Please download the readme.txt from the below link.

    Windows Embedded Compact 7 ATL Update for Visual Studio 2008 SP1

    You need to update the INCLUDES and LIBS path.

    Friday, February 10, 2012 7:52 AM
  • Hello,

    I downloaded and read the readme file. I still don't understand where are the INCLUDES and LIBS path located. That is where do I change them?

    As far as I understand the stdafx.h includes some files which haven't been updated
    (located on my computer in
    C:\Program Files (x86)\Microsoft Visual Studio 8.0\VC\ce\atlmfc\include instead of
    C:\Program Files (x86)\Microsoft Visual Studio 8.0\VC\ce7\atlmfc\include which is the location of the updated files). Is that correct?

    Thank you,

    BTW pd1 as you can see, I didn't resolve this issue yet :\
    • Proposed as answer by SteMMo Wednesday, August 6, 2014 10:16 AM
    Wednesday, February 15, 2012 2:17 PM
  • Here is my additional include directories. After I applied this setting, I could compiler my MFC Smart Device project without errors.

    • Proposed as answer by Vinoth[MCTS] Tuesday, July 24, 2012 11:48 AM
    Friday, March 2, 2012 5:56 AM