Forum > Windows

I get access violation when running my project in windows xp

<< < (4/5) > >>

dsiders:

--- Quote from: Martin_fr on April 25, 2025, 07:47:57 pm ---Indeed, I can confirm. Even dropping a TShellTreeview onto a form gives the error (Laz 4.99). That should be reported. It should still work.

--- End quote ---

I assume you mean on XP. Or Windows in general?

Because it still works on Linux+QT6.

Martin_fr:
Actually, just try with the patch from the following commit please.
https://gitlab.com/freepascal.org/lazarus/lazarus/-/commit/92d902d141a43d33fb971477f119929319b246e6

That should work / works for me.

Let me know, so  I can add it to the 4.0 fixes branch.

Martin_fr:
The shelltreeview has a public (not published) option "UseBuiltinIcons" which defaults to true.

If set, it tries to get some icon from the OS, but gets nil on XP.

Martin_fr:

--- Quote from: dsiders on April 25, 2025, 07:58:16 pm ---
--- Quote from: Martin_fr on April 25, 2025, 07:47:57 pm ---Indeed, I can confirm. Even dropping a TShellTreeview onto a form gives the error (Laz 4.99). That should be reported. It should still work.

--- End quote ---

I assume you mean on XP. Or Windows in general?

--- End quote ---

Yes, XP. Confirming the original issue.

jamie:
I belive @wp made those changes way back to use system icon.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version