From 41e2f48daf2926e81ca56fd378708276e41942a6 Mon Sep 17 00:00:00 2001 From: janwas Date: Sat, 29 Jan 2005 16:43:46 +0000 Subject: [PATCH] add reference to required .lib files to fix linker errors reported by stu This was SVN commit r1860. --- source/lib/sysdep/win/wdbg.cpp | 1 + source/lib/sysdep/win/win.cpp | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/source/lib/sysdep/win/wdbg.cpp b/source/lib/sysdep/win/wdbg.cpp index acbaee7df1..07548069d6 100755 --- a/source/lib/sysdep/win/wdbg.cpp +++ b/source/lib/sysdep/win/wdbg.cpp @@ -33,6 +33,7 @@ #ifdef _MSC_VER #pragma comment(lib, "dbghelp.lib") +#pragma comment(lib, "oleaut32.lib") // VariantChangeType #endif diff --git a/source/lib/sysdep/win/win.cpp b/source/lib/sysdep/win/win.cpp index a0df95c189..cf2a0bc7b1 100755 --- a/source/lib/sysdep/win/win.cpp +++ b/source/lib/sysdep/win/win.cpp @@ -28,6 +28,10 @@ #include #include // pick_dir +#ifdef _MSC_VER +#pragma comment(lib, "shell32.lib") // for pick_directory SH* calls +#endif + void sle(int x) { @@ -56,6 +60,7 @@ inline int get_executable_name(char* n_path, size_t buf_size) return nbytes? 0 : -1; } + static int CALLBACK browse_cb(HWND hWnd, unsigned int msg, LPARAM lParam, LPARAM ldata) { UNUSED(lParam);