Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DDE messages

Status
Not open for further replies.

chazoid

Technical User
Dec 2, 2002
300
US
Hi All,
In the SDK for Acrobat Catalog 4.0 (Adobe's pdf indexing app) It says that it supports Windows messages to query the Catalog program to see if it is busy or idle. I'm trying to use Win32::DDE to do this, but I can't even establish communication with Catalog. If I run this:
Code:
use Win32::DDE::Client;
  $Client = new Win32::DDE::Client ('Acrobat', 'control');
  print Win32::DDE::ErrorText ($Client->Error);
I get:
Code:
DMLERR_NO_CONV_ESTABLISHED
The Catalog documentation states "For all DDE messages listed in this document, the service name is Acrobat, and the topic name is control".
I'm running this on Win2K if that makes any difference.

Currently, I'm using the Win32::GuiTest module to initiate indexing in Catalog, but this DDE thing seems to be the only way I can find out if indexing is complete. The only other way I can think of to do what I want would be to use GuiTest to read the window in Catalog that says "Index Build Successful", but it's kind of tricky..

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top