Re: [Lazarus] Tprogressbar and positional info as ptrint.

2012-12-06 Thread Donald Ziesig
On 12/06/2012 09:06 AM, Reinier Olislagers wrote: On 6-12-2012 14:58, Andrew Brunner wrote: On 12/05/2012 10:28 PM, Hans-Peter Diettrich wrote: How wide would that row be, at say 120 dpi? BG This is not relevant to the issue at hand. As I stated before, the progressbar component of the

[Lazarus] Code Completion Templates

2013-02-05 Thread Donald Ziesig
Hi All! Could anyone point me at the file(s) containing the templates invoked with Ctrl-Shift-C? Specifically I would like to replace the SetParam code that expands to: if(AValue=fParam) then exit; fParam=AValue; with Update(fParam,AValue); // Keeps track of modifications to the

Re: [Lazarus] Code Completion Templates

2013-02-10 Thread Donald Ziesig
On 02/05/2013 02:42 PM, Sven Barth wrote: On 05.02.2013 18:30, Mattias Gaertner wrote: Donald Ziesig don...@ziesig.org hat am 5. Februar 2013 um 23:16 geschrieben: Hi All! Could anyone point me at the file(s) containing the templates invoked with Ctrl-Shift-C? Specifically I would like

Re: [Lazarus] Code Completion Templates

2013-02-11 Thread Donald Ziesig
On 02/11/2013 03:46 AM, Mattias Gaertner wrote: On Sun, 10 Feb 2013 20:45:49 -0500 Donald Ziesig don...@ziesig.org wrote: [...] I have almost finished a patch that uses an xml file, a new unit and mods to codecompletion.pas to implement configurable code completion. I have a few questions

Re: [Lazarus] Code Completion Templates

2013-02-11 Thread Donald Ziesig
On 02/11/2013 03:57 PM, Mattias Gaertner wrote: On Mon, 11 Feb 2013 15:50:47 -0500 Donald Ziesig don...@ziesig.org wrote: [...] 3) I have a separate program to parse the xml file and detect any possible syntax errors before Lazarus tries to load it. Where should I put that? What kind

Re: [Lazarus] Code Completion Templates

2013-02-12 Thread Donald Ziesig
On 02/12/2013 03:36 AM, Mattias Gaertner wrote: On Mon, 11 Feb 2013 21:43:03 -0500 Donald Ziesig don...@ziesig.org wrote: [...] Hmmm. In my code, the XML reader detects, and the IDE writes XML errors to stdout as you say. I haven't implemented a GUI to generate the XML. (Yet). Right now

[Lazarus] Where are the fpc sources for fpc 2.6.2?

2013-02-24 Thread Donald Ziesig
Hi All: I just got a new laptop and decided to put the latest and greatest Lazarus/FPC on it. I got FPC 2.6.2, installed it and used it to compile Lazarus 1.1. When I run Lazarus it asks for (as an example) rtl/linux/system.pp. I found rtl/linux/system.pp in

Re: [Lazarus] Where are the fpc sources for fpc 2.6.2?

2013-02-24 Thread Donald Ziesig
On 02/24/2013 05:40 PM, Mattias Gaertner wrote: On Sun, 24 Feb 2013 17:18:21 -0500 Donald Ziesig don...@ziesig.org wrote: Hi All: I just got a new laptop and decided to put the latest and greatest Lazarus/FPC on it. I got FPC 2.6.2, installed it and used it to compile Lazarus 1.1. When I

[Lazarus] Patch question.

2013-02-26 Thread Donald Ziesig
Hi All! I have finished the code needed to use xml to specify templates for some of the code completion functions. I was about to create a patch till I remembered that the xml file is in ~/.lazarus. AFAICT this will not go into the patch, but should be put into .lazarus on install or build.

Re: [Lazarus] Patch question.

2013-02-26 Thread Donald Ziesig
On 02/26/2013 05:17 PM, Mattias Gaertner wrote: On Tue, 26 Feb 2013 17:05:59 -0500 Donald Ziesig don...@ziesig.org wrote: Hi All! I have finished the code needed to use xml to specify templates for some of the code completion functions. I was about to create a patch till I remembered

[Lazarus] Visual Form Inheritance from Package.

2013-03-19 Thread Donald Ziesig
Hi All! I have some base forms that I am using successfully in several projects. I decided to put the common code into a package, including the base forms. Unfortunately, when I try to inherit from them they do not appear in the list New | Inherited Project Component, even though the

[Lazarus] How to send Email from Lazarus program under Linux x86-64

2013-03-24 Thread Donald Ziesig
Hi All! I am trying to implement a program that will send emails to (a subset of) an application-specific roster. I found numerous references to synapse so I downloaded the source which includes a .lpk library (it is several years old). When I tried to compile it under Lazarus 1.1, fpc

Re: [Lazarus] How to send Email from Lazarus program under Linux x86-64

2013-03-26 Thread Donald Ziesig
Just a word of thanks to all who helped me with this. Somehow I kept getting really old code from all of the links and none of it would compile in 64-bit mode, let alone run. I finally found the synapse svn website which had a massive tarball with almost everything from the beginning to

[Lazarus] Resources

2013-11-23 Thread Donald Ziesig
Hi All! I have been trying to use a resource file (mydata.rc) to include some bitmap images in an app but with no success. For simplicity, I have pared the rc file to a single line: pix2 BITMAP /home/mydir/Desktop/myapp/2.bmp I have the following lines in my main unit: {$R *.lfm} //

[Lazarus] Can't see (or set) border on TComboBox

2014-07-05 Thread Donald Ziesig
Hi All! I just downloaded the latest Lazarus and FPC and now I can't get a combo box with a border :-( . IIRC there used to be a way to select multiple border styles for TComboBox, but all I see now is: BorderSpacing - (TControlBorderSpacing) and the resulting combo box has no visible

Re: [Lazarus] Can't see (or set) border on TComboBox

2014-07-06 Thread Donald Ziesig
On 07/06/2014 12:27 AM, Donald Ziesig wrote: Hi All! I just downloaded the latest Lazarus and FPC and now I can't get a combo box with a border . IIRC there used to be a way to select multiple border styles for TComboBox, but all I see now is: BorderSpacing - (TControlBorderSpacing

[Lazarus] Can't get rid of heaptrace!

2014-07-10 Thread Donald Ziesig
Hi All! I have a program that was working correctly. I used heaptrc to get it that way:-) . Unfortunately, when I removed heaptrc from the uses clause in the project the program no longer starts. Before the very first form is displayed, I get a SegFault in

Re: [Lazarus] Can't get rid of heaptrace!

2014-07-11 Thread Donald Ziesig
. Thanks for the pointers. Don Z On 07/11/2014 02:47 AM, Reinier Olislagers wrote: On 11/07/2014 04:06, Donald Ziesig wrote: I have a program that was working correctly. I used heaptrc to get it that way:-) . Unfortunately, when I removed heaptrc from the uses clause in the project the program

[Lazarus] Where do lazarus apps look for dll's?

2014-07-31 Thread Donald Ziesig
Hi All! Untill yesterday, I had a lazarus app on Windows that worked fine with PostgreSQL. Now it keeps telling me it can't find libpq.dll. I have put libpq.dll in every directory that was recommend on many websites (e.g., in the app directory, in Windows\System32, Windows\SysWOW64, etc.)

Re: [Lazarus] Where do lazarus apps look for dll's?

2014-07-31 Thread Donald Ziesig
On 07/31/2014 06:45 PM, Maxim Ganetsky wrote: 01.08.2014 1:31, Donald Ziesig пишет: Hi All! Untill yesterday, I had a lazarus app on Windows that worked fine with PostgreSQL. Now it keeps telling me it can't find libpq.dll. I have put libpq.dll in every directory that was recommend on many

Re: [Lazarus] Where do lazarus apps look for dll's?

2014-08-01 Thread Donald Ziesig
Hi Again! Thanks for all of the excellent suggestions. After further investigation, it appears that the error message//is***misleading*. Lazarus *IS* finding libpq.dll, but it is not able to load it because *OTHER *system-level dll's that libpq depends on are missing. As mentioned before,

Re: [Lazarus] Developing on Linux with files on Windows NTFS {Solved]

2015-02-06 Thread Donald Ziesig
Thanks to all who responded to my plea for help with multi-platform development. It seems that I was mistaken about the time-stamps causing the problems I encountered. The problems were caused by the fact that Lazarus for Linux wants case sensitive file names and the NTFS driver I was using

[Lazarus] Developing on Linux with files on Windows NTFS

2015-02-05 Thread Donald Ziesig
Hi All! I have been trying to develop a multi-platform app with the IDE on Linux (MInt) and the source files on a Windows NTFS partition. I build and test on windows but my primary work is done on linux so I don't stay logged in to windows very long. The problem I am having is that the

[Lazarus] Developing on Linux with files on Windows NTFS [NOT Fully Solved]

2015-02-08 Thread Donald Ziesig
There is still one residual problem. Right now I am developing and testing on Linux with the files on NTFS using ntfs-3g with case sensitive file names. Everything seems to be ok until I get a compilation error at which point I get two editor windows pointing to the same file with tabs

[Lazarus] TDBCalendar problems

2015-03-14 Thread Donald Ziesig
Hi All! I have been trying to get the TDBCalendar control to update my database with no success. If I manually update the date field in the table, the value is immediately reflected in the control - it changes to the correct date. On the other hand, if I put the dataset in Edit or Insert

[Lazarus] TComboBox.DropDownCount has no effect.

2015-04-04 Thread Donald Ziesig
Hi All! I have several apps that use combo boxes for (e.g.) Minutes. For Minutes, the items range from 0 to 59. The Object Inspector shows that the DropDownCount is 8, but no matter what I put in there, I get the entirety of the items. For Minutes, the selection box spans the display

[Lazarus] Very strange errors when editing programs using Frames

2015-04-08 Thread Donald Ziesig
Hi All! I'm not sure if the following is a new bug or whether it only occurs in Lazarus for Windows 1.4RC2 or RC3. I have been testing Lazarus 1.4RC2 and now Lazarus 1.4RC3 on Windows 7 and have encountered strange behavior with frames. I have simplified the code down to an app that

Re: [Lazarus] TOpenDialog causes debugger error on exit from program.

2015-04-08 Thread Donald Ziesig
On 04/08/2015 12:41 PM, Martin Frb wrote: On 08/04/2015 17:17, Martin Frb wrote: There are several known problems (especially win 7 and up) where gdb 7.2 does not like the dll loaded for the open dialog (shell extensions or something) Workaround is

[Lazarus] TOpenDialog causes debugger error on exit from program.

2015-04-08 Thread Donald Ziesig
Found another bug. This one is repeatable all of the time. Very simple demo. Create a new project. Put a TOpenDialog on the form. Then put two buttons. Button2 calls Close. Button1 has the following code in the onclick handler. if OpenDialog1.Execute then; Run the

Re: [Lazarus] Very strange errors when editing programs using Frames

2015-04-08 Thread Donald Ziesig
On 04/08/2015 05:01 PM, Mattias Gaertner wrote: On Wed, 08 Apr 2015 09:58:32 -0400 Donald Ziesig don...@ziesig.org wrote: [...] (specifically changing *Position*), the .lfm file for the FRAME /occasionally/ gets an entry for*Position*! (sometimes *TabOrder*, too.). I can't pinpoint exactly

[Lazarus] Is it possible to change LazLogger to use unbuffered output?

2015-04-08 Thread Donald Ziesig
Hi All! LazLogger is quite useful in debugging components, but it would be much more useful if the output were unbuffered such that lines written to DebugLn would show in the terminal immediately. Right now, only a portion of the debug output appears unless I append many dummy characters to

Re: [Lazarus] OOP - where do you start?

2015-06-26 Thread Donald Ziesig
Hi Graeme, As mentioned in one of the earlier replies, it really depends on the complexity of the application and the state of the Business Rules. If I have a detailed definition of the Business Rules (a really rare occurrence), I will start with the BOM and UI. I sometimes build in some

[Lazarus] Breakpoints not working

2015-08-13 Thread Donald Ziesig
Hi All, I just updated my windows (ugh) version of Lazarus to 1.4. Everything seems to be working fine except breakpoints are not breaking. They are listed in the breakpoints window with the break property set true, but execution goes wizzing by them without stopping. Any ideas on what

Re: [Lazarus] Breakpoints not working [solved]

2015-08-13 Thread Donald Ziesig
On 08/13/2015 12:27 PM, Donald Ziesig wrote: Hi All, I just updated my windows (ugh) version of Lazarus to 1.4. Everything seems to be working fine except breakpoints are not breaking. They are listed in the breakpoints window with the break property set true, but execution goes wizzing

Re: [Lazarus] Where is hwiringPi?

2015-09-19 Thread Donald Ziesig
On 09/18/2015 08:34 PM, Donald Ziesig wrote: On 09/18/2015 07:50 PM, Bo Berglund wrote: On Sat, 19 Sep 2015 01:21:25 +0300, Maxim Ganetsky <gan...@narod.ru> wrote: 19.09.2015 1:10, Donald Ziesig ?: Hi All! It looks like this is Raspberry PI day :-) . I have Lazarus working on a R

Re: [Lazarus] Where is hwiringPi?

2015-09-18 Thread Donald Ziesig
On 09/18/2015 07:50 PM, Bo Berglund wrote: On Sat, 19 Sep 2015 01:21:25 +0300, Maxim Ganetsky <gan...@narod.ru> wrote: 19.09.2015 1:10, Donald Ziesig ?: Hi All! It looks like this is Raspberry PI day :-) . I have Lazarus working on a RPi 2 B with no problems til now. (S

Re: [Lazarus] Where is hwiringPi?

2015-09-18 Thread Donald Ziesig
On 09/18/2015 06:21 PM, Maxim Ganetsky wrote: 19.09.2015 1:10, Donald Ziesig пишет: Hi All! It looks like this is Raspberry PI day :-) . I have Lazarus working on a RPi 2 B with no problems til now. (Started with monitor, keyboard and mouse till I got ssh and vnc setup, then switched

[Lazarus] Where is hwiringPi?

2015-09-18 Thread Donald Ziesig
Hi All! It looks like this is Raspberry PI day :-) . I have Lazarus working on a RPi 2 B with no problems til now. (Started with monitor, keyboard and mouse till I got ssh and vnc setup, then switched to Remmina on my laptop via tcp/ip). I need to access the GPIO pins from my Lazarus

[Lazarus] Error: OOPS, I lost your class.

2015-12-08 Thread Donald Ziesig
Hi Everyone! I am using Lazarus 1.5 on a Raspberry Pi B 2 and I just encountered an error I have never seen before while editing. I am creating a new generic class as in: type generic TMyClass = class(TMyBaseClass) public constructor Create( AParent : TMyBaseClass = nil);

[Lazarus] How to pass function method to TList.Sort?

2015-12-09 Thread Donald Ziesig
Hi All! Is there any way to pass a method function as the Compare parameter to a TList or is there a work around for it? There are generics involved so it won't let me access the static symbol table. As in: type TMyClass = object fIndex : Integer; List : array of TList;

Re: [Lazarus] Lazarus compile project via ssh?

2015-12-20 Thread Donald Ziesig
On 12/20/2015 07:52 AM, Anthony Walter wrote: Thanks everyone for your replies. Regarding cross compilation, my code contains a sections linking to the broadcom driver and several other files (a whole slew of different vchi modules), which in turns links to many other files. For cross

[Lazarus] Syntax error compiling fpc 3.0.0 3.0.0rc1 3.0.0rc2

2015-12-19 Thread Donald Ziesig
Hi All, I ran out of room on the raspberry pi's 8GB NOOBS SD card so I just created a new SD 16GB card with the latest version of Raspbian. I got all of the usual tools working in short order (VNC, SSH, FTP,...). Then I decided to build a completely new version of FreePascal and Lazarus

Re: [Lazarus] Raspberry Pi bundles now available

2015-12-18 Thread Donald Ziesig
Hi Anthony, What version of Lazarus is installed with this script? Thanks for the great work. Don Ziesig On 12/06/2015 10:18 PM, Anthony Walter wrote: I've uploaded a few Raspberry Pi files and scripts at http://www.getlazarus.org This is a minimal fpc 3.0.0 compiler. It's stripped down to

[Lazarus] Obviously I'm missing something.

2015-12-21 Thread Donald Ziesig
Hi All! I have been beating my head against the wall trying to get the latest versions of fpc and lazarus installed on an almost plain vanilla Raspberry Pi. The reason I say "almost plain vanilla" is that I have setup TightVNC, ftp, svn, etc. on a 16GB SD card loaded with raspbian-jessie.

Re: [Lazarus] Syntax error compiling fpc 3.0.0 3.0.0rc1 3.0.0rc2

2015-12-19 Thread Donald Ziesig
On 12/19/2015 05:53 PM, Anthony Walter wrote: Donald, if all you want is a minimal FPC 3.0.0 for the Pi, I suggest you use my minimal installers from http://www.getlazarus.org The minimal version weights in at 40MB and includes the compiler, a few tools like the console "fp" ide, and the rtl

Re: [Lazarus] Do we really need a PaintSwastika procedure?

2016-01-08 Thread Donald Ziesig
My two cents. This has gotten completely out of hand. When an item has multiple meanings (e.g., artistic, religious or offensive political history) we should give it the benefit of the doubt and LEAVE IT IN. This is Lazarus (an international programming organization), not a totalitarian

[Lazarus] Conditional Defines for Raspberry PI?

2016-01-13 Thread Donald Ziesig
Hi Everyone! Are there any conditional defines that let me exclude PI-specific code when compiling for 64-bit amd linux (or vice-versa)? I can define my own if necessary, but that is one more thing to worry about when switching machines. Thanks, Don Ziesig --

Re: [Lazarus] Conditional Defines for Raspberry PI?

2016-01-13 Thread Donald Ziesig
On 01/13/2016 11:29 AM, Sven Barth wrote: Am 13.01.2016 17:03 schrieb "Donald Ziesig" <don...@ziesig.org <mailto:don...@ziesig.org>>: > > Hi Everyone! > > Are there any conditional defines that let me exclude PI-specific code when compiling for 64-bit amd

[Lazarus] Debugging in Libraries.

2016-01-18 Thread Donald Ziesig
Hi All: I have encountered a problem doing things that used to work. (Using Lazarus 1.4.4 on Linux and 1.4.2 on Raspbian) Specifically, I can no longer step into subprograms in library units, and when I set a breakpoint in the library code it is colored dull green as opposed to bright red

Re: [Lazarus] Debugging in Libraries.

2016-01-18 Thread Donald Ziesig
On 01/18/2016 03:13 PM, Martin Frb wrote: On 18/01/2016 18:34, Donald Ziesig wrote: Hi All: I have encountered a problem doing things that used to work. (Using Lazarus 1.4.4 on Linux and 1.4.2 on Raspbian) Specifically, I can no longer step into subprograms in library units, and when I set

Re: [Lazarus] How to separate window editor from code.

2016-02-08 Thread Donald Ziesig
On 02/08/2016 08:12 PM, leledumbo wrote: How can I restore this to the way it was back on 1.4? Uninstall sparta_dockedformeditor package. -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-How-to-separate-window-editor-from-code-tp4047123p4047127.html

[Lazarus] How to separate window editor from code.

2016-02-08 Thread Donald Ziesig
Hi All! I recently updated raspberry pi to 1.7. When I did, the window editor became a tab in the source editor. This is a real problem. I can't figure out how to tell the window where it was designed. Now it will center on screen, on parent form, etc, but I want to put it into a specific

[Lazarus] Bug in MY code. fpc 3.0.0 did NOT detect - leads to strange error.

2016-02-12 Thread Donald Ziesig
Hi All! After a multi-day debugging binge, I found the problem described in my previous email. Quick summary: Common Library has a unit which defines a generic class that itself is derived from a class from another unit of the same library. Application Library has many units which

[Lazarus] Incompatibility: dynamic array and TStream

2016-02-23 Thread Donald Ziesig
Hi All: I am trying to read the contents of a memory stream into a dynamic array of characters and the program keeps crashing when I try to free the dynamic array. Really simple code: Buf : array of Char; Stream : TMemoryStream; begin // Initialize Stream here SetLength( Buf,

Re: [Lazarus] Incompatibility: dynamic array and TStream

2016-02-23 Thread Donald Ziesig
On 02/23/2016 09:42 PM, Dmitry Boyarintsev wrote: On Tue, Feb 23, 2016 at 9:39 PM, Donald Ziesig <don...@ziesig.org <mailto:don...@ziesig.org>> wrote: I am trying to read the contents of a memory stream into a dynamic array of characters and the program keeps crashin

Re: [Lazarus] Lazarus on my ancient computer?

2016-02-26 Thread Donald Ziesig
On 02/26/2016 09:26 AM, Bart wrote: Hi, On 2/14/16, Bart wrote: This is a bit off-topic. I have an ancient computer: Intel Celeron 700Mhz, 512MB RAM, 20GB IDE HD. (http://flyingsheep.nl/computer_nostalgie.htm#celeron700) (Hardware upgrades are not in the picture.)

Re: [Lazarus] Get Lazarus January 2016 Update

2016-01-21 Thread Donald Ziesig
HI Anthony, You recently replied to Sandro: If you're using my bundles and you want more packages, just use the "Packages > Install/Uninstall Packages" menu item, choose any of the packages you want, then click "Save and rebuild IDE". I had not used those steps before so I tried, using the

Re: [Lazarus] Get Lazarus January 2016 Update

2016-01-21 Thread Donald Ziesig
On 01/21/2016 04:34 PM, Anthony Walter wrote: Okay Don, that's a valid problem. I'll look into it and reissue a new bundle for the Pi. I may have been overzealous in removing files from the lazarus folder to squeeze down the size. I'll message you when it's fixed and tested. You'll just need

Re: [Lazarus] Get Lazarus January 2016 Update

2016-01-21 Thread Donald Ziesig
On 01/21/2016 04:37 PM, Mattias Gaertner wrote: On Thu, 21 Jan 2016 15:32:39 -0500 Donald Ziesig <don...@ziesig.org> wrote: [...] I did try make clean bigide and make bigide and the response was that it could not find target 'clean' or target 'bigide'. What platform? You need to

[Lazarus] Raspberry PI, minor glitch.

2016-01-23 Thread Donald Ziesig
Hi Anthony (and everyone else): I ran into a minor glitch (I saw this before, but it went away with your latest fix). I don't know exactly why it went from working to not working, but I found out what it was doing wrong. Lazarus was working fine through multiple re-boots, running as root

Re: [Lazarus] Raspberry Pi Debug Digital I/O

2016-01-24 Thread Donald Ziesig
On 01/24/2016 05:47 AM, Bo Berglund wrote: On Fri, 22 Jan 2016 20:55:59 -0500, Donald Ziesig <don...@ziesig.org> wrote: The application itself must run as root to do digital I/O. If you don't want to debug using the IDE, you don't have to make the IDE run as root, though, just the app.

Re: [Lazarus] Get Lazarus January 2016 Update

2016-01-22 Thread Donald Ziesig
On 01/22/2016 03:51 AM, Anthony Walter wrote: Okay Don a new Pi bundle has been uploaded which fixes the rebuild IDE problem you experienced. Just run setup.sh again to update. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

[Lazarus] Lazarus January 2016 Update Can't install custom components.

2016-01-21 Thread Donald Ziesig
On 01/20/2016 04:53 PM, Anthony Walter wrote: I've posted new installer for Free Pascal and Lazarus at getlazarus.org . Here is an overview of the what's new: Video: http://www.getlazarus.org/new/ Changes include: A new Lazarus layout with the component pallet

[Lazarus] Raspberry Pi Debug Digital I/O

2016-01-22 Thread Donald Ziesig
Hi All! This applies to the Raspberry Pi 2 B. After a bit of cut and try, I got Anthony Walter's version of Lazarus to run as root (from the Raspbian menu) so I could debug programs which do DigitalRead, DigitalWrite, etc. using h2wiringPi. Note that this could be dangerous if you are

[Lazarus] Library dependency problem. Help please!

2016-02-11 Thread Donald Ziesig
Hi All! I am having a strange library dependency problem. It started yesterday afternoon in a set of code very far from where I was working at the time. I have tried everything I can think of (including creating a new dummy project, and rebuilding and renaming both libraries, one file at

Re: [Lazarus] How to recover from Fatal: Invalid PPU-File entry 121

2016-03-19 Thread Donald Ziesig
On 03/19/2016 06:27 PM, Donald Ziesig wrote: Hi All! I've been happily coding away all day on my Raspberry Pi 2B+, when all at once I got the error: Compile package LCL 1.7 : Exit code 256, Errors 1 Fatal: Invalid PPU-File entry 121 I tried rebuilding using Run | Clean up and Build, but got

[Lazarus] How to recover from Fatal: Invalid PPU-File entry 121

2016-03-19 Thread Donald Ziesig
Hi All! I've been happily coding away all day on my Raspberry Pi 2B+, when all at once I got the error: Compile package LCL 1.7 : Exit code 256, Errors 1 Fatal: Invalid PPU-File entry 121 I tried rebuilding using Run | Clean up and Build, but got the same error (after a few minutes of

Re: [Lazarus] Edit Shortcut Bug when Defining Generic Record

2016-03-06 Thread Donald Ziesig
On 03/06/2016 02:17 PM, Mazola Winstrol wrote: Hello, Lazarus version: 1.6 using the lazarus provided fpc compiler (3.0). Please confirm if it is a bug: If i define a generic record, when i press Ctrl+Shift+C to automatically define the implementation, the code generated ignores the type

Re: [Lazarus] cthread library for fpc 3.0 on raspberry pi. - SOLVED

2016-05-21 Thread Donald Ziesig
On 05/20/2016 06:04 PM, Donald Ziesig wrote: Hi All! I'm still trying to play audio on my Raspberry Pi B 2 using FPC 3.0 and Lazarus 1.7 using UOS. After help from Graeme and Mattias, (many thanks) I was able to get UOS to compile, but when I try to run the demo programs I get Runtime

[Lazarus] cthread library for fpc 3.0 on raspberry pi.

2016-05-20 Thread Donald Ziesig
Hi All! I'm still trying to play audio on my Raspberry Pi B 2 using FPC 3.0 and Lazarus 1.7 using UOS. After help from Graeme and Mattias, (many thanks) I was able to get UOS to compile, but when I try to run the demo programs I get Runtime Error 232. This implies that I do not have the

[Lazarus] How to play audio from memory.

2016-05-11 Thread Donald Ziesig
Hi All! Is there any Free Pascal code that can play audio directly from memory? I would like to be able to play the equivalent of a .WAV file through the stereo output jack of a Raspberry Pi. Currently I am able to do this by calling omxplayer with a file name and volume information.

Re: [Lazarus] How to play audio from memory.

2016-05-16 Thread Donald Ziesig
On 05/11/2016 05:26 PM, Graeme Geldenhuys wrote: On 2016-05-11 21:53, Donald Ziesig wrote: Currently I am able to do this by calling omxplayer with a file name and volume information. Unfortunately, the latency between starting omxplayer and the beginning of the audio output is several seconds