How to use Shell32 within a C# application?

后端 未结 9 1727
野的像风
野的像风 2020-11-27 17:21

What should I include within a C# application in order to make Shell32 work?

Edit:

My application can\'t recognize shell32. What references

9条回答
  •  无人及你
    2020-11-27 18:04

    If you don't need the full set of API calls, you maybe better off creating a COM import stub class. See how Mike Ward who wrote Desk Drive did it.

    http://mike-ward.net/2008/09/02/a-lean-method-for-invoking-com-in-c/ https://github.com/mike-ward/DeskDrive/blob/master/src/DeskDrive/Shell32.cs

提交回复
热议问题