I have 2 different applications both created in VFP6. I tried to create a DDE conversation in between the two of them. I know that the link is established but the Request of data fails all the time. All the dde commands seem to fail except the ddeinitiate.
Here is the code for the dde client:
nchannel=ddeinitiate('Mirserv','system')
if nchannel<>-1
ddeexecute (nchannel,'select C_pat')
ddeexecute (nchannel,'scatter memvar')
mrecipid=DDEREQUEST(nchannel,'m.CRECIPID')
endif
nchannel returns a value (ncahnnel=0).
Can anyone help?
Here is the code for the dde client:
nchannel=ddeinitiate('Mirserv','system')
if nchannel<>-1
ddeexecute (nchannel,'select C_pat')
ddeexecute (nchannel,'scatter memvar')
mrecipid=DDEREQUEST(nchannel,'m.CRECIPID')
endif
nchannel returns a value (ncahnnel=0).
Can anyone help?