* * *

Recent Posts

Pages: [1] 2 3 ... 10
1
Linux / Re: Did anyone install the latest Lazaru 1.8 on ubuntu 16.04?
« Last post by Handoko on Today at 05:12:57 pm »
I could not find Lazarus 1.8 in the ubuntu repository, and then I downloaded three debs from the sf.net site, but when installing the first fpc, gdebi prompts the error "fpc conflict with fpc ()"

Was the version conflict message you get looks similar to what I got (see picture below)? Did that message appear after the installation of the fpc deb package?

If the answer is yes, simply ignore it. The message appears after the installation finished and it really installed correctly. That message is misguiding. I consider it is a bug. It sometimes happens but sometimes does not happen when I installing FPC. Nothing bad ever happened after I ignore that message.
2
Linux / Re: Did anyone install the latest Lazaru 1.8 on ubuntu 16.04?
« Last post by Handoko on Today at 04:51:42 pm »
But you can force deb or rpm package installation (yum, rpm, urpmi, apt-get) on any Linux distribution.

Yes, you're right. Actually we do not need to force install, to install higher (or lower) version of the same app. But the problem is, it sometimes may refuse to let you to install Lazarus. At least it happened on my tests.

Here, the whole story.

I tested at least 3 times, the results were same. I cannot remember the full detail because those tests were performed long ago.

I used Gdebi instead of sudo dpkg. The installation of FPC and FPC-source were success, although the version I installed was higher than the version recommended in my Ubuntu repository.

But when I used Gdebi to install the Lazarus deb package, the "install" button was greyed, I cannot click to continue. I checked using Synaptic Package Manager, both FPC and FPC-source were correctly installed.

After some random testings, I found simply version lock both the FPC and FPC-source, the disabled "install" button when installing Lazarus became available.

Maybe now, things have been changed. But no harm to test version lock.
3
General / Re: LazReport and printing something yes or no
« Last post by madref on Today at 04:36:07 pm »
Next time i should think before i ask  :D


Found the solution myself.
Make a script in LazRaport for that field.
Code: Pascal  [Select]
  1.  
  2. if ([TQ_Rapport."Evo_Standaard_Per4"] = 9) and
  3.    ([TQ_Rapport."Evo_Goal_TeamA_Per4"] = 0) and
  4.    ([TQ_Rapport."Evo_Goal_TeamB_Per4"] = 0) then
  5. text := 'X'
  6. else
  7. text := ''
  8.  
4
Linux / Re: Did anyone install the latest Lazaru 1.8 on ubuntu 16.04?
« Last post by mig-31 on Today at 04:24:59 pm »
Never hear about version prevention on any Linux.

But you can force deb or rpm package installation (yum, rpm, urpmi, apt-get) on any Linux distribution.
5
Third party / Re: Fpcupdeluxe
« Last post by DonAlfredo on Today at 04:09:12 pm »
Quote
By the way, what is the difference between fpcupdeluxe and fpcdeluxery ?

Fpcupdeluxery has the same functionality as fpcupdeluxe, but has a fancy GUI that is more self-explanatory. It's a contribution of user Josh.

A new release (many bugfixes) of fpcupdeluxe has just been made public. Among other things, softfloat has been enabled for trunk: you can install a native win64 FPC/Laz and cross towards win32.

Quote
Although this problem is not fpcudeluxe, but wst.
The module installer of fpcupdeluxe uses the available online sources. These may change by the day: install-success may change by the day !
6
Linux / Re: Did anyone install the latest Lazaru 1.8 on ubuntu 16.04?
« Last post by Mr.Paul on Today at 04:08:41 pm »
@Handoko
Thanks for your attention and experiment!  Your experimental success is good news for me.

I noticed the difference between our experimental environment,  what you did was the second Lazarus on ubuntu mate 17 and what I did was a brand new installation of Lazarus on ubuntu LTS 16.04.
You have used "version locking" to solve the installation problem on the old version of Ubuntu, I decided to test immediately. Hope tonight there is good news.
7
Android / Re: Android + Mysql...
« Last post by turrican on Today at 03:35:55 pm »
IMHO You shouldn't connect to an external database directly (with TCP cipher better). It's better and easy to make an HTTP Rest api and publish methods to retrieve and put data.
8
Android / Re: LazToApk 0.9.38 is available now.
« Last post by turrican on Today at 03:32:48 pm »
Hello,

a new version is available.
What's new ?

13.Dez. 2017 (v0.9.0.38)
- updated to download laz4android1.8.0-FPC3.0.4.7z
- updated to download android-ndk-r14b-windows-x86.zip
- changed laztoapk to use new laz4android-path "laz4android1.8".
- preparations to use this setup also with LAMW.
- updated installation documentation.

The documentation:
https://sourceforge.net/projects/laztoapk/files/Lazarus%20and%20Android.pdf/download

The installer:
https://sourceforge.net/projects/laztoapk/files/?source=navbar

Have fun...

Sam

Thanks this is a great tool!
9
Networking and Web Programming / Re: SSL with a financial company
« Last post by turrican on Today at 03:30:40 pm »
Hello

I discovered the problem, I just change de header of content-type from:

HttpClient.MimeType := 'Application/json'

to

HttpClient.MimeType := 'application/json'

Same thing as THTTPSend.Useragent . You have to watch invalid headers on your request.
10
General / [Solved] LazReport and printing something yes or no
« Last post by madref on Today at 03:28:43 pm »
I have made a Lazrepolt and now i want to print a field that is dependent on 2 other fields.
To be more exact
In hockey you have 3 periods and if a game is tied you go to overtime. If not then there is no overtime.
So programming in Lazarus is easy
Code: Pascal  [Select]
  1. if (OvertimeGoalTeamA = 0) and (OvertimeGoalsTeamB = 0) then
  2.   Don't Print This Field
  3. else
  4.  Do Print This Field;
  5.  


But can this be done in LazReport ?
Pages: [1] 2 3 ... 10

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus