[fpc-pascal] Delphi 2010 code crashing in Lazarus (0.9.30, Win32)

2011-04-13 Thread Paul Nicholls
Hi all, I have a DLL that was compiled using Delphi 2010 (or Delphi XE, not sure which...), and this DLL uses PWideString in a bunch of it's interfaces. I have some code that uses the DLL which runs fine using D2010, but crashes using Lazarus 0.9.30, Win32. The debugger is being less than

Re: [fpc-pascal] Delphi 2010 code crashing in Lazarus (0.9.30, Win32)

2011-04-13 Thread Sven Barth
Am 13.04.2011 09:06, schrieb Paul Nicholls: Hi all, I have a DLL that was compiled using Delphi 2010 (or Delphi XE, not sure which...), and this DLL uses PWideString in a bunch of it's interfaces. I have some code that uses the DLL which runs fine using D2010, but crashes using Lazarus

[fpc-pascal] Re: TMenu - barbreak Delphi Compatbility.

2011-04-13 Thread Ben
On 13/04/2011 00:08, Paul Ishenin wrote: This is a windows only feature and it is not implemented in lazarus. Actually, OS/2 also supports that feature (though rarely used)...but then Lazarus doesn't have an OS/2 native port yet. ;-) -- Ben.

Re: [fpc-pascal] Re: android share library with classes unit

2011-04-13 Thread Felipe Monteiro de Carvalho
Have you done Step 2 described here: http://wiki.lazarus.freepascal.org/Android_Interface#Using_the_pre-compiled_compiler ? I know that those instructions are different from what you are doing, but Step 2 should apply anyway. -- Felipe Monteiro de Carvalho

Re: [fpc-pascal] Re: android share library with classes unit

2011-04-13 Thread darekm
I use this binutils http://www.gnu.org/software/binutils/ using this command to build crosscompiler make clean crossinstall CPU_TARGET=arm OS_TARGET=linux CROSSBINDIR=/usr/share/fpcsrc/binutils/ OPT=-dFPC_ARMEL -O- -gl CROSSOPT=-dANDROID -CpARMv6 -gl -CfSOFT -O- CROSSOPT=-dANDROID -CpARMv6

Re: [fpc-pascal] android share library with classes unit

2011-04-13 Thread Thomas Schatzl
Hi, On Tue, 12 Apr 2011 02:56:39 -0700 (PDT), herux wrote: I managed to compile and run the library for android on emulator, which I compile the project just a libhellojni.so compile using paramater like this ppcarm -Scghi -O1 -Parm -gl -b -B -XX -Xc -XD -CpARMv6 -CfSOFT -dandroid -vewnhi

Re: [fpc-pascal] Inherit interface from 2 interfaces

2011-04-13 Thread Zaher Dirkey
On Tue, Apr 12, 2011 at 11:42 AM, michael.vancann...@wisa.be wrote: On Tue, 12 Apr 2011, Andreas Dorn wrote: On Fri, 8 Apr 2011,michael.vancanneyt worte: The whole idea of interfaces is to avoid multiple inheritance. Hm. I don't believe that. One of the major points of interfaces is

Re: [fpc-pascal] TMenu - barbreak Delphi Compatbility.

2011-04-13 Thread Zaher Dirkey
On Wed, Apr 13, 2011 at 12:08 AM, Paul Ishenin webpi...@mail.ru wrote: 12.04.2011 21:52, Justin Smyth wrote: Guys. In Delphi you can set the break to barbreak to break the menu in half , whats the best way ( if possible to do this in lazarus ) ? This is a windows only feature and it is

[fpc-pascal] Re: android share library with classes unit

2011-04-13 Thread herux
My problem is resolved, I apply the patch contained in that link. reported by Dejan Boras. then rebuild cross compiler with this: make clean crossinstall CPU_TARGET=arm OS_TARGET=linux CROSSBINDIR=/usr/share/fpcsrc/binutils OPT=-dFPC_ARMEL -O- -gl CROSSOPT=-dANDROID -CpARMv5 -gl -CfSOFT -O- now

Re: [fpc-pascal] generic, specialize keywords in mode delphi in FPC trunk

2011-04-13 Thread Sven Barth
Am 12.04.2011 00:05, schrieb Paul Ishenin: 12.04.2011 4:22, cobines wrote: Hello. Following program: program a; {$mode delphi} type generic TGenT = class end; TSpc = specialize TGenInteger; begin end. compiles with FPC 2.4.2, but not with 2.5.1 rev. 17306: a.pas(4,11) Fatal: Syntax error, =

Re: [fpc-pascal] generic, specialize keywords in mode delphi in FPC trunk

2011-04-13 Thread Paul Ishenin
13.04.2011 21:51, Sven Barth wrote: Would you mind if I'd try to continue/finish that work? Please do. Best regards, Paul Ishenin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal