severe error (157) using insertmenuqq

severe error (157) using insertmenuqq

The project consist of two menus, the first one where you enter data (main menu), it is defined on initialsettings, and the other appears after all the data has been processed (design menu). The user has the option move from one menu to the other. But after changing menus, at the fourth try it gives the error:

forrtl: severe (157): Program Exception - access violation

This is the line that is causing the error on the design menu file:

retlog=insertmenuqq(8,0,$menuenabled,"Losa"C,sub_losa)

What can it be?

1 envío / 0 nuevos
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.