DWORD dwAttr = GetFileAttributes(pfad);
if (dwAttr != 0xffffffff)
{
if (dwAttr & FILE_ATTRIBUTE_DIRECTORY)
{
return TRUE;
}
}
return FALSE;
}
void main()
{
if(IstDerPfadEinOrdner("C:\Windows"))
printf("The path is a folder ergo directory\n");
else printf("The path is not a folder or directory\n");
}
(Image-1) How can I query whether a path is a folder or directory?
With your own trim string in cpp, simply shorten the strings individually ////////////////////////////////////////////////// ////////////////////// // //
The solution is very simple to fix the error code: "was ended with code -1073741701 0xc000007b error message" Mostly there are errors in the * .manifest
The solution is very simple to find out in ListView Get Item Image and List View GetI Subtem Image ////////////////////////////////////////////////// //////////////////////
The solution is very easy to start with the ShellExecuteEx function, search for File in in LPCITEMIDLIST BOOL SearchCmdLPCITEMIDLIST LPCITEMIDLIST item,