Consultor Eletrônico



Kbase P135046: When closing a Progress application, it closes with Windows error message
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   22/09/2008
Status: Unverified

SYMPTOM(s):

When closing a Progress application, it closes with Windows error message

Error message: "Instruction in the address <MEMADDR> has referenced to <MEMADDR> address. Memory could not be read. In order to terminate the program, please push OK."

when transactions are carried out on the DB, the 4GL code used calls for a custom DLL file....

FACT(s) (Environment):

OpenEdge10.1B01
Windows XP SP1

CAUSE:

If a COM handle is called in a procedure and is not released before the end of the procedure, this will generate memory problems because an ActiveX object is being called and left in limbo


FIX:

Make sure that the DLL being called with the COM handle is properly released with a "RELEASE OBJECT <comhandle>" statement