Eliseu_CEL
December 22nd, 2005, 12:25 PM
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'
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):
"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.
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'
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):
"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.