Creating automated help system

Subject: Creating automated help system
From: "D.M." <dam -at- esrd -dot- com>
To: "TECHWR-L" <techwr-l -at- lists -dot- raycomm -dot- com>
Date: Wed, 2 Jul 2003 16:14:00 -0500


I've used FrameMaker to insert a named destination with the
name "error" in a .pdf file. Now I would like to navigate to that
location programmatically using DDE and Acrobat Reader, but
DdeClientTransaction fails with DMLERR_NOTPROCESSED.
Following is the code:

const char *DDE_CMD_STRING = "[FileOpenEx(\"D:\\Temp\\TestFile.pdf\")]";
const char *DDE_CMD_STRING1 =
char ddeCmdBuf[64];
char ddeCmdBuf1[100];

strcpy (ddeCmdBuf, DDE_CMD_STRING);
strcpy (ddeCmdBuf1, DDE_CMD_STRING1);

// Omitted DDE initialization and other setup
DdeClientTransaction ((unsigned char *)ddeCmdBuf, (DWORD)strlen(ddeCmdBuf),
// No problem here file opens

DdeClientTransaction ((unsigned char *)ddeCmdBuf1,
(DWORD)strlen(ddeCmdBuf1), (HCONV)hConversation,NULL, (UINT)CF_TEXT,
(UINT)XTYP_EXECUTE, (DWORD)1000, &dwResult);
// This call fails

Is there something I'm missing?


Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (
Version: 6.0.490 / Virus Database: 289 - Release Date: 6/17/2003


Create professional Help systems that feature interactive tutorials and
demos with all new RoboHelp Studio. More at

Mercer University's online MS Program in Technical Communication Management:
Preparing leaders of tomorrow's technical communication organizations today.
See or write George Hayhoe at hayhoe_g -at- mercer -dot- edu -dot-

You are currently subscribed to techwr-l as:
archive -at- raycomm -dot- com
To unsubscribe send a blank email to leave-techwr-l-obscured -at- lists -dot- raycomm -dot- com
Send administrative questions to ejray -at- raycomm -dot- com -dot- Visit for more resources and info.

Previous by Author: big trouble with .chm file/MS HTML Help Workshop
Next by Author: Re: Learning to code on the cheap
Previous by Thread: Robohelp context-sensitive help question
Next by Thread: Another annoying little Word peccadillo

What this post helpful? Share it with friends and colleagues:

Sponsored Ads