Connecting Tech Pros Worldwide Help | Site Map

Getting 'IServiceProvider' : ambiguous symbol' error after adding Sleep()

Newbie
 
Join Date: Dec 2007
Posts: 10
#1: Jul 17 '08
Hi,

I have created one project in Visual studio 2005.
For my application i need to put Sleep() function.n i have added the #include <windows.h>

Now if i run this i am getting error as' IServiceProvider' : ambiguous symbol
Please if any one knows about this let me know..

Actually i have created in one more project with single form n if i include this sleep function it is running properly..if i put the same in my Application i am getting error..
please let me knw where i have gone wrong
Reply