You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've recently stumbled upon an UnsupportedCLSIDException for 59031A47-3F72-44A7-89C5-5595FE6B30EE, when trying to resolve a lnk from a users Desktop pointing towards folders or files on another drive.
My impression was that a Windows lnk could be resolved to its actual target by calling
newShellLink(file).resolveTarget()
where file represents the lnk we want to resolve.
If I'm doing this the wrong way, I'd appreciate a pointer in the right direction.
Thanks in advance!
Stay safe and stay awesome.
Cheers,
Griefed
The text was updated successfully, but these errors were encountered:
Well, these two guids are not in the list of supported guids, hence the exception. You can try registering it yourself using Registry.registerClsid() function and see if it works for you. You don't have to modify the lib for that. Just call it somewhere in your program beforehands.
I'm going to test them and possibly add them to the list if they work
thanks man, much appreciated. I did end up using Registry.registerClsid() by implementing your library directly (unfortunately, Vatbub only has up to version 1.0.6.2, and I wanted the other fixes and improvements you implemented, too).
So far it seems to do the job. I can resolve links from my desktop again. 🙂
Heya DmitriiShamrikov,
I've recently stumbled upon an
UnsupportedCLSIDException
for59031A47-3F72-44A7-89C5-5595FE6B30EE
, when trying to resolve a lnk from a users Desktop pointing towards folders or files on another drive.My impression was that a Windows lnk could be resolved to its actual target by calling
where
file
represents the lnk we want to resolve.If I'm doing this the wrong way, I'd appreciate a pointer in the right direction.
Thanks in advance!
Stay safe and stay awesome.
Cheers,
Griefed
The text was updated successfully, but these errors were encountered: