IServiceProvider error

  • Thread starter Thread starter Simon Jefferies
  • Start date Start date
S

Simon Jefferies

Hello,

I'm writing a managed c++ project and have the following error:-

error C2872: 'IServiceProvider' : ambiguous symbol
could be 'c:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\Include\ServProv.h(48) : System::IServiceProvider
IServiceProvider'
or 'stdafx.cpp : System::IServiceProvider'

How can i fix this?
Cheers
Simon
 
Hi Simon,
In case you haven't got a solution yet for this problem go to th
following link...........

http://www.dotnet247.com/247reference/msgs/9/47898.aspx
Hope this helps,
Madhavi





Simon said:
*Hello,

I'm writing a managed c++ project and have the following error:-

error C2872: 'IServiceProvider' : ambiguous symbol
could be 'c:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\Include\ServProv.h(48) : System::IServiceProvider
IServiceProvider'
or 'stdafx.cpp : System::IServiceProvider'

How can i fix this?
Cheers
Simon


-
MadhaviAgash
 
Back
Top