# GUI applications

>> Sample Code: \rsxnt\sample\gui\enumw

RSXIDE

This application can also run under Win3.1 with Win32s if the program does not requires threads.

The -Zwin32 switch links the default libraries KERNEL32, USER32 and GDI32 to the application.

Compile command:

    gcc -Zwin32 -o speed.c

If your program uses resources:

Run resource compiler grc and the resource linker rsrc. You can also use the Microsoft tool rc.exe instead of grc.exe.

    grc -r enumw.rc
    rsrc enumw.res enumw.exe

## Linking other Libraries

>> Sample Code: \rsxnt\sample\gui\ctl3d

>> Sample Code: \rsxnt\sample\gui\commctl

To link additional libraries:

        gcc -Zwin32 rsxwbind.c -lcomdlg32
        gcc -Zwin32 rsxwbind.c -lcommctl

Notes: \RSXNT\LIB contains the following additional libraries:

    ADVAPI32    COMCTL32
    COMDLG32    CTL3D
    LZ32        OLE32
    SHELL32    VDMDBG
    VERSION    WSOCK32
    COMMCTL