Thread: February 2003 SDK induced conflict?

  1. #1
    Registered User
    Join Date
    Dec 2003
    Posts
    2

    February 2003 SDK induced conflict?

    Greetings,

    I recently installed the February 2003 platform SDK. I am
    using VC 6.0 and when attempting to build a sample extension for ESRI's ArcView 8.x I get the following error message:

    Code:
    --------------------Configuration: DisplayExtension - Win32 Unicode Release MinDependency--------------------
    Compiling...
    DisplayExtension.cpp
    C:\PROGRAM FILES\MICROSOFT SDK\INCLUDE\mshtml.h(57258) : error C2011: 'ISegment' : 'struct' type redefinition
    DisplayOptionDialog.cpp
    C:\PROGRAM FILES\MICROSOFT SDK\INCLUDE\mshtml.h(57258) : error C2011: 'ISegment' : 'struct' type redefinition
    DisplayOptions.cpp
    C:\PROGRAM FILES\MICROSOFT SDK\INCLUDE\mshtml.h(57258) : error C2011: 'ISegment' : 'struct' type redefinition
    Generating Code...
    Error executing cl.exe.
    
    DisplayExtension.dll - 3 error(s), 0 warning(s)
    Could this be an ordering issue in my include directories? Or is there some other area I should be looking at?

    Cheers,
    John

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,981
    It's either a namespace collision or a circular inclusion problem.

    Is ISegment declaired in anywhere in your code?

    gg

  3. #3
    Registered User
    Join Date
    Jun 2003
    Posts
    245
    Feb'03 Platform SDK is getting on a bit now. If you subscribed to MSDN to get it, you should have got the October version way back, which, if the bugs in the SDK, will probably have this fixed.

    However, I'd tend to say it was a problam in the code your compiling.

  4. #4
    Registered User
    Join Date
    Aug 2005
    Posts
    1

    For McClane77

    Hello, McClane77

    Did you solve this problem???

  5. #5
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    > Did you solve this problem???
    Did you read the forum rules - nope, didn't think so.
    If you had, you would have known about bumping.

    To add further pointlessness to your question, McClane77 last visit was: 12-16-2003 04:22 PM
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 6
    Last Post: 09-27-2007, 07:17 AM
  2. DirectSound header issues
    By dxfoo in forum C++ Programming
    Replies: 0
    Last Post: 03-19-2006, 07:16 PM
  3. Question..
    By pode in forum Windows Programming
    Replies: 12
    Last Post: 12-19-2004, 07:05 PM
  4. core sdk 2003
    By schez in forum Windows Programming
    Replies: 2
    Last Post: 11-06-2003, 04:03 AM
  5. FILES in WinAPI
    By Garfield in forum Windows Programming
    Replies: 46
    Last Post: 10-02-2003, 06:51 PM