On Tue, Jan 8, 2019 at 9:40 PM Sailor Bob via Mingw-w64-public <mingw-w64-public@lists.sourceforge.net> wrote: > > OK, figured out what the problem was - order of arguements on the command > line: > i686-w64-mingw32-g++ -lcomdlg32 -municode -o unilogger.exe > gives the link error, however > i686-w64-mingw32-g++ -municode -o unilogger.exe -lcomdlg32 > > Compiles just fine. Go figure...
it's normal, this is the classic order of dependencies (from the right the libraries with the fewest deps to the left with the most deps) Vincent Torri _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public