This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Computer Graphics with Photoshop > February 2007 > CS Automation
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| pvhoffman@gmail.com 2007-01-31, 3:14 am |
| I am trying to use the automation interface in a C++ application with
Photoshop CS. The application is failing with the call to
MakeDescriptor on the application object. This works flawlessly in
Photoshop 6 and I have actually had it work with CS on other
machines. I've uninstalled all versions of Photoshop and reinstalled
CS, registered the typelibrary with regtlb, and have tried tweaking
the registry by hand without success. I've also tried using the
version dependant progid to no avail. One of the stranger thing is
that I've installed the scriptlistener into the plugins folder and the
log file produced many calls that are not available in the COM
interface, such as CharIDToTypeID. Anybody know anything about what
may be causing this?
| |
| pvhoffman@gmail.com 2007-02-01, 6:15 pm |
| On Jan 30, 10:09 pm, pvhoff...@XXXXXXXXXX wrote:
> I am trying to use the automation interface in a C++ application with
> Photoshop CS. The application is failing with the call to
> MakeDescriptor on the application object. This works flawlessly in
> Photoshop 6 and I have actually had it work with CS on other
> machines. I've uninstalled all versions of Photoshop and reinstalled
> CS, registered the typelibrary with regtlb, and have tried tweaking
> the registry by hand without success. I've also tried using the
> version dependant progid to no avail. One of the stranger thing is
> that I've installed the scriptlistener into the plugins folder and the
> log file produced many calls that are not available in the COM
> interface, such as CharIDToTypeID. Anybody know anything about what
> may be causing this?
To Answer my own question or if there are other C++ programmers out
there that want to use the Photoshop CS(2) interface described by the
VisualBasic Reference Guide or the Photoshop Scripting Guide,
#import(VC++) or TLIBIMP(Borland) ScriptingSupport.8LI from Adobe
Photoshop CS2\Plug-Ins\Adobe Photoshop Only\Automate. I personally
havn't had any luck using typelibary.tlb, CoCreateIntance on a
Photoshop.Application.8 or Photoshop.Application.9 object always
returns the infamous interface not supported HRESULT.
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|