hm probably a stupid question but anyway ;) whenever i must use the shlobj.h i never can compile anything so for example the example on Iczelions HP (browseforfolder). Must i define there something else ? For the Bff how must i define the malloc since itīs only declared in the snippet as LOCAL ppMalloc :LPMALLOC and LPMALLOC is nowhere defined. Same problem with for ex. SHGetSpecialFolderPath that sounded kinda easy from msdn BOOL SHGetSpecialFolderPath( HWND hwndOwner, LPTSTR lpszPath, int nFolder, BOOL fCreate ); i tried an simple invoke with SHGetSpecialFolderPath,0,szPath,CSIDL_PRINTERS ,0 but failed :/ any idea ?
Posted on 2000-12-23 12:01:00 by newbie
Change: SHGetSpecialFolderPath,0,szPath,CSIDL_PRINTERS ,0 to: SHGetSpecialFolderPath,0,ADDR szPath,CSIDL_PRINTERS ,0 (lp is long pointer, ie, addres of)
Posted on 2000-12-23 22:02:00 by Ernie
thanx ernie hm still not working but anyways i hope i find the problem :/
Posted on 2000-12-24 04:48:00 by newbie