How to make a DDE Conversation with the Script DAC Driver?
I've build a DDE-Server "Project2.exe".
I can poke a string from Diadem Script with:
Call DDEOpen("Project2", "DdeServerConv1")
Call DDEPOKETEXT("DdeItem","This text is inserted using DDE",50000)
Call DDEClose()
But I can not make a conversation from Script DAC Driver.
Scriptfile:
----------
Sub SFD_WriteChannel( ChannelNumberP, ParamP, DataP, DoneP, ErrorP )
Call DDEPOKETEXT("DdeItem","This text is inserted using DDE",50000)
DoneP = 1
End Sub
Sub SFD_Init( DeviceParam1V, DeviceParam2V, ErrorP )
Call DDEOpen("Project2", "DdeServerConv1")
End Sub
Sub SFD_DeInit(ErrorP )
Call DDEClose()
End Sub
-----------
When starting DAC, a type mismatch error appears in DDEOpen-command. Is
there a way to solve it? I can't use the DDE-Client block from DAC,
because I have to transmit strings.