Recent

Author Topic: Console Application and components unit  (Read 6396 times)

xinyiman

  • Hero Member
  • *****
  • Posts: 2259
    • Lazarus and Free Pascal italian community
Console Application and components unit
« on: April 08, 2011, 09:48:05 am »
So let me know how it is possible to see the compiler of the unit components folder even when I'm creating a Console Application, because from what I have deduced these units are ignored.
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

ik

  • Jr. Member
  • **
  • Posts: 88
  • ik
    • LINESIP
Re: Console Application and components unit
« Reply #1 on: April 08, 2011, 11:37:20 am »
I'm not sure that I understand your question.

You want to use for a console application a graphic component ?

xinyiman

  • Hero Member
  • *****
  • Posts: 2259
    • Lazarus and Free Pascal italian community
Re: Console Application and components unit
« Reply #2 on: April 08, 2011, 11:54:25 am »
Yes but in this case we use everything from code, without necessarily using the graphic part.
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

Laksen

  • Hero Member
  • *****
  • Posts: 801
    • J-Software
Re: Console Application and components unit
« Reply #3 on: April 08, 2011, 12:42:03 pm »
Have you added a package dependency to LCL and the other packages you need?

xinyiman

  • Hero Member
  • *****
  • Posts: 2259
    • Lazarus and Free Pascal italian community
Re: Console Application and components unit
« Reply #4 on: April 08, 2011, 01:25:45 pm »
I must simply use the following two units

DCPrc4, DCPsha1   
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

ik

  • Jr. Member
  • **
  • Posts: 88
  • ik
    • LINESIP
Re: Console Application and components unit
« Reply #5 on: April 08, 2011, 02:29:54 pm »
You can add the package they are at to your project, and then you can use them.

FPC arrives with unit called sha1, but I can not find rc4.

xinyiman

  • Hero Member
  • *****
  • Posts: 2259
    • Lazarus and Free Pascal italian community
Re: Console Application and components unit
« Reply #6 on: April 08, 2011, 02:36:26 pm »
How do I tell him to seek alternative routes in? For example, say I want also to analyze the c:\lazarus\components recursively. So I resolve the issue.
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

 

TinyPortal © 2005-2018