Recent

Author Topic: TBX AND TB2 FOR LAZARUS AND DELPHI  (Read 2025 times)

Edivando

  • New Member
  • *
  • Posts: 16
TBX AND TB2 FOR LAZARUS AND DELPHI
« on: November 30, 2018, 04:45:06 pm »
TBX AND TB2 FOR LAZARUS AND DELPHI

https://github.com/edivando-fpc/TB2_TBX

wp

  • Hero Member
  • *****
  • Posts: 6158
Re: TBX AND TB2 FOR LAZARUS AND DELPHI
« Reply #1 on: November 30, 2018, 04:56:49 pm »
Did you test it in Lazarus? Demo2 produces a black window, Demo1 crashes the debugger. Double click on a TBXPopupMenu crashes the menu editor.
Lazarus trunk / fpc 3.0.4 / all 32-bit on Win-10


wp

  • Hero Member
  • *****
  • Posts: 6158
Re: TBX AND TB2 FOR LAZARUS AND DELPHI
« Reply #3 on: November 30, 2018, 06:08:30 pm »
No, demo1 is not working for me: Laz trunk/fpc 3.0.4 (32bit) on Win10 (64bit), or Laz 1.8.4/fpc3.04 (32bit) on the same Win10. The debugger crashes with error 340.

I tried also Laz trunk/fpc 3.0.4 (64 bit), but here the installation of the package fails in unit Windelphi 'Cannot open include file "..\sys\InterlockedAPIs.inc"'

How harmful are the custom options in the demo1 project file? (-dBorland etc) - I deleted them, but no improvement.

When I add a TBXPopupMenu from palette TBX, double-click on it to open the menu editor and then click on the template menu item "+ Add menu item" there is an access violation. If I select Abort now I crash the IDE.

What is your Lazarus version? Your OS seems to be Win7?
Lazarus trunk / fpc 3.0.4 / all 32-bit on Win-10

valdir.marcos

  • Hero Member
  • *****
  • Posts: 809
Re: TBX AND TB2 FOR LAZARUS AND DELPHI
« Reply #4 on: November 30, 2018, 06:57:35 pm »
What is your Lazarus version?
He seems to be using Lazarus 2.1.0 (trunk) by the images he provided.

I will attach his images to this thread to ease understanding.
« Last Edit: November 30, 2018, 07:01:28 pm by valdir.marcos »

valdir.marcos

  • Hero Member
  • *****
  • Posts: 809
Re: TBX AND TB2 FOR LAZARUS AND DELPHI
« Reply #5 on: November 30, 2018, 06:58:43 pm »
More images.

valdir.marcos

  • Hero Member
  • *****
  • Posts: 809
Re: TBX AND TB2 FOR LAZARUS AND DELPHI
« Reply #6 on: November 30, 2018, 07:02:38 pm »
More images.

valdir.marcos

  • Hero Member
  • *****
  • Posts: 809
Re: TBX AND TB2 FOR LAZARUS AND DELPHI
« Reply #7 on: November 30, 2018, 07:05:22 pm »
Last image.

DmBel

  • Newbie
  • Posts: 2
Re: TBX AND TB2 FOR LAZARUS AND DELPHI
« Reply #8 on: May 18, 2019, 05:52:44 pm »
Where is it possible to find nterlockedAPIs.inc?