locked
winsock2.h compile errors RRS feed

  • Question

  • Hi,
       I am trying to compile my code on windows mobile 6  professional SDK and getting following errors. Basically the errors related to include files and i am including windows.h after winsock2.h.

    Any help is really appreciated.

    Thanks in Advance
    /Mallinath

    My Preprocessor Definitions are
    =======================
    _DEBUG
    _WIN32_WCE=$(CEVER)
    UNDER_CE
    $(PLATFORMDEFINES)
    WINCE
    _LIB
    $(ARCHFAM)
    $(_ARCHFAM_)
    _UNICODE
    UNICODE


    1>C:\Program Files\Windows Mobile 6 SDK\PocketPC\include\ARMV4I\winnt.h(6570) : error C2166: l-value specifies const object
    1>C:\Program Files\Windows Mobile 6 SDK\PocketPC\include\ARMV4I\winnls.h(1087) : warning C4114: same type qualifier used more than once
    1>C:\Program Files\Windows Mobile 6 SDK\PocketPC\include\ARMV4I\winnls.h(1097) : warning C4114: same type qualifier used more than once
    1>C:\Program Files\Windows Mobile 6 SDK\PocketPC\include\ARMV4I\winnls.h(1113) : warning C4114: same type qualifier used more than once
    1>C:\Program Files\Windows Mobile 6 SDK\PocketPC\include\ARMV4I\winnls.h(1123) : warning C4114: same type qualifier used more than once
    1>C:\Program Files\Windows Mobile 6 SDK\PocketPC\include\ARMV4I\winnls.h(1140) : warning C4114: same type qualifier used more than once
    1>C:\Program Files\Windows Mobile 6 SDK\PocketPC\include\ARMV4I\winnls.h(1150) : warning C4114: same type qualifier used more than once
    1>C:\Program Files\Windows Mobile 6 SDK\PocketPC\include\ARMV4I\winnls.h(1166) : warning C4114: same type qualifier used more than once
    1>C:\Program Files\Windows Mobile 6 SDK\PocketPC\include\ARMV4I\winnls.h(1176) : warning C4114: same type qualifier used more than once
    • Moved by nobugz Tuesday, November 18, 2008 6:36 AM Smart Devices @ forums.microsoft.com (Visual C++ Language から Off-Topic Posts (Do Not Post Here) へ移動)
    Monday, November 17, 2008 8:58 PM

Answers

All replies