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
Hi there, Server – tried both Windows Server 2022 and Linux Version - 2025-08-11 and 2026-05-25 We were testing a new version (2025-08-11) with a Halcust that we had migrated from the existing ...
10:11 4 Aug 2026
Kevin Stepper
Hi, years ago we used to have the email and conference module. Did not need it so we dropped it. We hav recently implemented global users, which are all named users and therefor seem to need a m...
18:07 3 Aug 2026