Reputation: 5169
I've searched high and low for a class that'll allow me to connect to a DDE server. Whilst I'm aware that DDE is dated and better methods exist, they don't for what I want to connect to.
I found this which apparently works in QT 3, and unfortunately I lack the knowledge of differences to update it to QT 4.
Does anybody have an updated version, the time to update or another solution?
Upvotes: 1
Views: 1440
Reputation: 1040
I know this ancient but to whoever gets here you need to make a small change to that code:
void DDEComm::ddeDisconnect()
{
DdeDisconnect(hConv);
DdeUninitialize(pidInst);
connStatus = false;
}
should become
void DDEComm::ddeDisconnect()
{
DdeDisconnect(hConv);
DdeUninitialize(pidInst);
connStatus = false;
pidInst = 0;
}
Upvotes: 1