Recent Posts

Pages: [1] 2 3 ... 10
General / Re: How to: create DLL file for Windows 10 64-Bit Pro
« Last post by paule32 on Today at 02:01:53 pm »
when I try to concatenate a PChar with String:

Code: Pascal  [Select][+][-]
  1. foo := 'text';  // this will work
  2. foo := 'text' + pchartextvar;  // this will not work.

The signature of the function is:
function  fpc_pchar_to_ansistr(const p : PAnsiChar): AnsiString; compilerproc; overload;
function  fpc_pchar_to_ansistr(const p : PChar): AnsiString; compilerproc; overload;

and the Error output on the console is:
Code: Bash  [Select][+][-]
  1. Error: Wrong number of parameters specified for call to "$fpc_pchar_to_ansistr"
  2. Error: Found declaration: $fpc_pchar_to_ansistr(const PAnsiChar):AnsiString;
  3. Error: Found declaration: $fpc_pchar_to_ansistr(const PChar):AnsiString;

so, what parameter is missing ?
General / Re: Linux, Lazarus and the Serial Port
« Last post by sunjob on Today at 01:09:30 pm »
General / Re: Draw a line in the ScrollBox ?
« Last post by paule32 on Today at 01:09:03 pm »
you can override the Paint methode
General / Re: Draw line
« Last post by majid.ebru on Today at 01:04:22 pm »
The property: DragDrop, and events: OnDragOver, ... are your friends.

No my problem is draw a line in the ScrollBox no events of ScrollBox !
General / Re: Draw line
« Last post by paule32 on Today at 12:50:14 pm »
The property: DragDrop, and events: OnDragOver, ... are your friends.
Suggestions / Re: add new targets to make
« Last post by Laksen on Today at 12:37:10 pm »
A trick you can do is to figure out the command the makefile does to compile a specific unit just by looking through the called commands during execution. Then just keep calling that or setting those args as the launching parameters in Lazarus for the compiler project (e.g ppcmipsel.lpi) together with the specific working directory
General / Draw a line in the ScrollBox ?
« Last post by majid.ebru on Today at 12:34:29 pm »
please help and guide me !

Is it possible to draw a line in the scrollbox with the onclick event and make it moveable?
Without using any components!! :)
Suggestions / Re: add new targets to make
« Last post by TRon on Today at 12:13:14 pm »
wanna create the cross-compiler and corss-rtl separately.
tbh I do not know if that is even possible for a cross-compiler. For sure you can create ("only") the compiler but the cross-units will be build as well in that case.

till now i have to do make all <targets>
Why ?

It is possible to use make crossinstall or any of the predefined cross-targets (or use CROSSINSTALL=1) in combination with your target OS/CPU and only the necessary parts will be build. Also make sure to provide FPC or PP so that the (native host) compiler isn't (re-)build each time.
Editor / Re: v3.99 code completion question
« Last post by Martin_fr on Today at 11:54:01 am »
I went back and check 3.3(fixes), 2.2.6 and 2.0.12

Code: Pascal  [Select][+][-]
  1. var a: array

All version suggest some longer identifier.

Even if I have "include identifiers containing prefix": "from current unit", and the word already is somewhere in the source.

array, begin, end seem to be absent, even if "include all keywords and operators" is checked. And the purpose of this, is to include them... (but then it only contains what was contributed, and I haven't seen active work on it / It's part of the new "open autocompletion always, even without dot").
Android / LAMW - Unable to compile lazandroidwizardpack.lpk
« Last post by Alcatiz on Today at 11:36:00 am »
Hi all!

I'm trying to install the latest version of LAMW from scratch on a Debian 11 (64 bits), using lamw_manager. Everything goes right except when compiling lazandroidwizardpack.lpk. I first got an error "Unknown function: Fpchmod" in createfile.pas, which I could correct, but now I'm getting more and more compile errors in, a.s.o, so I stop trying to solve it by myself.

Am I the only one to encounter installation errors?

Pages: [1] 2 3 ... 10

TinyPortal © 2005-2018