The switch is documented here.
C# - What happens if I set dll option "embedded interop type" to false or true in vs10? [closed]
-
02-07-2022 - |
質問
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.
解決
所属していません StackOverflow