IServiceProvider error

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
 
M

MadhaviAgashe

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top