crash opening customised UserVc
Aldevinas Katkus
4-16-20
Operating system: Windows
I have added a new field to UserVc
RecordAddBegin(UserVc,"UserVc_fuel");
RecordField(EmployeeCode, M4Code, 10,0);
KeyBegin(EmployeeCode);
KeySegment(EmployeeCode);

KeySegment(Code);
EndRecordAdd;


When I try to open customized edit window USDClass with this field added, the crash happens with error messages

c:\ctgwin\home\build\c85-2020-03-24-build\amain\vmint.cpp:981 assertion execp->stackSz==targetsize failed vmrinfo missing for now

and the next error message (both are visible at the same time)

WindowWcdp r1==NIL for window USDClass
The last error (WindowWcdp r1==NIL for window USDClass) is shown 3 times, then the program closes.


Is UserVc register customisable?

version 8.5 2020-03-24 (build 85331241)

Edgars Dzenis
4-16-20
Hello, Aldevinas

It should be customisable. I had no problem adding that field to window definition.
You might try leaving only USDClass window definiton in file(+externals).

If that doesn't work, can you please provide a window definition as well?
Aldevinas Katkus
4-16-20
Window definitions were wrapped in
event DefineWindows
begin
window USDClass:5
wtag("language","LIT"), wtag("product","*"), wtag("productcode","*"), wtag("device","computer")
begin
...
end;
end;

A silly mistake :-(
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Back to the list
Latest Posts
Gastón Salomone
Hi David, Since this happend in a timed task and its a memory problem, system crash and there are not any messages in hansa.log In hansa log. last lines are following: 2025-04-24 22:48:20 runn...
16:15 25 Apr 2025
Paul Timms
Thanks David! I'll give that a go and confirm if that works. Paul...
10:54 23 Apr 2025