Page 1 of 1

[DONE] Error: Unknown Windows API function

Posted: Mon Dec 08, 2008 7:21 am
by Mistrel
Unknown Windows API function:
_SHGetFolderPathA@20

Code: Select all

ProcedureDLL TB_Test()
	Path.s=Space(#MAX_PATH)
	SHGetFolderPath_(0,#CSIDL_SYSTEM,0,0,@Path.s)
EndProcedure

Posted: Mon Dec 08, 2008 5:34 pm
by ABBKlaus
the title says error, but its a warning.

Posted: Mon Dec 08, 2008 7:54 pm
by Mistrel
I didn't realize it still compiled. Why does this API function have a warning?

Posted: Tue Dec 09, 2008 8:45 am
by gnozal
Mistrel wrote:I didn't realize it still compiled. Why does this API function have a warning?
Probably because it's not found PureLibraries\Windows\.

Posted: Tue Dec 09, 2008 1:59 pm
by ABBKlaus
it was the missing "@" in the file "shfolder.lib". I modified the TailBite sources and the next version will not have that annoying warning anymore.