| [ Return to Bugs & Features | Roadmap 2.0 | Post Text | Post File ]
STR #1635
Application: | FLTK Library |
Status: | 5 - New |
Priority: | 3 - Moderate, e.g. unable to compile the software |
Scope: | 2 - Specific to an operating system |
Subsystem: | Unassigned |
Summary: | getMonitorInfoA not supported in windows NT |
Version: | 2.0-current |
Created By: | leesines |
Assigned To: | Unassigned |
Fix Version: | Unassigned |
Update Notification: | |
Trouble Report Files:
[ Post File ]No files
Trouble Report Comments:
[ Post Text ]
|
#1 | leesines 06:27 Mar 20, 2007 |
| I have been using FLTK for a while under Linux and Windows 2000//XP, and everything has been working great. However, I just ran an application on an NT machine we have, and it gives me the error "getMonitorInfoA" not found in DLL user32.dll. I started researching this and found that this function call is not supported in the Windows NT OS, nor it's service packs. Has Fltk been tested under NT, and if so, what am I doing wrong? I can run applications using regular glut on the same machine, which makes me curious as to why it wont work with Fltk's glut. Any help is appreciated! Thanks! | |
|
#2 | matt 09:38 Mar 21, 2007 |
| FLTK 1 takes very special care not to require this function and fall back to the older API if the new calls are not available. So for the FLTK2 maintainers, the code in question is at src/screen_xywh.cxx. | |
|
#3 | fabien 07:53 Apr 02, 2007 |
| did you try to set USE_MULTIMONITOR=0 in visualc/config.h ?
It should disable the use of these API's ... | |
|
#4 | leesines 09:39 Apr 23, 2007 |
| I will give that a try. Thanks! | |
|
#5 | dejan 22:34 May 10, 2007 |
| leesines, what happened with this problem - did suggested solution work? Please let us know so we can close STR or work on some other solution. | |
|
#6 | leesines 04:57 May 11, 2007 |
| Sorry, I've been extremely busy. Basically I never got a chance to try it out, because we decided to upgrade all the machines to XP for a rehost. Now everything works great! | |
|
#7 | ianmacarthur 15:43 May 11, 2007 |
| Matt is right though - fltk-2 should have the code from fltk-1.1 that checks for the presence of the API in the DLL before trying to use it. This works well for me on a variety of win32 boxes from NT4 through the recent XP variants. | |
|
#8 | fabien 15:43 Feb 20, 2008 |
| Using USE_MULTIMONITOR=0 solves the compilation problem under Windows NT4. As no one from the fltk2 team seems to have an NT4 box anymore to test the fltk1 patch, I suggest that no such modification will be issued in the V2.0 of fltk, unless ian can test the fltk1 patch on a fltk2/nt4 box ? I switch the priority of this one to moderate. | |
[ Return to Bugs & Features | Post Text | Post File ]
|
| |