From: SourceForge.net <no...@so...> - 2008-03-13 00:04:44
|
Bugs item #1913194, was opened at 2008-03-13 13:04 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=1913194&group_id=2435 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: w32api Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: James Roberts-Thomson (james_rt) Assigned to: Nobody/Anonymous (nobody) Summary: shell32.dll function(s) missing in w32api Initial Comment: I am trying to compile some example source which calls the function SHParseDisplayName (example attached), and it fails thus: g++ -mno-cygwin -mwindows -o dragdrop.exe dragdrop.cpp -lole32 -lcomctl32 -lgdi32 -lshlwapi dragdrop.cpp: In function `HRESULT GetUIObjectOfFile(HWND__*, const WCHAR*, const IID&, void**)': dragdrop.cpp:82: error: `SHParseDisplayName' undeclared (first use this function) dragdrop.cpp:82: error: (Each undeclared identifier is reported only once for each function it appears in.) It seems that SHParseDisplayName is not defined in any .h files even though it appears in both libshell32.a and the shell32.def files from the w32api 3.11 source. I am using Cygwin with the mingw and w32api cygwin packages, thus: $ uname -a CYGWIN_NT-5.1 pcname 1.5.25(0.156/4/2) 2008-03-05 19:27 i686 Cygwin $ g++ --version g++ (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125) $ egrep "w32api|mingw" /etc/setup/installed.db gcc-mingw gcc-mingw-20040810-1.tar.bz2 0 gcc-mingw-core gcc-mingw-core-20050522-1.tar.bz2 0 gcc-mingw-g++ gcc-mingw-g++-20050522-1.tar.bz2 0 gcc-mingw-g77 gcc-mingw-g77-20050522-1.tar.bz2 0 gcc-mingw-gpc gcc-mingw-gpc-20040810-1.tar.bz2 0 mingw-runtime mingw-runtime-3.14-1.tar.bz2 0 w32api w32api-3.11-1.tar.bz2 0 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=1913194&group_id=2435 |