Recent

Author Topic: Indy10 Basic Install Docs and Demos  (Read 830 times)

JimD

  • Jr. Member
  • **
  • Posts: 62
Indy10 Basic Install Docs and Demos
« on: March 12, 2019, 06:12:41 pm »
I'd like to share some simple Indy10 docs & demos with the community:
https://github.com/jasc2v8/LazUnits/tree/master/Indy10

Hopefully this will help others get started with Indy10

Docs
- Indy10 install for Lazarus (non-visual components)
- Convert Indy10 Delphi (visual VCL) to Lazarus (non-visual)

Demos
- HTTP_WebServer_Simple
- HTTPS_WebServer_Simple

Environment
- Win10 Home, Lazarus v1.8.4 with Free Pascal v3.0.4
- Indy10.6.2.5494
- Openssl-1.0.2l-i386-win32
- Can easily be converted to support cross-platform

Thanks to Remy's help from this post: http://forum.lazarus-ide.org/index.php/topic,44554.0.html




Cyrax

  • Hero Member
  • *****
  • Posts: 740
Re: Indy10 Basic Install Docs and Demos
« Reply #1 on: March 12, 2019, 07:42:39 pm »
You don't need to remove the visual components from the .dfm file at all. Just use the .dfm to .lfm converter tool in the Lazarus,. There is a Lazarus Indy package that install corresponding components into the Lazarus IDE. You probably need to get it from Indy SVN trunk snapshot.

JimD

  • Jr. Member
  • **
  • Posts: 62
Re: Indy10 Basic Install Docs and Demos
« Reply #2 on: March 12, 2019, 08:15:45 pm »
Yes, understood, thank you.
It's just my personal preference is not to use the Indy10 VCL components, that's all.



Remy Lebeau

  • Hero Member
  • *****
  • Posts: 633
    • Lebeau Software
Re: Indy10 Basic Install Docs and Demos
« Reply #3 on: March 13, 2019, 12:20:37 am »
Indy doesn't have any visual components.  And all of the components it does have are not tied to VCL specifically, they can also be used in FMX, and FreePascal, too.  In code, or at design-time.
Remy Lebeau
Lebeau Software - Owner, Developer
Internet Direct (Indy) - Admin, Developer (Support forum)

JimD

  • Jr. Member
  • **
  • Posts: 62
Re: Indy10 Basic Install Docs and Demos
« Reply #4 on: March 13, 2019, 05:20:11 am »
Aha!  the light comes on...   :)
As you can tell, I have zero experience with Delphi, and still learning FPC/Lazarus.
I always thought if you dropped a component on a form it was a visual component.
I now understand the relationship between in code, design-time, run-time, and visual.
The best way to learn is jump in and make mistakes.
Thank you for keeping me on track!

Remy Lebeau

  • Hero Member
  • *****
  • Posts: 633
    • Lebeau Software
Re: Indy10 Basic Install Docs and Demos
« Reply #5 on: March 13, 2019, 07:03:53 pm »
I always thought if you dropped a component on a form it was a visual component.

Nope.  Visual components are actually visual in your app's UI at runtime.  Non-visual components are visible only inside the Form Designer at design-time, not at runtime.
Remy Lebeau
Lebeau Software - Owner, Developer
Internet Direct (Indy) - Admin, Developer (Support forum)

Cyrax

  • Hero Member
  • *****
  • Posts: 740
Re: Indy10 Basic Install Docs and Demos
« Reply #6 on: March 13, 2019, 07:58:31 pm »
Ah! Yes, I meant non-visual components!  :-[