Can anyone tell me about the following error? & How to resolve it?
---------------------------
Error
---------------------------
Invalid handle. Not initialized or points to a deleted object. (3135)
---------------------------
OK
---------------------------
well its best when ur are posting on the forum its best to say what version of progress/open edge you are using? and the code you are getting the message in helps aswell
but that message means you havent created a handle correctly
u can check if is-valid(handle-name) then.... else ..... to avoid progress generated error. But the error is coming as the handle is deleted somewhere in your program .....or is not initialised correctly...
A handle is nothing more than a pointer to an object in memory that you can store on a variable of type handle. When the object has been destroyed ( for example it could have gone out of scope ) the variable won't be cleared too. You need to do this in your code manually.
It is good practice when you destroy a handle-based object that you NULL the accompanying variable to avoid referencing it a time when the object does not exist anymore, or even worse, an object of a different type has been created in the meantime and by chance resides in the same address space in memory.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.