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

后端 未结 6 897
甜味超标
甜味超标 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:27

    the problem of 64/32 bit versions is a little more complicated, as you might be running a 32bit photoshop on a 32 bit OS. I would try for the sake of testing to set the project target to x64 and if that can run the photoshop64, than you might even make your code compile twice (2 dlls) and load them according to the photoshop version.

提交回复
热议问题