Recent

Author Topic: UniqueIntance  (Read 426 times)

Neville

  • New Member
  • *
  • Posts: 45
UniqueIntance
« on: September 05, 2024, 12:09:42 pm »
UniqueInstance is not installed, which causes a problem when loading a project which requires it.
UniqueInstance is in the install list, but won't install.
These problems occur with Lazarus 3.4 and 3.2.

Lazarus 2 worked fine with this component.

Are there any suggestions?

dbannon

  • Hero Member
  • *****
  • Posts: 3156
    • tomboy-ng, a rewrite of the classic Tomboy
Re: UniqueIntance
« Reply #1 on: September 05, 2024, 12:45:18 pm »
From memory (and thats dodgy) UniqueIntance was all in one .pas file.  Grab the file from old install and put it with your project's source. Add it to you "use" iine. There is no GUI component so no advantage in having it "installed".

Davo
Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

dsiders

  • Hero Member
  • *****
  • Posts: 1282
Re: UniqueIntance
« Reply #2 on: September 05, 2024, 09:39:51 pm »
UniqueInstance is not installed, which causes a problem when loading a project which requires it.
UniqueInstance is in the install list, but won't install.
These problems occur with Lazarus 3.4 and 3.2.

Lazarus 2 worked fine with this component.

Are there any suggestions?

Not a part of a standard Lazarus install. Try contacting the project or owner.
See: https://wiki.freepascal.org/UniqueInstance.
Preview the next Lazarus documentation release at: https://dsiders.gitlab.io/lazdocsnext

 

TinyPortal © 2005-2018