[Mono-list] Unhandled Exception: System.EntryPointNotFoundException:

Jonathan Pryor jonpryor at vt.edu
Mon Mar 19 19:52:27 EDT 2007


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




More information about the Mono-list mailing list