Thanks for response, is there a way to do accurate timing in .net? with out going to a system level library and if not what is the Linux equivalent for the timer this code? I looked at System.Diagnostics.Stopwatch, but that does not have an event (or else I could not find one) for each tick so I can keep track, for while the example posted does not show it, I need to make thread start and stop and see the results on a specific time period.
Thanks agian On 3/19/07, Jonathan Pryor <[EMAIL PROTECTED]> wrote:
On Mon, 2007-03-19 at 15:39 -0700, William Huskey wrote: > I have this program that uses kernel32.dll and I have linked the wine > kernel32.dll to help this You can't intermix Mono and Wine as Linux binaries at this time. (I'm not sure if that will ever be possible.) Trying to use Wine's KERNEL32.DLL from within Mono won't work... ...unless you run a Win32 build of Mono within Wine. (Not sure if this will work, but it should work, at least in principal.) Of course, the problem with this is that you can't use Unix libraries from within Mono within Wine (so you'd e.g. have to use Win32 GTK+ within Wine on Linux instead of Linux GTK+). The better solution is to use a better managed type, such as System.Diagnostics.Stopwatch in .NET 2.0, or to use a Linux equivalent to QueryPerformanceCounter() when running on Unix. - Jon
-- William S. Huskey UNIX Systems Engineer Maritime Systems Solutions Division SAIC Tel: 425-267-5643 Email: [EMAIL PROTECTED]
_______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
