generally, the library itself exports a symbol capable of freeing
allocated memory...
can you find any reference to a delete function in this lib ?
2011/6/1 Malcolm Poole :
> Working from the instructions in CinFreepascal.pdf (
> ftp://ftp.freepascal.org/pub/fpc/docs-pdf/CinFreePascal.pdf ) I hav
Working from the instructions in CinFreepascal.pdf (
ftp://ftp.freepascal.org/pub/fpc/docs-pdf/CinFreePascal.pdf ) I have
written an interface library to the C++ library libtesseract (
http://code.google.com/p/tesseract-ocr ).
Everything appears to work well but I am unsure about how to free m
Cobines solution worked !
not tested constref.
2011/6/1 Jorge Aldo G. de F. Junior :
> 2011/6/1 leledumbo :
>> Yep, this situation would confuse the compiler as it's possible to assign
>> descendant class instance to a class.
>> 1st solution: rename one of the constructor, don't need to use
>> vi
2011/6/1 leledumbo :
> Yep, this situation would confuse the compiler as it's possible to assign
> descendant class instance to a class.
> 1st solution: rename one of the constructor, don't need to use
> virtual/override
Its a class factory, i cannot have multiple constructors, so i need
virtual c
Yep, this situation would confuse the compiler as it's possible to assign
descendant class instance to a class.
1st solution: rename one of the constructor, don't need to use
virtual/override
2nd solution: try using constref instead of const (I hope constref has the
same semantics as var for classe
2011/6/1 Jorge Aldo G. de F. Junior :
> I am having problems with virtual methods.
>
> I have two classes, the second one is a descendent of the first :
>
> 1st:
>
> TTreeNode = Class(TObject)
> Public
> Constructor Create(Const aOwner : TTreeNode); Virtual;
>
> 2nd :
>
I am having problems with virtual methods.
I have two classes, the second one is a descendent of the first :
1st:
TTreeNode = Class(TObject)
Public
Constructor Create(Const aOwner : TTreeNode); Virtual;
2nd :
TTreeNodeWithProperties = Class(TTreeNodeWithN
Finally, I've been able to use the activex collection without any
EOleSysException.
I was able to use the collections from Word and Excel, but not from
the dll I had.
FPC 2.5.1 from svn r17599 fixed it.
Thanks everyone,
Roberto
2011/5/31 Ludo Brands :
> You can send me the file directly
Scanelf -qT gives more information:
libtestpic.so: (memory/data?) [0x241B7] in (optimized out: previous
_$SYSTEM$_Ld159) [0x241B4]
libtestpic.so: (memory/data?) [0x24397] in (optimized out: previous
.La330) [0x24383]
libtestpic.so: (memory/data?) [0x24577] in (optimized out: previous
.La337) [
I also tried 1) and 2) with "-fPIC -Aas" as suggested in some PIC related
bug reports but they crash at same point.
> 1) (bootstrap compiler 2.4.4)
> make clean all OPT="-fPIC"
> --> EAccessViolation when compiling system.pp with ppc386 (the
> --> bootstrap)
>
> 2) (bootstrap compiler 2.5.1 bui
The system.pp checksum changed caused most, if not all, units to be
recompiled in the make install. The fcl units I checked have all a newer
date than the rtl units. I also reduced my testlibrary to not include any
units (no uses) and it still has 4 relocations.
Ludo
> -Message d'origine---
Maybe you are using something from the FCL, so you would need to
rebuild that too
--
Felipe Monteiro de Carvalho
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Dear all,
I'm trying to create a library on linux i386 that contains only PIC code.
The library is a driver that runs unconfined causing SELinux (Fedora) to
block the loading of the library.
The library is compiled with -fPIC but eu-findtextrel reports a lot of
relocations (4933 in my library and
13 matches
Mail list logo