View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006763 | JEDI VCL | 00 JVCL Components | public | 2022-10-27 22:52 | 2023-11-11 00:28 |
Reporter | MarkH | Assigned To | AHUser | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | X64 | OS | Windows 10 | OS Version | 20H2 |
Product Version | Daily / GIT | ||||
Target Version | Fixed in Version | Daily / GIT | |||
Summary | 0006763: JvListView sort error when compiled x64 | ||||
Description | Compile as x86 and works as expected Compile as x64 and access denied error when column sort clicked from windows common components. | ||||
Steps To Reproduce | Attached zip is Demo jcl\examples\common\filesearch with TListView changed to TJvListView when compiled as x86 the demo functions as expected when compiled as x64 the demo will always crash when a column header is clicked to sort. It seems to be an access denied from Windows common controls. Struggling to find a breakpoint. | ||||
Tags | No tags attached. | ||||
|
JvListView.zip (20,445 bytes) |
|
The local functions in TJvListView.ColClick caused the problem. In x64 the hidden base pointer parameter (RBP) that is needed to access the outer function's stack variables is always added whereas in x86 it is only added if necessary. This changes the Compare function's signature causing the access violation. |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-10-27 22:52 | MarkH | New Issue | |
2022-10-27 22:52 | MarkH | File Added: JvListView.zip | |
2023-11-11 00:28 | AHUser | Assigned To | => AHUser |
2023-11-11 00:28 | AHUser | Status | new => resolved |
2023-11-11 00:28 | AHUser | Resolution | open => fixed |
2023-11-11 00:28 | AHUser | Fixed in Version | => Daily / GIT |
2023-11-11 00:28 | AHUser | Note Added: 0022044 |