Good morning friends of the group,
I'm facing a strange problem in a system, in a product sales function. Sometimes an error occurs when the system tries to focus on a control, saying that the control doesn't exist or that the window isn't active, but it's the product sales window. It runs normally for hours and then, at a random moment, the error appears, but usually after a few hours of use.
One detail that I believe is worth mentioning is that the system in question has its executable on a PC that functions as a server and is accessed via a shortcut. I don't know if this is relevant, because in most of my systems I have an executable on each PC and only access the data on the server PC, and in those cases these random errors don't occur.
I will post the error log excerpt below; perhaps it will be more enlightening than what I described.
Thank you.
Valteçom
Uberaba MG Brazil.
Errorlog.htm returned
Date: 14/11/2025 Time: 16:31:57
Application: \\server\SISTEMAS\SGC_NOV\WSGCPDV.EXE
User: CAIXA1 / win10
Time from start: 0 days 0 hours 35 mins 23 secs
Error MGERROR/0 Window: janelabuscaprodutos is not active. Program terminated.
--------------------------------- Stack Trace ---------------------------------
Called from MSGMINIGUIERROR(0)
Called from _RELEASEWINDOW(0)
Called from DOMETHOD(0)
Called from WN_SELECIONAPRODUTOS(1403) in module: VENDAS.PRG