Exception code C0000005: Access Violation in Clarion 12 SecWin 7

Out of several applications and forms that I am upgrading form Clarion 6 SecWin 3 to Clarion 12 SecWin 7, I have two forms that will not open without and Access Violation when running unless I disable the access controls for those forms. Any help with this would be appreciated.
This is the exception log:

Exception occurred at address 00BA015F
Exception code C0000005: Access Violation
Process PID=25472 Image: C:\MSS_12\CR\Crprv.exe
Thread 2 Handle=000004C8 TID=18856

Exception parameters:
00000000
00000004

EAX=00000000 EBX=00E00180 ECX=042C25D8 EDX=042D5AA0
ESI=0426D8E8 EDI=0426D8E8 EBP=0420F0F0 ESP=0420F044
EIP=00BA015F FLG=00010202

Call Stack:
00BA015F
00BDD133
00BDD82E
00D88215
00BB56CE
00BE6657
00BC26AA
00B97F44
00BB5E55
00BB56DC

Clarion modules:
5D920000 12.00:13941 C:\Clarion12\BIN\ClaRUN.dll
67080000 11.00:13630 C:\Clarion12\BIN\ClaASC.dll
5CBA0000 12.00:13941 C:\Clarion12\BIN\ClaBTR.dll
00910000 11.00:13372 C:\Clarion12\BIN\ClaDOS.dll
68B50000 11.00:13630 C:\Clarion12\BIN\ClaTPS.dll
5C9A0000 11.01:13733 C:\MSS_12\CR\CLAFM3.dll
02330000 11.00:13244 C:\Clarion12\BIN\ClaMEM.dll
5C980000 12.00:13941 C:\Clarion12\BIN\ClaOLE.dll
5C960000 11.01:13744 C:\MSS_12\CR\CPC111P32.dll
00B90000 12.00:13941 C:\MSS_12\CR\Crprv.exe

This line looks like something you’d want to take care of (the version).

It also helps to use the CLARUN from \Clarion\bin\debug

It gives a much better report.

Make sure you’re compiling everything in debug, as well.

Hi Rachel,

To get more information when getting a GPF like this see;

Cheers
Bruce