CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Threaded View

  1. #1
    Join Date
    Dec 2005
    Location
    SJCampos - SP - Brazil
    Posts
    30

    Question Internal Errors in: VC7\PlatformSDK\ - error C2872

    Hi guys. Thank you for your attention.

    I am developing right now a Wrapper C++ Managed to be able to use a library C++ Unmanaged in a “.NET” application.

    When I compiled it, some .NET internal errors were found. The unit/file with problem is “ServProv.h” and the erros are:

    Error 1:
    \Vc7\PlatformSDK\Include\ServProv.h(93) : error C2872: 'IServiceProvider' : ambiguous symbol
    could be '\Vc7\PlatformSDK\Include\ServProv.h(48) : System::IServiceProvider IServiceProvider'
    or 'Stdafx.cpp(0) : System::IServiceProvider'
    Code:
    ServProv.H (93):
    "typedef /* [unique] */ IServiceProvider *LPSERVICEPROVIDER;"
    Error 2:
    \Vc7\PlatformSDK\Include\ServProv.h(100) : fatal error C1903: unable to recover from previous error(s); stopping compilation
    linhas.cpp
    Before that, I found one warning:
    \Vc7\PlatformSDK\Include\ServProv.h(48) : warning C4935: assembly access specifier modified from 'public'
    ServProv.H (48):
    Code:
    "typedef interface IServiceProvider IServiceProvider;"
    Do U guys know what is going on here?

    Note: I have put my Wrapper class attached but I do not see a conection with this internal errors...

    Thanks in advanced and cheers from Brazil.
    Attached Files Attached Files
    Last edited by Eliseu_CEL; December 23rd, 2005 at 03:39 PM. Reason: Using of quotes and improving the Title

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured