On Tue, Mar 4, 2008 at 7:07 PM, Dmitry Timoshkov <[EMAIL PROTECTED]> wrote:
> "Denver Gingerich" <[EMAIL PROTECTED]> 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.

Denver


Reply via email to