According to the MSDN, should be to find LinkTopic,
VB6 can implement DDE communication between processes in a 64 - bit systems?
'the sender code
'
Option Explicit
Private Sub Command1_Click ()
PicDDE. LinkTopic="app2 | CCCC"
PicDDE. LinkMode=2
PicDDE. LinkExecute Text1. Text
End Sub
The receiver code
Option Explicit
Private Sub Form_LinkExecute (CmdStr As String, Cancel the As an Integer)
Text1. Text=CmdStr
Cancel=0
End Sub
CodePudding user response:
No, I guess,CodePudding user response:
DDE initialization time without external application responseThis is typically DDE host didn't open it, you make sure of the host program normally open?
System of DDE service started yet?
CodePudding user response:
Should be not,32-bit programs that are running a 64 - bit system, so in a 32-bit virtual machine running,
Across different virtual machine is equal to the computer, DDE is can only be used in the machine,
CodePudding user response:
I in Windows 7 64 - bit ultimate/SP1 environment test is successful,The main problem, it may be here:
PicDDE. LinkTopic="app2 | CCCC"
May be "app2 | CCCC" environment does not match with the receiving end,
Second possibility, that is, there are some properties you did not set up correctly,
CodePudding user response:
I am a 64 - bit Windows 7 system, can communication when testing, but in the concrete application will can't find the project name, appear "DDE initialization time without external application response" problem, I always can't find the problem