Thanks, I'll try installing a more recent fpc and lazarus...
2011/5/30 Ludo Brands :
> I created a small automation object with following IDL (part of it):
>
> interface ItestAX: IDispatch
> {
> [
> propget,
> id(0x0001)
> ]
> HRESULT _stdcall Devices([out, retval] IDevices
On Mon, 30 May 2011 23:24:30 +0200 (CEST)
Michael Van Canneyt wrote:
>
>
> On Mon, 30 May 2011, Felipe Monteiro de Carvalho wrote:
>
> > On Mon, May 30, 2011 at 10:16 PM, Marco van de Voort
> > wrote:
> > http://bugs.freepascal.org/view.php?id=17621
> >
> >
> > Indeed, I was remember
On 05/30/2011 12:25 PM, Elio Fabri wrote:
I tried ptcgraph by a mere change of names, and it works, more or less.
However, the graph unit still appears in the doc, whereas I cant't
find no doc for pctgraph.
Some help?
It's a new unit (first included with fpc 2.4.4) and therefore not yet
mentio
On Mon, 30 May 2011, Felipe Monteiro de Carvalho wrote:
On Mon, May 30, 2011 at 10:16 PM, Marco van de Voort wrote:
http://bugs.freepascal.org/view.php?id=17621
Indeed, I was remembering that too =)
And also, I have a program which loads a huge image (20MB) using
TPortableNetworkGra
On Mon, May 30, 2011 at 10:22 PM, Felipe Monteiro de Carvalho wrote:
> So I have to suggest: Is there a convincing reason for having Pallete set to
> true by default? What do you think about the trivial solution of setting it
> off by default?
It seems I have opened a hornets nest. :) But from th
Hello,
For the interested:
I got news from the editor (chairman of the Dutch Pascal User Group) that the Lazarus book
"Lazarus Complete Guide" is now available for sale.
It can be purchased on-line from:
http://www.blaisepascal.eu/index.php?actie=./subscribers/subscription_mainpageUKPaypalPa
On Mon, May 30, 2011 at 10:16 PM, Marco van de Voort wrote:
>
> http://bugs.freepascal.org/view.php?id=17621
>
Indeed, I was remembering that too =)
And also, I have a program which loads a huge image (20MB) using
TPortableNetworkGraphics and it takes minutes to load the image. I have
simply supp
In our previous episode, Mattias Gaertner said:
> > for reading it surely not appropriate regardless of using palette or not).
> > I guess that some optimization may be reasonable because such pictures
> > could be loaded and displayed (including conversion from true colour to
> > 256 colours p
On 30 May 2011, at 16:59, michael.vancann...@wisa.be wrote:
> It depends on the colors used. The default palette algorithm simply allocates
> a slot per found color in the jpg and returns the index of the
> slow. For a picture, this will create a huge palette, in which the search for
> a color
I created a small automation object with following IDL (part of it):
interface ItestAX: IDispatch
{
[
propget,
id(0x0001)
]
HRESULT _stdcall Devices([out, retval] IDevices ** Value );
};
interface IIDevices: IDispatch
{
[
propget,
id(0x)
michael.vancann...@wisa.be wrote:
Try the following code:
Img:=TFPMemoryImage.Create(0,0);
Img.UsePalette:=False;
Img.loadFromFile(FileList[i]);
That should work much faster. The reason is probably that the default image
created by the reader uses a palette, which is of course dog slow when
re
> With the round bracketitem := items.item(1);
> it crasches saying "Cannot find member"
Difficult to debug without having the dll. If item := items.item[1]; raises
a "wrong number of parameters then the items.item member is found. I don't
understand why items.item(1) raises a
"Cannot f
On Mon, May 30, 2011 16:59, michael.vancann...@wisa.be wrote:
> On Mon, 30 May 2011, Tomas Hajny wrote:
>> On Mon, May 30, 2011 16:16, michael.vancann...@wisa.be wrote:
>>>
>>> Try the following code:
>>>
>>> Img:=TFPMemoryImage.Create(0,0);
>>> Img.UsePalette:=False;
>>> Img.loadFromFile(FileList[
Tomas Hajny hat am 30. Mai 2011 um 16:50 geschrieben:
> On Mon, May 30, 2011 16:16, michael.vancann...@wisa.be wrote:
> >
> > Try the following code:
> >
> > Img:=TFPMemoryImage.Create(0,0);
> > Img.UsePalette:=False;
> > Img.loadFromFile(FileList[i]);
> >
> > That should work much
>
> Interesting. What is supposed to be a "large image"? I ask because the
> original post mentioned 35 kB and 65 kB (and indirectly also dimensions
> around 600x400 if I understand the program output correctly) which I
I suppose he was referring to the "color palette", and not the
physical image
On Mon, 30 May 2011, Tomas Hajny wrote:
On Mon, May 30, 2011 16:16, michael.vancann...@wisa.be wrote:
Try the following code:
Img:=TFPMemoryImage.Create(0,0);
Img.UsePalette:=False;
Img.loadFromFile(FileList[i]);
That should work much faster. The reason is probably that the default
image
c
On Mon, May 30, 2011 16:16, michael.vancann...@wisa.be wrote:
>
> Try the following code:
>
> Img:=TFPMemoryImage.Create(0,0);
> Img.UsePalette:=False;
> Img.loadFromFile(FileList[i]);
>
> That should work much faster. The reason is probably that the default
> image
> created by the reader uses a p
On Mon, May 30, 2011 at 4:16 PM, Michael wrote:
> snip
> That should work much faster. The reason is probably that the default image
Ah, thanks Michael that did the trick. I knew I had to be doing
something wrong.
--
Ben.
___
With the round bracketitem := items.item(1);
it crasches saying "Cannot find member"
I am declaring only variants as you suggestedmaybe for collections
I have to declare explicitely some interfaces? I tried without
success, but not knowing COM at all, I might have written something
wro
Try the following code:
Img:=TFPMemoryImage.Create(0,0);
Img.UsePalette:=False;
Img.loadFromFile(FileList[i]);
That should work much faster. The reason is probably that the default image
created by the reader uses a palette, which is of course dog slow when reading
large images.
Michael.
On
Hi,
I wrote this console utility app in 5 minutes. All it is supposed to do,
is iterate over *.jpg images (65 at the moment) in a folder (no
recursive searches), and generate a snipped of HTML that I need to paste
into my wives website.
I first thought my utility app is in some recursive loop or
Hi,
I wrote this console utility app in 5 minutes. All it is supposed to
do, is iterate over *.jpg images (65 at the moment) in a folder (no
recursive searches), and generate a snipped of HTML that I need to
paste into my wives website.
I first thought my utility app is in some recursive loop or
Use Item(i). Item(long Index, [out, retval] ITransducer* *pVal); means
method with 1 input Index and Output Itransducer^.
Ludo
> -Message d'origine-
> De : fpc-pascal-boun...@lists.freepascal.org
> [mailto:fpc-pascal-boun...@lists.freepascal.org] De la part
> de Roberto Padovani
> Env
Hi Ludo,
I really cannot get the items to work. I simplyfied the source code to
the minimum in order to test the items stuff.
var obj, item, items : variant;
obj := CreateOleObject('WRGactiveX.Device'); // OK
items := obj.Transducers; // OK
writeln('Count
I tried ptcgraph by a mere change of names, and it works, more or less.
However, the graph unit still appears in the doc, whereas I cant't find
no doc for pctgraph.
Some help?
--
--
Elio Fabri
c/o Dip. di Fisica - Univ. di Pisa
--
_
25 matches
Mail list logo