Screen mode retrieval/trace tool for Windows
denver at ossguy.com
Tue Mar 4 21:19:11 CST 2008
On Tue, Mar 4, 2008 at 7:07 PM, Dmitry Timoshkov <dmitry at codeweavers.com> wrote:
> "Denver Gingerich" <denver at ossguy.com> wrote:
> > >gcc -lgdi32 -luser32 -o x x.o -mwindows
> > x.o:x.c:(.text+0x5e): undefined reference to `EnumDisplaySettingsExA'
> > collect2: ld returned 1 exit status
> > I'm not very familiar with building applications that use the Windows
> > API with MinGW so it's very likely that I made a silly mistake.
> > Suggestions on how to fix this would be appreciated.
> You could try EnumDisplaySettings instead.
Surprisingly (to me), that worked. Thanks for the tip. I'll report
back after I've run the tests.
More information about the wine-devel