Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


3156 Error with DDERequest

Keywords: 	 3146 Error DDERequest

Question:

What does the following error indicate when using DDERequest?
 3156 DDEReq:  Global lock failed.
 DDE_REG = DDERequest (channel, "search")
I'm getting a valid handle back from DDEInitiate (it returns a non-zero), that I'm then plugging into channel, but when I try to do the DDERequest(channel, item), I'm getting the 3156 error.

What exactly does that error message imply?

Answer:

It means that we called the API function DdeClientTransaction() to request the information from the application, and it returned a valid data handle, but when we tried to access the data using the DdeAccessData() API, it failed. I don't know why that would happen. Maybe you could try increasing DDETimeout?
Article ID:   W12804
Filename:   3156 Error with DDERequest.txt