Calling PSCS2 from C++

Discussion of Photoshop Scripting, Photoshop Actions and Photoshop Automation in General

Moderators: Tom, Kukurykus

geHucKa

Calling PSCS2 from C++

Post by geHucKa »

I created an Application object and got active document object successfully in my C++ application. But I can't call Trim method. It always fails. I call method like this:

Document->Trim(psTopLeftPixel, true, true, true, true);

Somebody please explain to me how I should call methods which take a _variant_t as parameters.

Sorry for my english.

Professional AI Audio Generation within Adobe Premiere Pro - Download Free Plugin here

xbytor

Calling PSCS2 from C++

Post by xbytor »

You are probably better off asking people over in the SDK group on Adobe Forums or on the SDK mailing list.
Mike Hale

Calling PSCS2 from C++

Post by Mike Hale »

You can look here http://www.pcpix.com/Photoshop/

That site is for C#, but might help