Re: [Lazarus] about TDFB

2011-12-07 Thread Graeme Geldenhuys
2011/12/6 Ing. Héctor F. Fiandor Rosario:

 I am trying to do a program with TDbf for actors´casting and I want to
 include a photo of the actor.

Store the photo as a binary blob (I think DBF supports BLOB fields).
Otherwise base64 encode the image, then store it as a large varchar()
field.


-- 
Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://fpgui.sourceforge.net

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Petition to Skype

2011-12-07 Thread Juha Manninen
2011/12/7 Mattias Gaertner nc-gaert...@netcologne.de

 Maybe Ekiga?


Yes, Ekiga and KPhone are multi-platform choices.
The friend's system was a free offering from a tele-company and was based
on SJphone. That offering is now discontinued.

Juha
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] RE : RE : compilation erro

2011-12-07 Thread Antonio Fortuny



Le 07/12/2011 01:10, Mattias Gaertner a écrit :

On Tue, 06 Dec 2011 16:13:24 +0100
Antonio Fortunya.fort...@sitasoftware.lu  wrote:



Le 06/12/2011 14:38, Felipe Monteiro de Carvalho a écrit :

On Tue, Dec 6, 2011 at 2:21 PM, Antonio Fortuny
a.fort...@sitasoftware.lu   wrote:

package LazUtils itself not included in required packages but instead add
include search path

Don't do that

OK

Second run:
- remove search paths for the project
- add required package LazUtils
still the same errors.

LazUtils requires the package FCL. You need to add this option to the
package FCL too.

And are you sure that you are using the project options dialog of the
package? Maybe some screenshots would help.



see image at http://imageshack.us/photo/my-images/341/30757138.png/
all other options unchanged

second image : http://imageshack.us/photo/my-images/841/18653445.png/

used Recompile clean
Same for package LazUtils and my project
and miracle: IT WORKS. Thanks to you all.

BUT question: why those differences with WIN versions ?

http://www.freepascal.org/docs-html/prog/progsu99.html

OK, got it.




Does this mean that I'm dependent on those manipulations when shared
libraries are concerned ?

Yes.

:'(

I have another GUI project and it compiles and executes OK so far.
Last but not least:
What about the second problem: a new file is open in the editor only
when these kind of error araises but non when i introduce some errors
that the compiler detects

Can you give an example?

See attached project
Leave the -fPIC and everything goes well.
Remove it : the well known error message is displayed and the IDE editor 
becomes crazy:
error are listed in a editor's created edit page whose name is the 
project last folder name !
As far as the project is not saved before closing the strange unit, no 
problem otherwise beware of your code !! :-$


Antonio.




Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


udftest.7z
Description: Binary data
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] AnchorDocking.DockMaster.LoadLayoutFromConfig question

2011-12-07 Thread Andrey M, Zubarev
Hi all!

In its application, I use a package anchordocking.
I tried to make the option of load layout from file,
as in the Lazarus IDE with installed anchordockingdsgn.
It did not happen. In Lazarus IDE this option does
not work either.

anchordocking can not load the layout many times or
this feature is not yet implemented?

-- 
Best regards,
 Zubarev  mailto:zam...@gmail.com


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] about TDFB

2011-12-07 Thread Graeme Geldenhuys
2011/12/7 Ing. Héctor F. Fiandor Rosario hfiandor@:

 thanks very much,

My pleasure. If you are storing *.bmp files, they are uncompressed
images (always I think), so can be rather large. If storage size might
be a problem, I would then suggest you base64 encode the image, then
gzip the base64 tex, then store in a field. This reduces the storage
size considerably. This is what I use in some of my projects.


-- 
Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://fpgui.sourceforge.net

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] about TDFB

2011-12-07 Thread Ing . Héctor F . Fiandor Rosario

Dear Mr. Geldenhuys:

really your comments are good lessons for me, but I have to admits that my
knowledges are so limited and can´t understand.

how to encode an image?
how to do gzip?
it´s correct to use de blob as field?

I am using the jpg images and obtain the same results.

if you understand that this answer are not suittable to the list, you can
use my email,.

thanks in advance,

Ing. Héctor F. Fiandor Rosario
hfian...@infomed.sld.cu


--

Este mensaje le ha llegado mediante el servicio de correo electronico que 
ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema 
Nacional de Salud. La persona que envia este correo asume el compromiso de usar 
el servicio a tales fines y cumplir con las regulaciones establecidas

Infomed: http://www.sld.cu/

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] AnchorDocking.DockMaster.LoadLayoutFromConfig question

2011-12-07 Thread Mattias Gaertner
On Thu, 8 Dec 2011 01:23:23 +0600
Andrey M, Zubarev zam...@gmail.com wrote:

 Hi all!
 
 In its application, I use a package anchordocking.
 I tried to make the option of load layout from file,
 as in the Lazarus IDE with installed anchordockingdsgn.
 It did not happen. In Lazarus IDE this option does
 not work either.
 
 anchordocking can not load the layout many times or
 this feature is not yet implemented?

This is a regression bug. Please create a bug report.

Mattias


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] about TDFB

2011-12-07 Thread Graeme Geldenhuys
On 7 December 2011 23:22, Ing. Héctor F. Fiandor Rosario
hfiandor@i. wrote:

 I am using the jpg images and obtain the same results.

In that case the jpg file is already in a compressed form, so using
base64 + gzip will not gain much. Using a standard BLOB field (like
you already do) is fine in this case.



-- 
Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://fpgui.sourceforge.net

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus