このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


Getting started- Synapse/ Lazarus -lt5Nb.htm HOME - - - - - Lazarus Tutorials TOC - - - - - - Other 構成要素 for programmers

Getting started with Synapse in Lazarus

解放する/自由な programming 環境. 解放する/自由な TCP/IP 部隊s.
And all multi-壇・綱領・公約.

Getting started with Synapse in Lazarus.

In July 2022, I 始める,決める out to do some TCP/IP stuff, having been away from it for a while.

Sigh... two fed 旗s... which I chose to igore: The 場所/位置's SSL 証明書 was 満了する/死ぬd. And the 最新の 版 of the libraries was "2012-04-24 New Synapse 解放(する) 40". But it WAS SO GOOD when I used it before that I ignored these 問題/発行するs, and 圧力(をかける)d on.

I reviewed my July 22 選択s, and decided that Synapse was still one of the best 選択s. It is 解放する/自由な, and 作品 with Windows and Linux, for a sttart!

14 Feb 17, I went 支援する to Synapse, having been away for a while. (I wasn't using a different 一括, I just hadn't been doing any TCP/IP programming for a while.)

I was using a freshly 任命する/導入するd Lazarus 見解/翻訳/版 1.6.2 (2016-11-12) on a 64-bit Windows 7 computer. (I have not had good luck with the 64 bit Lazarus in the past, and tend to use the 32-bit compiler. For a start, I want things I 令状 to work on a variety of machines. I don't want to 持続する two 見解/翻訳/版s.)

It had a tab on the 構成要素s 妨げる/法廷,弁護士業 "SynEdit" which is, I believe, nothing to do with the Synapse TCP/IP 一括. Ditto a tab "IPro". Both were 現在の in a freshly 任命する/導入するd Lazarus.

I don't think the computer 関心d had ever had Synapse on it.

((Sidebar:)) Oddly enough, although I don't think this machine ever had Synapse on it, something I wrote a while ago (which uses Synapse) 収集するd やめる happily on this "Synapse-いっそう少なく" machine. I believe this was because of the Synapse .pas とじ込み/提出するs I had in the folder with the sourcecode for my 事業/計画(する). There were 8 とじ込み/提出するs in the folder which I believe (機の)カム from Synapse. I say "(機の)カム from"... I think I just used the ordinary Windows とじ込み/提出する 扱うing 公共事業(料金)/有用性 to copy those とじ込み/提出するs into the folder from... somewhere! (Another machine I'd 任命する/導入するd Synapse on? (P.S.: No... it turns out I'd downloaded the 一括 three years ago, in 2014. 明らかに that time I just copied とじ込み/提出するs from it. Didn't "任命する/導入する".)

Oh. Duh. RTFM'd (http://wiki.freepascal.org/Synapse#取り付け・設備) after I'd worried about the above for a while, and 設立する...


取り付け・設備 can be as simple as 簡単に copying over all

とじ込み/提出するs to your 使用/適用 directory and 追加するing the 関連した

Synapse 部隊s to your uses 条項.



A more elegant and recommended way is 収集するing the

laz_synapse.lpk 一括 so you can use the same 部隊s in

all your 事業/計画(する)s.

Oh 井戸/弁護士席. Having used the first 解答 in the past, and 設立する it a 苦痛 to 人物/姿/数字 out WHICH とじ込み/提出するs were needed, I thought that this time I'd try the 代案/選択肢. (人物/姿/数字ing out which とじ込み/提出するs are needed is a funny thing... An error message will say you need とじ込み/提出する "x". So you copy that to the 事業/計画(する) folder, and try to 収集する again. But とじ込み/提出する "x" needs とじ込み/提出するs "y" and "z". So you copy them. And...

But the first DOES work. (You just have to を取り引きする a number of "Could not find such-and-such とじ込み/提出する" (民事の)告訴s... once per 事業/計画(する).)

So I 始める,決める off to 征服する/打ち勝つ the second approach. I got it working... sort of. You now tell it where to look for the "行方不明の" とじ込み/提出するs (the .pas とじ込み/提出するs 供給(する)d by Synapse) in the 事業/計画(する)/ 事業/計画(する) 選択s page. there must be a way to tell your Lazarus that you want that particular folder ((MyDocs)\Lazarus\ThirdPtry\Synapse\source\lib, if you 始める,決める things up as I did) in YOUR default 事業/計画(する) 選択s. I 港/避難所't 設立する it yet. But it is 価値(がある) using the "始める,決める Lazarus to look in the extra place" trick! The only downside is that an 古記録 of the 事業/計画(する) won't 含む ALL of the とじ込み/提出するs used to 収集する it. If the 古記録 is moved to another machine, besides setting up Lazarus, the Synapse .pas とじ込み/提出するs that 事業/計画(する) uses will also have to be made 利用できる. (I don't think this is a 取引,協定 breaker.)

((end sidebar))

Much against my general wish for the 静かな life, for you, dear reader, I 乗る,着手するd upon a Lazarus update 事前の to starting the Synapse tutorial I sat 負かす/撃墜する to 令状. See my account of how the update went, if the (警察などへの)密告,告訴(状) is of 利益/興味.

任命する/導入する Synapse

Happy 発見!... Synapse not only gives you 接近 to TCP/IP, but I think it has some stuff for using the computer's serial port. Not sure if that 含むs ふりをするd serial, as 供給するd by some USB 装置s. (If Synapse doesn't 申し込む/申し出 this, a 一括 with serial support is 利用できる from the same source. (See the download page.)

Just before we start, with the hope that I can put you in the 権利 でっちあげる,人を罪に陥れる of mind: Here's a useful and informative 公式文書,認める from the 公式の/役人 Synapse page on 任命する/導入するing Synapse...


Synapse is NOT a 始める,決める of 構成要素s. It is only library of 部隊s with

code and classes. It cannot be 任命する/導入するd, it does not need to be

任命する/導入するd! To use Synapse, you 簡単に copy all the necessary Synapse

部隊s to your 事業/計画(する) directory (or to your library search path) and

in your 事業/計画(する) 追加する a USES line 名簿(に載せる)/表(にあげる)ing the needed Synapse 部隊s.

Went to the Synapse homepage.

わずかに worrying... the most 最近の (at 14 Feb 17) 最新の 十分な 解放(する) was from 2012. And there was talk about the program needing a 勝利,勝つ 32 operating system. The latter not, I hope, an 問題/発行する for me, because I use the 32-bit Lazarus, even on my 64-bit machine. But maybe it will 事柄 to others?

Clicked "Download". It went VERY quickly... under three seconds on my rather slow 関係... but I had a .zip とじ込み/提出する of 899kb. The download page said it 含むd "デモs and documentation"... and simple 調査, again with the normal Windows とじ込み/提出する 管理/経営 公共事業(料金)/有用性, made it seem that this was true.

Take a moment to read the short "README.txt" inside the 配当 .zip.

Ha! Hoist by my own petard! Synapse "任命する/導入するs" the way my own ソフトウェア 任命する/導入するs. No messing with the registry. No "click the 魔法 button and it will all be done for you (how we want to do it.)"

So you have 選択s. Here's how I "任命する/導入するd" the program on my system...

Start by setting up a 一時的な folder for the contents of the Synapse .zip とじ込み/提出する, and unzip everything into it.

I like to keep third party things where I can see them for what they are. I have, in "MyDocs", a "Lazarus" folder which is where I keep the sourcecode, etc, of my 事業/計画(する)s. (In sub-folders, one per 事業/計画(する))

That seemed a good place to put the Synapse stuff. (I'd already learned from the README.txt とじ込み/提出する that there's a way to let Lazarus know where to look.)

So, I created (MyDocs)\Lazarus\ThirdPrty\Synapse

(I've learned that with ソフトウェア which is also happy on Macs and Linux, it is best to 避ける spaces in 指名するs, and to remember that THisNAme and thisname are いつかs seen as DIFFERENT. (Which of course they are NOT in Windows.) So I try to be 一貫した about the 事例/患者 of letters in a 指名する.)

It seemed best to put ALL of the Synapse とじ込み/提出するs in one place. A shortcut to
...\Lazarus\ThirdPtry\Synapse\docs\help\索引.htm
can go where I want it, for every day 接近, in 予定 course.

So... "Synapse 任命する/導入するd"... but my Lazarus IDE doesn't yet know it!

Showing Lazarus where to find the Synase 構成要素

解雇する/砲火/射撃 up Lazarus.

I'm going to show you how I use third party 構成要素s... I only make them 利用できる on a 事業/計画(する)- by- 事業/計画(する) basis. 任命する/導入する them globally, and it is too 平易な to begin to think of something as part of the basic Lazarus. My 見解(をとる). There probably is a way to make something 利用できる "for all time"... but you'll have to look どこかよそで for that.

To say to Lazarus, "for this 事業/計画(する), you should use..." you first go into a 明確な/細部 事業/計画(する). Either open an old one you want to 延長する, or start a new one.

Use "事業/計画(する)/ 事業/計画(する) 選択s/ Compiler 選択s/ Paths/.."

Once you've gone that far, there will be a パネル盤 to the 権利, with 多重の edit boxes.

If you "任命する/導入するd" Synapse on your system as 述べるd earlier... i.e. unzipped all they 申し込む/申し出, someplace sensible, but 港/避難所't made those とじ込み/提出するs GENERALLY 利用できる to your Lazarus work, then you continue as follows. (If you 港/避難所't, go 支援する and do that!)

Click the ellipsis (...) to the 権利 of the edit box for "Other 部隊 とじ込み/提出するs (-Fu):", and the "Path Editor" should open. (That 指名する is in 肩書を与える 妨げる/法廷,弁護士業.)

Click the folder icon.

-

演習 to the 関連した folder... in this 事例/患者 ...\Synapse\source\lib. Click 追加する. Click 実験(する). Click 承認する.

Using ver 1.6.2 on a 勝利,勝つ 7 machine, Oct 17, I have to 収容する/認める, my Lazarus was a bit flaky while I was trying to do this... 特に if I clicked the "実験(する)" button... it didn't 衝突,墜落 when I 攻撃する,衝突する "実験(する)", but it did すぐに after, and then during the next re-開始する,打ち上げる, and THEN it settled 負かす/撃墜する.

16 Jul 22, 勝利,勝つ 10, Laz 2.0.0: It Just Worked! (^_^)

I like it!! (It is at the 核心 of some of the apps that are most important to me, apps that have worked 井戸/弁護士席 for YEARS, at 2022.)

Onward!...

Once Lazarus can find the Synapse .pas とじ込み/提出するs it needs, try running some of the examples which come with Synapse... or go straight to some of my tutorials.



   Search this 場所/位置 or the web        力/強力にするd by FreeFind
 
  場所/位置 search Web search
場所/位置 地図/計画する    What's New    Search   BEWARE: There is stuff at my other two 場所/位置s that the search above won't 明らかにする/漏らす. Go to either 場所/位置 (see links below) and use that 場所/位置's FreeFind search button.

BEWARE: The search above only visits a 選択 of my stuff. Go to either of my other 場所/位置s (see links below) and use that 場所/位置's FreeFind search button, if you 港/避難所't 設立する something you "know is there".


In 新規加入 to the tutorials for which this page serves as (米)棚上げする/(英)提議する of Contents, I have other 場所/位置s with 構成要素 you might find useful.....

My other 場所/位置s....
Sheepdog ソフトウェア homepage.
My Arunet homepage.

... and some links to 明確な/細部 pages within them you might want....
You can't "play" all day... learn to use the Libre Office/ Open Office database. 解放する/自由な. Multi-壇・綱領・公約.
The Arduino- LOTS of fun, for not much money. And beginner (intelligent beginner) friendly. And good 追跡 for kids. 連合させる programming and electronics!
Designing printed 回路・連盟 boards the KiCad way. 解放する/自由な. Multi-壇・綱領・公約. Long 設立するd. PCB-fab houses take native KiCad とじ込み/提出するs.
And lastly... Making 地図/計画するs... how we did it before GPS Indulge me? This discusses a worthwhile, fun (if 現在のd intelligently) activity for kids, which can be undertaken on many levels... a simple 20 minutes, or weeks of engaging activity. (Also known to コースを変える susceptible adults.)


広告 from page's editor: Yes.. I do enjoy 収集するing these things for you... hope they are helpful. However.. this doesn't 支払う/賃金 my 法案s!!! If you find this stuff useful, please at least help me with Facebook links, etc (buttons at 最高の,を越す of page). If you run an MS-DOS or Windows PC, please visit my freeware and shareware page, try something? Links on your page to this page would also be 高く評価する/(相場などが)上がるd, of course!
Click here to visit editor's freeware, shareware page.


   Here is the way to 接触する the author of these Lazarus/Delphi tutorials, Tom Boyd.





Valid HTML 4.01 Transitional Page WILL BE 実験(する)d for 同意/服従 with INDUSTRY (not MS-only) 基準s, using the 解放する/自由な, 公然と accessible validator at validator.w3.org. (Mostly passes. A few problems 原因(となる)d by Google+ and Delicious code.)

If this page 原因(となる)s a script to run, why? Because of things like Google パネル盤s, and the code for the search button. Why do I について言及する scripts? Be sure you know all you need to about spyware.

....... P a g e . . . E n d s .....