0

i wanna use the Sleep fucntion in a CLR vc++ app, if i include windows.h it gives a huge list of errors, if i use _sleep() then it dowsnot work at many systems since its obslete. what should i do? i am bound to use CLR bcoz my code uses items from the namespace System.

P.s i am using visual studio 2010

3
Contributors
4
Replies
5
Views
7 Years
Discussion Span
Last Post by cent91
0

if i include windows.h in a CLR console app (c++) it gives so much ambigious call errors of IServiceProvider. so i cant use Sleep() and solution to fix it?

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.