Possible to interact with a 64-bit COM server (Photoshop) from .NET?

后端 未结 6 901
甜味超标
甜味超标 2021-02-05 22:59

I\'ve been trying to write some code to interact with Photoshop, both by adding a COM reference and by late binding. It took me a while to realise that the code did work, but no

6条回答
  •  醉梦人生
    2021-02-05 23:41

    Couple of things to check for using COM from/to different environments:

    1. Toggle the "Embed Interop Types" for the COM reference (see image 1)
    2. Check the Platform Target (see image 2)

    Image 1 - Reference Property Image 2 - Platform Target

提交回复
热议问题