WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

DDE

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

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
File Created: 1999:04:15:16:49:44
Last Updated: 1999:04:15:16:49:44