On Wed, 11 May 2011 19:49:15 -0300
Leonardo M. Ramé l.r...@griensu.com wrote:
[...]
if @lGetDicomImage nil then
if lGetDicomImage nil then
What mode are you using? Delphi?
No, I'm using objfpc.
Then the if @lGetDicomImage nil then is a tautology.
if
On 2011-05-12 11:04:30 +0200, Mattias Gaertner wrote:
On Wed, 11 May 2011 19:49:15 -0300
Leonardo M. Ramé l.r...@griensu.com wrote:
[...]
if @lGetDicomImage nil then
if lGetDicomImage nil then
What mode are you using? Delphi?
No, I'm using objfpc.
Then the if
On 2011-05-12 05:38:53 +0300, Kostas Michalopoulos wrote:
I think that using a @ before the function pointer variable returns the
variable's address not the function's and that the @ is needed only for
functions, ie.
function Foo: TBar;
...
FooRef:=@Foo;
will assign to FooRef the
Then, how should I check if the function is part of the library?.
Sorry, fixed as Kostas suggested.
--
Leonardo M. Ramé
http://leonardorame.blogspot.com
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
On Wed, 11 May 2011 15:35:40 -0300
Leonardo M. Ramé l.r...@griensu.com wrote:
Hi, I'm using a C++ library created by me, with a function that let me get an
image buffer.
I use that buffer to do some processing, then I can tell the library to
delete the buffer.
In Linux, I never had an
On 2011-05-12 00:36:34 +0200, Mattias Gaertner wrote:
On Wed, 11 May 2011 15:35:40 -0300
Leonardo M. Ramé l.r...@griensu.com wrote:
Hi, I'm using a C++ library created by me, with a function that let me get
an image buffer.
I use that buffer to do some processing, then I can tell the
I think that using a @ before the function pointer variable returns
the variable's address not the function's and that the @ is needed
only for functions, ie.
function Foo: TBar;
...
FooRef:=@Foo;
will assign to FooRef the address of Foo, but
OtherFooRef:=@FooRef;
will try to assign to