Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatible error when calling VTAccessibilityFactory.GetAccessibilityFactory.CreateIAccessible(Self); #1251

Open
maddsen opened this issue Apr 17, 2024 · 4 comments
Labels
Repro Steps Missing A smple project is needed to reprodcue and analyze the issue. See our guidelines for opening issues!

Comments

@maddsen
Copy link

maddsen commented Apr 17, 2024

Self=TVTBaseAncestorVcl

but ATree is expected.

TVTAccessibilityFactory.CreateIAccessible(ATree: TBaseVirtualTree): IAccessible;

So system hangs.

@maddsen
Copy link
Author

maddsen commented Apr 17, 2024

unit VirtualTrees.BaseAncestorVCL;
unit VirtualTrees.AccessibilityFactory;

@joachimmarder
Copy link
Contributor

Please respect our guidelines on the project homepage for submitting bugs. Please include your version of Virtual TreeView and Delphi, and attach a sample compiling project as ZIP to your report that allows to replicate the problem. If only small changes are required, a description is sufficient how a demo projects needs to be changed in order to replicate the bug. If you already have a solution, please supply a patch file.

@maddsen
Copy link
Author

maddsen commented Apr 18, 2024

Regarding Version Delphi 12 and VSV 8.03.
I see many changes that happens from the time I first loaded and the latest version of VirtualStringView 8.03.
so maybe its not possible to advice without all details .
How is it possible to findVirtual_Treeview version number in one or other units like VirtualTrees.pas? Or is it only headers in Git that show the version numbers?

@joachimmarder
Copy link
Contributor

How is it possible to findVirtual_Treeview version number in one or other units like VirtualTrees.pas?

It is not included there. It depends on which release you download.

I added the unit VirtualTrees.AccessibilityFactory to the demo project Advanced and here to the unit GeneralAbilitiesDemo and the project compiles, no compiler errors.

@joachimmarder joachimmarder added the Repro Steps Missing A smple project is needed to reprodcue and analyze the issue. See our guidelines for opening issues! label Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Repro Steps Missing A smple project is needed to reprodcue and analyze the issue. See our guidelines for opening issues!
Projects
None yet
Development

No branches or pull requests

2 participants