开发者

Old Fashion - DDE Question

开发者 https://www.devze.com 2023-01-16 00:55 出处:网络
I use an old outsourced application which creates a DDE server, I\'ve built some code that links to that DDE server and launches it t开发者_JS百科o other server (worked fine).

I use an old outsourced application which creates a DDE server, I've built some code that links to that DDE server and launches it t开发者_JS百科o other server (worked fine).

Now, it can't connect to the DDE server any more, I've check with Excel file on the same Server and it worked fine, I didn't change anything in the code in the server transfer, the code is:

client = new DdeClient("STAR32", "DDE");
client.Advise += client_Advise;
client.Disconnected += client_Disconnected;
client.Connect();

Any ideas?

Thanks!


To get it functioning remove the following piece of code: client.Connect(); recompile, then it will run properly.

0

精彩评论

暂无评论...
验证码 换一张
取 消