* * *

Author Topic: IBX 2.3.1  (Read 1408 times)

tonyw

  • Full Member
  • ***
  • Posts: 121
    • MWA Software
IBX 2.3.1
« on: October 25, 2018, 04:26:59 pm »
The Lazarus fixes branch for 2.0.0 has removed deprecated methods from Lazutils. This has resulted in IBX 2.3.0 being unable to compile. An update to IBX is now available that fixes this problem and is available from

https://mwasoftware.co.uk/svn-repository

Release tag R2-3-1

Release R2-1-3 includes the fix necessary for IBX to compile with the latest Lazarus test versions. The update is available in svn only for now. A zip will be made available once lazarus 2.0 goes mainstream.

zoltanleo

  • Full Member
  • ***
  • Posts: 131
Re: IBX 2.3.1
« Reply #1 on: October 31, 2018, 09:51:53 pm »
What is new, please? Have you added the new functionality discussed here?
http://forum.lazarus.freepascal.org/index.php/topic,40933.msg284673.html#msg284673
Win7 Ultim x64/Deb 9.5 amd64:
Lazarus 2.1(r.59348); FPC 3.3.1 (r.40016),
IBX by -Rik-; FB 3.0.3

Sorry for my bad English, I'm using translator ;)

Soner

  • Full Member
  • ***
  • Posts: 101
Re: IBX 2.3.1
« Reply #2 on: November 06, 2018, 09:50:54 pm »
Error with examples\ibtable. It stops execution with message:
 " Error reading Depts.MasterDetailDelay: ....
 .... you probably need to add -dUseCThreads to the Custom options .... "
But it is definied in project custom options.

Lazarus Svn 2.1.0 r59470 (From today)
Fpc 3.2.0  (2018/9/23)
Ibx 2.3.1 r242 (from Today)
All 32Bit on Windows 10 64Bit.


EDIT:
Same error with examples\isqlmonitor project.
« Last Edit: November 06, 2018, 09:56:32 pm by Soner »

tonyw

  • Full Member
  • ***
  • Posts: 121
    • MWA Software
Re: IBX 2.3.1
« Reply #3 on: November 08, 2018, 05:59:00 pm »
This is a rather weird error to be getting as this error message is intended to be a check on a linux system to make sure that a thread manager has been loaded. On Windows, a thread manager is always present.

The global variable "IsMultiThread" is checked and you get this error message if it returns false and a non-zero master/delay delay timer is set.

I have checked both examples with RC2 and fpc 3.04 i.e. the default release and see no problem. I don't have fpc 3.2.0 readily to hand. Maybe it is not enabling the Windows thread manager by default?

Soner

  • Full Member
  • ***
  • Posts: 101
Re: IBX 2.3.1
« Reply #4 on: November 08, 2018, 09:28:33 pm »
@tony
You have right, the examples compile with fpc 3.0.4. runs without error.
It seams that the fpc svn has bug and IsMultiThread set wrong.

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6584
Re: IBX 2.3.1
« Reply #5 on: November 09, 2018, 01:34:39 pm »
Please file a bug for ismultithread. Thank you.

(added later: seems that ismultithread only goes true AFTER the first thread has been started. Probably some thread initialization has been delayed till the first thread is actually started)
« Last Edit: November 09, 2018, 01:54:17 pm by marcov »

Soner

  • Full Member
  • ***
  • Posts: 101
Re: IBX 2.3.1
« Reply #6 on: November 09, 2018, 05:40:07 pm »
@marco
I wrote here http://forum.lazarus-ide.org/index.php/topic,42265.0.html about IsMultiThread issue.

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6584
Re: IBX 2.3.1
« Reply #7 on: November 09, 2018, 07:06:44 pm »
I meanwhile looked up the formal documented behaviour, and I think the original usage was simply illegal.

Soner

  • Full Member
  • ***
  • Posts: 101
Re: IBX 2.3.1
« Reply #8 on: November 10, 2018, 02:26:52 pm »
 @toni
Did you see the discussion about IsMultiThread here http://forum.lazarus-ide.org/index.php/topic,42265.0.html.

Your are using the IsMultiThread variable wrong, you need something like IsMultiThreadSupported.

Good luck.

tonyw

  • Full Member
  • ***
  • Posts: 121
    • MWA Software
Re: IBX 2.3.1
« Reply #9 on: November 11, 2018, 05:33:31 pm »
Thanks for the heads up. I'll review the use of IsMultiThread in IBX.

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus