On Tue, Dec 14, 2004 at 01:12:13PM -0000, Mark Fisher wrote: >hmm, according to >http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/monitor >_82yb.asp >it's available from win98 onwards, and windows 2000 onwards, so >yes, looks like win95 and winNT not supported. > >I'll have a go at patching the code for detecting windows version.
It may be overkill, but you're welcome to use the code in cygwin's winsup/autoload.cc. It does dynamic loading of library entry points and can be configured to just return 0 on failure rather than pop up the annoying dialog. Once you define an entry point in this fashion you can just use it as normal. cgf
