Home > Software engineering >  VB6 DDE communication between the two programs, Windows 7 32-bit system is normal, WinServer error 2
VB6 DDE communication between the two programs, Windows 7 32-bit system is normal, WinServer error 2

Time:11-12

Communications between two VB program, Windows 7 32-bit system running normally, WinServer 2016 error, prompt "real-time error 282, DDE initialization time without external application response"
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 response
This 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
  • Related