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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using DDE under Visual and ZetaFax

Status
Not open for further replies.

alexbo

Programmer
Jul 26, 2002
20
IT
Hi everybody,
I've got a query, I'm trying to do a program in Visual C++ that sends command thru dde to a ZetaFax application. I've got a book that contains examples in Visual Basic and not in Visual C
I allready established a connection using the
DdeInitialize(&Serv,pBack,APPCLASS_MONITOR,0); and the
Con=DdeConnect(Serv,StrServ,StrTop,NULL);
but as soon as I try to transfer some data using the
DdeClientTransaction((LPBYTE)macro_data, 1, Con, 0, CF_TEXT, XTYP_EXECUTE, 5000, Res);
the ZetaFax application gives me an error, saying the dde data are invalid.... Does someone have any Idea Thanks Alex.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top