Recent

Author Topic: where to find LMessage,LResource unit? to build DrawObjectsBase  (Read 4671 times)

mp456

  • Newbie
  • Posts: 4
hi all
i'm new, trying to remember my loved pascal lenguage :P
I found a Packages for FPC/Lazarus

http://www.tcoq.org/composants
DrawObjectExtended
Version 0.1, 2009-10-24

and I tried to compile/build the sources but I'm not able to find LMessage and LResource units

here are the dependencies of units:

unit DrawObjectsBase:
uses       {DONE -oTC -cLazarus_Port_Step2 : removing Windows and Messages uses. Replaced by <nothing>   and LMessages. }
  SysUtils, Classes, LMessages, Controls, Graphics, Math,  Forms, TypInfo, ZLib;

unit DrawObjects:
uses
  { DONE -oTC -cLazarus_Port_Step2 : removing Windows and Messages uses. Replaced by <nothing> and LMessages. }
  SysUtils, Classes, LMessages, Controls, Graphics, Math,  Forms, TypInfo, Dialogs, DrawObjectsBase;

unit DrawObjectsExtended:
uses  Classes, SysUtils, Controls, Graphics, DrawObjectsBase;

can anybody help me?
thank you

Blaazen

  • Hero Member
  • *****
  • Posts: 3241
  • POKE 54296,15
    • Eye-Candy Controls
Re: where to find LMessage,LResource unit? to build DrawObjectsBase
« Reply #1 on: June 28, 2011, 04:28:10 pm »
Missing some units in "DrawObjectExtended".
I downloaded it, I was able to run attached demo DrawObjects.exe (under Wine, I am on Linux).
I tried to compile. I had to do some changes (manually find the pathes using Object Inspector)
Finally it crashed on:
Code: [Select]
TDOAboutBox.pas(1,1) Fatal: Can't find unit GuiTestRunner used by TestDrawObjects
There was no such file in DrawObjectsExtended_V0.1.zip.

EDIT:
Quote
unit DrawObjectsBase:
uses       {DONE -oTC -cLazarus_Port_Step2 : removing Windows and Messages uses. Replaced by <nothing>   and LMessages. }
  SysUtils, Classes, LMessages, Controls, Graphics, Math,  Forms, TypInfo, ZLib;
You removed unit Windows. What platform you use?
« Last Edit: June 28, 2011, 04:36:42 pm by Blaazen »
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

mp456

  • Newbie
  • Posts: 4
Re: where to find LMessage,LResource unit? to build DrawObjectsBase
« Reply #2 on: June 29, 2011, 09:12:51 am »
thank you for your answer Blaazen
I didn't remove myself the unit windows, the units declarations is "as is" (copy paste)- done by the author.
I use Windows (Seven).
I look inside the DrawObjects.exe file and I found "delphi" and "borland". I start to suspect that is compiled with delphi, instead of Lazarus. I don't know even if the author ported finally 100% the code to Lazarus.

Leledumbo

  • Hero Member
  • *****
  • Posts: 8835
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: where to find LMessage,LResource unit? to build DrawObjectsBase
« Reply #3 on: July 01, 2011, 11:04:35 am »
I remember having that project compiled, but I didn't remember what to change (it did require some changes AFAIR). I'll retry tonight.

 

TinyPortal © 2005-2018