[Mono-list] Unhandled Exception: System.EntryPointNotFoundException:
William Huskey
william.huskey at gmail.com
Tue Mar 20 15:22:35 EDT 2007
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 <jonpryor at vt.edu> 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: huskeyw at saic.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20070320/29d73309/attachment.html
More information about the Mono-list
mailing list