Question

Just wanted to know in general what happens in this case, actually the problem is that one of my projects is using shell32.dll which compiles and executes fine on windows 7 PC however fails on other system like windows xp giving an runtime error

Unable to cast COM object of type 'System.__ComObject' to interface type 'Shell3 2.Shell'

I went through so many web resources but the results did not work for me.

Was it helpful?

Solution

The switch is documented here.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top