Re: [fpc-pascal] Building FPC for Windows X64

2016-02-25 Thread Justin Smyth
: Friday, 26 February 2016 3:18 AM To: FPC-Pascal users discussions <fpc-pascal@lists.freepascal.org> Subject: Re: [fpc-pascal] Building FPC for Windows X64 Am 25.02.2016 12:19 schrieb "Justin Smyth" <jus...@smythconsulting.net <mailto:jus...@smythconsulting.net> >: &

[fpc-pascal] Building FPC for Windows X64

2016-02-25 Thread Justin Smyth
I'm having some issues where when I try to build fpc for windows x64 from win32 it seems to have a few issues I build my fpc from the trunk release using this command make all install OS_TARGET=win64 CPU_TARGET=x86_64 INSTALL_PREFIX=c:\fpc\3.1.1 CROSSCOMPILE=1 I then copy a old

[fpc-pascal] fpc.cfg - how to set it so it uses arm embedded as the default target

2014-05-20 Thread Justin Smyth
Hi Folks I've got fpc to compile in a dos box for Arm Embedded using this script fpc -Parm -Tembedded -WpLPC1343FBD48 -Cparmv7m myprogram.pp how do it get the above commands into fpc.cfg ? so I can just type fpc myprogram.pp Kind Regards Justin

[fpc-pascal] fpc.cfg - how to set it so it uses arm embedded as the default target

2014-05-20 Thread Justin Smyth
I've created this no change , when I run fpc I comes up trying to use ppc386.exe This is my path on my vm PATH=c:\users\sslvpn;C:\lazarusExtras\FPC\2.6.4\bin\arm-embedded;C:\LazarusE xtras\fpc\2.6.4\Source\rtl\units\arm-embedded;C:\LazarusExtras\fpc\2.6.4\Sou

Re: [fpc-pascal] fpc.cfg - how to set it so it uses arm embedded as the default target

2014-05-20 Thread Justin Smyth
2014 10:49 PM To: delph...@smythconsulting.net; FPC-Pascal users discussions Subject: Re: [fpc-pascal] fpc.cfg - how to set it so it uses arm embedded as the default target On 20 May 2014, at 14:32, Justin Smyth wrote: I've got fpc to compile in a dos box for Arm Embedded using this script

Re: [fpc-pascal] fpc.cfg - how to set it so it uses arm embedded as the default target

2014-05-20 Thread Justin Smyth
and then provide fpc / ppcrossarm.exe with -Wtargetchipset Then I should be able to compile my project in lazarus -Original Message- From: fpc-pascal-boun...@lists.freepascal.org [mailto:fpc-pascal-boun...@lists.freepascal.org] On Behalf Of Justin Smyth Sent: Tuesday, 20 May 2014 11:30 PM

[fpc-pascal] Armv7 fpc openocd v8

2014-05-16 Thread Justin Smyth
Hi everyone, I have recently got open ocd v8 to talk to my nxp lpc 1343 via a stlinkv2 , should fpc ( 2.6.4 or higher support this type of CPU and does anyone have any ideas how to hook up gdb to openocd ? I am thinking of using Lazarus to step through some code if possible) Justin

RE: [fpc-pascal] TStream descendant to compress/decompress gzip data from another stream

2013-03-27 Thread Justin Smyth
I have converted the one from fpc to its own library to do streams , can email it to you later if you wish -Original Message- From: Michalis Kamburelis michalis.ka...@gmail.com Sent: ‎28/‎03/‎2013 6:13 AM To: FPC-Pascal users discussions fpc-pascal@lists.freepascal.org Subject: Re:

Re: [fpc-pascal] TStream descendant to compress/decompress gzip datafrom another stream

2013-03-27 Thread Justin Smyth
Sent: Thursday, March 28, 2013 9:16 AM To: FPC-Pascal users discussions Subject: Re: [fpc-pascal] TStream descendant to compress/decompress gzip datafrom another stream Justin Smyth wrote: I have converted the one from fpc to its own library to do streams , can email it to you later if you wish

Re: [fpc-pascal] [OT] Pascal compiler for embedded platforms

2013-03-19 Thread Justin Smyth
On Tuesday 19 March 2013 00:05:39 Justin Smyth wrote: Does that allow debugging via Lazarus ? Currently I use MSEide in order to develop a M3 based based project (Energy Micro Tiny Gecko). Although with gcc but FPC could be used too I assume. Debugging connection is a Segger J-Link provided

RE: [fpc-pascal] [OT] Pascal compiler for embedded platforms

2013-03-18 Thread Justin Smyth
(simple) board Jeppe gave me an upload program written by his own which works perfect. May be you can ask him. He is the specialist for that stuff. Am Sunday 17 March 2013 10:08:19 schrieb Justin Smyth: Rainer what board were using using for this below ? -Original Message- From

Re: [fpc-pascal] [OT] Pascal compiler for embedded platforms

2013-03-17 Thread Justin Smyth
with FPC. http://j-software.dk/stm32f103.php Am Saturday 16 March 2013 03:13:52 schrieb Justin Smyth: I'm using a LPC 1343 Microcontroller unit from waveshare, basically its a Cortex M3. the link for the board is - http://www.wvshare.com/product/Open1343-Package-A.htm I've now got STLInk V2

Re: [fpc-pascal] [OT] Pascal compiler for embedded platforms

2013-03-16 Thread Justin Smyth
Saturday 16 March 2013 03:13:52 schrieb Justin Smyth: I'm using a LPC 1343 Microcontroller unit from waveshare, basically its a Cortex M3. the link for the board is - http://www.wvshare.com/product/Open1343-Package-A.htm I've now got STLInk V2 debugging kit , i want to debug this board in lazarus

RE: [fpc-pascal] [OT] Pascal compiler for embedded platforms

2013-03-16 Thread Justin Smyth
What kind of controller? Atmel AVR 8 bit? ARM 32 bit? For AVR it works good. Am Friday 15 March 2013 13:29:48 schrieb Justin Smyth: I've tried to use mikropascal and not had any luck , i emailed them my board i was going to use with the product and they said they didnt support it. may

RE: [fpc-pascal] [OT] Pascal compiler for embedded platforms

2013-03-16 Thread Justin Smyth
, schrieb Justin Smyth: I'm using a LPC 1343 Microcontroller unit from waveshare, basically its a Cortex M3. the link for the board is - http://www.wvshare.com/product/Open1343-Package-A.htm I've now got STLInk V2 debugging kit , i want to debug this board in lazarus KInd Regards

Re: [fpc-pascal] [OT] Pascal compiler for embedded platforms

2013-03-15 Thread Justin Smyth
Justin Smyth -Original Message- From: Rainer Stratmann Sent: Friday, March 15, 2013 9:30 PM To: FPC-Pascal users discussions Subject: Re: [fpc-pascal] [OT] Pascal compiler for embedded platforms Am Friday 15 March 2013 10:40:15 schrieb Roberto P.: 2013/3/15 Rainer Stratmann rainerstratm

Re: [fpc-pascal] [OT] Pascal compiler for embedded platforms

2013-03-15 Thread Justin Smyth
full. Kind Regards Justin Smyth -Original Message- From: Rainer Stratmann Sent: Friday, March 15, 2013 9:30 PM To: FPC-Pascal users discussions Subject: Re: [fpc-pascal] [OT] Pascal compiler for embedded platforms Am Friday 15 March 2013 10:40:15 schrieb Roberto P.: 2013/3/15 Rainer

[fpc-pascal] FPC / Lazarus ARM Embedded Debuging

2013-03-13 Thread Justin Smyth
Sorry of this cross posts but i wasn't sure where to send this question to. I am currently using a LPC 1343 Microprocessor board and i have recently purchased a ULINK2 debugging kit from china. i am aware that there are plans to allow debugging these boards using the UNLINK2, but it wasnt

[fpc-pascal] TCustomListBox Sort Query

2011-07-23 Thread Justin Smyth
I've got a file list box thats based around TCustomListBox , i noticed it can be sorted - i'm using it to display filenames but it would be really great to be able to sort it via timedate of the file Is there another control thats like this that i could use ? i was thinking of storing the

[fpc-pascal] Lazarus win32 Break Points

2011-05-24 Thread Justin Smyth
Quick Question , i am running a copy of lazarus twice from the same directory on 2 different projects.if i set a break point in one project should that breakpoint show in the other project if they have common units where the break points are set? apart from running two seperate copys from

[fpc-pascal] TMenu - barbreak Delphi Compatbility.

2011-04-12 Thread Justin Smyth
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 ) ? Delphian___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

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

2011-04-12 Thread Justin Smyth
Thats for a Horizital break , i'm trying to set a vertical break ie 2 or more columns,... its for a Win32/Win64 Project. - Original Message - From: Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com To: Justin Smyth delph...@smythconsulting.net; FPC-Pascal users discussions

[fpc-pascal] Win32 Application Query.

2011-01-23 Thread Justin Smyth
Hi guys I've been working on a application to application communications protocol via named pipes. the basic idea would be for Application A to change a Component Property on Applications B ( ie the visible property) or a text or caption or width / height of a component. ( and also for

[fpc-pascal] non visual timer win32

2010-10-18 Thread Justin Smyth
Guys i have an app on win32 that runs a timer when a form is hidden , any ideas how i get a timer to work when the form is hidden ? Kind Regards Delphian___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] Poss FPC Bug

2010-04-06 Thread Justin Smyth
in my app it work work because the DeskBand.DLL cant see which CSLID it is because the value never gets returned Delphian - Original Message - From: Flávio Etrusco flavio.etru...@gmail.com To: Justin Smyth delph...@smythconsulting.net; FPC-Pascal users discussions fpc-pascal

[fpc-pascal] Poss FPC Bug.

2010-04-05 Thread Justin Smyth
guys i've been working on a port of an application that uses the Com IPersist Interface , one of its procedures seems to be wrong , Function GetClassId(clsid:TClsId):HResult; StdCall; yet i believe it should be Function GetClassId(out clsid:TClsId):HResult; StdCall i've checked the MSDN and

[fpc-pascal] Re: fpc-pascal Digest, Vol 68, Issue 28

2010-02-22 Thread Justin Smyth
Can someone please let me know where i need to put the complier ption -WB0040 to solve the 64 bit debug issue in lazarus ? - Original Message - From: fpc-pascal-requ...@lists.freepascal.org To: fpc-pascal@lists.freepascal.org Sent: Sunday, February 21, 2010 10:00 PM Subject:

Re: [fpc-pascal] Sets FPC

2010-02-21 Thread Justin Smyth
...@elis.ugent.be To: Justin Smyth delph...@smythconsulting.net; FPC-Pascal users discussions fpc-pascal@lists.freepascal.org Sent: Sunday, February 21, 2010 8:11 PM Subject: Re: [fpc-pascal] Sets FPC On 21 Feb 2010, at 07:26, Justin Smyth wrote: I've done the bit Micheal suggest now which i

[fpc-pascal] Sets FPC

2010-02-20 Thread Justin Smyth
- Error: Incompatible types: got TOwnerDrawStateType expected enumeration type how do i get around this ? Justin Smyth ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Sets FPC

2010-02-20 Thread Justin Smyth
) then Kind Regards Justin Smyth - Original Message - From: cobines cobi...@gmail.com To: Justin Smyth delph...@smythconsulting.net; FPC-Pascal users discussions fpc-pascal@lists.freepascal.org Sent: Saturday, February 20, 2010 9:07 PM Subject: Re: [fpc-pascal] Sets FPC If state

Re: [fpc-pascal] Sets FPC

2010-02-20 Thread Justin Smyth
); if odFocused in State then DrawFocusRect(hDC, rcItem); end; end; Canvas.Handle := 0; end; end; - Original Message - From: Jonas Maebe jonas.ma...@elis.ugent.be To: Justin Smyth delph...@smythconsulting.net; FPC-Pascal users discussions fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] Sets FPC

2010-02-20 Thread Justin Smyth
(hDC, rcItem); end; end; Canvas.Handle := 0; end; end; could it be how State is defined causing me the issue ? Kind Regards Justin Smyth - Original Message - From: Michael Van Canneyt mich...@freepascal.org To: FPC-Pascal users discussions fpc-pascal@lists.freepascal.org Cc

[fpc-pascal] Re: fpc-pascal Digest, Vol 68, Issue 19

2010-02-16 Thread Justin Smyth
) -- Message: 1 Date: Mon, 15 Feb 2010 12:24:09 -0800 From: fpc_...@babbler.org Subject: Re: [fpc-pascal] TReader Class To: Justin Smyth delph...@smythconsulting.net, FPC-Pascal users discussions fpc-pascal@lists.freepascal.org Message-ID: 4b79ad69.9070...@babbler.org Content-Type: text/plain

[fpc-pascal] TReader Class

2010-02-13 Thread Justin Smyth
this. Justin Smyth ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Component Writing Question For Lazarus

2010-02-04 Thread Justin Smyth
I've got a simple question , i want to write a component that has two or more other components on it ( ie a text box or or a button and a image ) on it , should i be using a widget to do this ? or should i just write it directly ( i've written components for lazarus before but can only get one

[fpc-pascal] Component Writing Question For Lazarus

2010-02-04 Thread Justin Smyth
- Original Message - From: Justin Smyth To: ik Sent: Thursday, February 04, 2010 11:35 PM Subject: Re: [fpc-pascal] Component Writing Question For Lazarus Yes thats what i'd figured i would do and have my different components as TControl ( as i found out when i looked at how

[fpc-pascal] Component Writing - Registering Components with the widget set

2010-02-04 Thread Justin Smyth
Can someone help here , if i have my own custom component thats got a container that has a base class of TCustomControl does one need to register it on the widget level ? do i just use WSRegisterCustomControl and write my own setters and getter like the ones in wscontrol ? Just not sure if i

[fpc-pascal] ActiveFormHandle from TApplication

2010-01-21 Thread Justin Smyth
Any one know how to get the Active Handle from the current Form from TApplication ? Delphi has something for this but i cant see it. I'm in the progress of getting JVCL working under FPC / lazarus ( FPC 2.5.1 Lazarus Win64 V 0.9.29 ) I suspect i might need to make a property to read the

[fpc-pascal] GetVersionEx - Issue with lpVersionInformation variable

2010-01-21 Thread Justin Smyth
Guys I've been looking at lpVersionInformation in GetVersionEx which is defined as TOSVersionInfo in redef.inc , and in delphi its defined as TOSVersionInfoEx in jclwin32.pas in jvcl ( function GetVersionEx(var lpVersionInformation: TOSVersionInfoEx): BOOL; stdcall; overload; is how its