On Mon, 15 Sep 2008, Danny Backx wrote:
> On Mon, 2008-09-15 at 08:49 +0200, Vincent Torri wrote: >> Hey, >> >> I'm using SHCreateShortcutEx and SHGetShortcutTarget to deal with .lnk >> files, but it seems that they are not declared. Is it a bug, or is it >> intentional ? > > Bug. A patch would be most welcome :-) > > Be sure to use only valid sources of information while constructing the > patch, e.g. MSDN is a valid source, Visual C++ include files are not. actually, SHGetShortcutTarget() is good, but SHCreateShortcutEx() is not declared and the returned type of SHCreateShortcut() is not correct. Also, it seems that SHCreateShortcutEx() exists only for "Windows CE .NET 4.2 and later", so should the declaration be something like: #if (_WIN32_WCE >= 0x420) DWORD WINAPI SHCreateShortcutEx(LPTSTR,LPTSTR,LPTSTR,LPDWORD); #endif ? Vincent Torri ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Cegcc-devel mailing list Cegcc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cegcc-devel