crash opening customised UserVc
Aldevinas Katkus
2020-04-16
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
2020-04-16
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
2020-04-16
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
Bror-Erik Kotiranta
0 = CONr M4Long 1 = COChildNr M4Long...
11:00 8 Jan 2026
Bror-Erik Kotiranta
Hello Lilian, its been received. I myself do not know the answer to this, i will see if i can find a person who can answer your question...
10:13 8 Jan 2026