Permalink Submitted by G Bradley MacDonald (not verified) on Sat, 12/31/2016 - 00:35
Hello Issam - a very nice piece of code.
I was using it - and testing it - and I came across an interesting problem. If you use the code to try to generate the popup menu for 'c:\' (or any root directory - d:\, e:\, etc.) - it will crash on the line
Issue with using this with 'c:\'
Hello Issam - a very nice piece of code.
I was using it - and testing it - and I came across an interesting problem. If you use the code to try to generate the popup menu for 'c:\' (or any root directory - d:\, e:\, etc.) - it will crash on the line
OleCheck(ShellParentFolder.ParseDisplayName(HND, nil,
PWideChar(WideString(ExtractFileName(aFileList[idx]))),
chEaten, FilePIDL, dwAttributes));
the error is (raised exception exception class EOleSysError with message 'The parameter is incorrect')
Have you encountered this?
Do you have a workaround?