#1 2016-01-15 14:49:27

jkuiper
Member
Registered: 2014-11-24
Posts: 13

Delphi vs Lazarus

I used this sample to test my connection with ZEOS.MySQL (thanks for it). In Delphi (D10 seattle) it works like a charm. But I need a lazarus/fpc environment for wince.
I create the same sample in Lazarus. But when compiiling, it occurs an error

mORMoti18n.pas(895,19) Error: Illegal qualifier

What's the difference between those two?

Offline

#2 2016-01-15 15:02:04

jkuiper
Member
Registered: 2014-11-24
Posts: 13

Re: Delphi vs Lazarus

Okay, the problem relies on mORMotUI.pas. Is lazarus 1.6RC still depending on the RTTI patch? I've got an connection now, but can't using the DBGrid to show data.

Offline

#3 2016-01-15 15:06:02

jkuiper
Member
Registered: 2014-11-24
Posts: 13

Re: Delphi vs Lazarus

Found a topic about this unit. Is there another way to use UI to fill a DBGrid in lazarus?

Offline

#4 2016-01-16 08:06:22

AOG
Member
Registered: 2014-02-24
Posts: 490

Re: Delphi vs Lazarus

Look at mORMotMidasVCL.pas (http://synopse.info/fossil/finfo?name=S … dasVCL.pas)
You can use a dataset to fill a DBGrid in Lazarus.
I use this very often. Works 100%.

Offline

Board footer

Powered by FluxBB