[pylucene-dev] building JCC on Windows with MinGW

Bill Janssen janssen at parc.com
Thu Mar 20 17:30:06 PDT 2008


> How about using ctypes to test whether the library is already on the
> PATH?  ctypes.LoadLibrary("jvm"), I believe.  2.5 only, but that's not
> really as much of an issue on Windows as it is on OS X.

Actually, it's ctypes.windll.LoadLibrary("jvm").  Raises a
WindowsError if it can't be found.

Bill


More information about the pylucene-dev mailing list