Kbase P15283: prowin32 session dies when application against AS/400
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  25/01/2005 |
|
Status: Unverified
FACT(s) (Environment):
OS/400 V4R5
Progress/400 DataServer
Progress 9.1C
Windows 95
WebSpeed 3.1D
SYMPTOM(s):
prowin32 session dies when application is run
Error: "this program has performed an illegal operation an will be shutdown" -- in module prow.dll."
A protrace is generated each time the GPF occurs
First few lines of the protrace reads:
Exception code: C0000005 ACCESS_VIOLATION
Fault address: 1000A6E7 01:000096E7 C:\DLC\BIN\PROW32.DLL
Client was a 32-bit Windows 95 version C with progress 9.1D01 installed
Client's can connect to SH and AS/400 fine
schema holder located on the Novel file server
The application was running fine under Windows XP client with 9.1D
CAUSE:
The windows 95 was not supported platform with 9.1C or 9.1D. The protrace revealed that the application is trying to invoke prow.dll and trying to send a message to the client but the GPF happens before the errors can be seen. Further investigation revealed that the functions FindWindow and FindWindowWithName were used in the application. The errors seems to be in FindWindowWithName routine. Once that was invoked the GPF happened. This problem is associated with the user32.dll call in the windows 95 machine.
The following startup parameters can be use to catch the errors to a log file:
prowin32 <schema holder connection parameters> -clientlog <file-name> -loggginglevel 4 -logentrytypes 2
FIX:
Run the application with the supported platform.