try adding library. libcomdlg32.a. project > build options > linker settings. along with. gdi32 ,user32 ,kernel32 , comctl32 ...
www.google.com.tw