Re: [Lazarus] Web vs desktop development

2016-01-15 Thread Curt Carpenter

Sounds right to me.  Good assessment.

On 1/15/2016 11:29 AM, Anthony Walter wrote:

On a programming web forum someone said regarding Lazarus:

On just cursory review, looks compelling. However, I get so little 
call these days for native/desktop applications. Seems everyone wants 
web now.


I replied:

I agree that web applications are far superior in many situations. 
Compared to desktop applications they are much easier to deploy, much 
easier to upgrade, they work across multiple platforms, the user 
experience is much richer (easier to layout, video, audio integration, 
css transitions), data handling is easier (no need for local database 
server or local database connection configurations), and of course web 
applications go much better with the software as a service 
subscription or pricing model.


That said, desktop applications have a better time working with local 
resources like files, scanners, printers (though cloud services for 
storage and printing make this less relevant), are usually more 
responsive, they obviously have better desktop integration (copy and 
paste, drag and drop), usually have better user interface layout 
management (docking windows, toolbars, menus), better performance, 
better direct access to memory data structures (think of images 
editing accessing pixels, editing audio waveform samples), and are 
better for applications which require long time processing like 
encoding videos or recording audio.


That said, I prefer desktop software for doings tasks, which I think 
is what most computer enthusiasts want to do. I write desktop software 
to automatically scan Craigslist and eBay for collectibles which 
interest me. I write desktop software to monitor video feeds with 
OpenCV. I write desktop software to make games with SDL2/GLESV2. On so 
on ...


I guess what it comes down to is this:

For businesses web development is probably a better fit for their 
software needs.


For people who are computer enthusiasts that use their computers to 
process tasks or solve problems, desktop development is probably better.


What are your opinions on the subject title ?


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Unicode branch

2013-06-24 Thread Curt Carpenter
For the very little that it's worth, I abandoned Delphi (10) because I 
was sick of Embarcadero's approach to strings at that time, which forced 
a rework of *a lot* of my old code and components.


Adopted Lazarus and never looked back.

On 6/24/2013 10:14 AM, Hans-Peter Diettrich wrote:

Michael Schnell schrieb:
I just have been told that Embarcadero plans to do away with the 
stuff fpc is just implementing in the "Unicode branch" and is on the 
verge to change to a completely new String type that is

 - UTF-16-only,
 - Zero-Based, and
 - immutable.
And thus completely incompatible with any "String" Type ever known in 
Pascal.


They also make TObject reference counted...



So
 - why do we discuss compatibility at all ?
 - do we like this (rather complex and not at all "straight forward") 
String type that much that it is viable to implement, debug and 
decently document this library ?


UnicodeString has been introduced in D2009, i.e. we are a couple of 
years behind with compatibility.


Once this has been implemented, we can spend some more years with 
updating the RTL and LCL - or continue using UTF-8 instead of UTF-16.


When we can start implementing further changes, we should look whether 
Delphi exists at all, at that time. I wouldn't hold my breath ;-)


DoDi


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] [OT] New Lazarus website

2013-06-22 Thread Curt Carpenter

On 6/22/2013 1:03 PM, silvioprog wrote:

Lazarus website with a new look:



looks great!
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] libSANE.dll for winfows

2013-05-28 Thread Curt Carpenter
For older versions of windows, you might want to google TWAIN SDK.  As I 
recall, it supports scanners.


On 5/28/2013 3:22 PM, Howard Page-Clark wrote:

On 28/05/2013 12:51, amin ibrahime wrote:

Hi
  I try to uses scanner by lazarus application to multiplateform i found
SANE "demomain"
i compiled and run under liunx but when run under widows i
need*libsane.dll *
where i can find this dll or its pascle source code to compile and use


Scanning support on Windows is provided via the Windows Image 
Acquisition Library v2.0, which comes as standard with Vista, 7 and 8 
(wiaaut.dll, which should be found in the \Windows\System32 folder).

AFAIK the Sane packages are Linux only.





--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus




--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus Install on Raspberry Pi

2013-04-29 Thread Curt Carpenter
Just a note to say thanks for the great 4-step installation of Lazarus 
on the Raspberry Pi. With one minor
problem (due to my using a very slow SD card I think), the download and 
install went without a hitch.


If only _all_ of my software installations went this flawlessly :-)

Thanks again.  Amazing!



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus update

2013-03-19 Thread Curt Carpenter

Congratulations to the team on the new release.

I confess that I share Chavoux Luyt's fears about updating, especially 
since I use FPC/Lazarus on three different platforms (and don't really 
know what I'm doing on two of them :-)


(OK -- all of them.)

Is there a wiki on Updating For Idiots?

Thanks again for all the hard work!

Curt Carpenter

On 3/19/2013 5:54 AM, Chavoux Luyt wrote:

Hi guys

I am still running lazarus v.1.0 RC, basically because I installed a 
bunch of components (mostly 3D - GLScene, OpenGL, etc) and I can no 
longer remember which ones came as part of Lazarus and which ones I 
had to install myself (I am also a bit afraid that updating lazarus 
and fpc might break something). Is there any way to record all 
currently installed components (Lazarus inbuilt and self-installed) 
and automatically re-install them when updating Lazarus? Would it be 
difficult to write a bash script (or .bat file on windows) that can do 
this (if it does not already exist in Lazarus)?


In the same vein: any specific components to recommend for 3D game 
development in Lazarus/free-pascal?


FYI I am running Lazarus on Debian stable (Mepis 11), so I normally 
use .deb files for installing fpc and lazarus, (but not for components).


Thanks
Chavoux


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] FPC / Lazarus ARM Embedded Debuging

2013-03-14 Thread Curt Carpenter

I second that.

On 3/14/2013 1:11 PM, Michael Ring wrote:

Totally disagree (when there is no need to meet a deadline)  ;-) ;-)

The implementation is still a little rough but growing knowledge by 
working low level has it's own appeal.


And microcontrollers (at least when they are a hobby) should be fun, 
and I do not want to ruin this fun with huge numbers of defines and 
macros that do not debug well and are sometimes hard to read.


When you have to meet a deadline and your daily business depends on it 
this is a whole different story, I'd say use CoCoox ide, Eclipse, 
whatever and come back when everything is ironed out.


But for the fun of it Freepascal and it's phantastic community is the 
right place to be right now...



Michael



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] some number manipulation

2013-03-09 Thread Curt Carpenter
I would create a matrix A[i,j] with i = 1,2,3,...31 (31 rows) and 
j=1,2,3,...20 (20 columns).

Initialize the matrix to all zeroes.
Then for each day of the month, if the number "k" occurs in day j, then 
set A[j,k] := 1.
At the end of the month, the sum of the elements in row k will tell you 
how many times k occurred during the month.
Then scan each row of the matrix looking for three or more consecutive 
1's (left as an exercise :-)


On 3/9/2013 10:00 AM, Howard Page-Clark wrote:

On 09/03/13 3:06, appjaws wrote:

I have a series of results, for each day of the month I have 10 
numbers

ranging from 1 to 20. i.e.
Day11,3,4,5,7,9,12,16,17,20
Day23,4,5,6,8,9,15,17,18,19

...

I just realised that I need to sort the numbers because they are not
like my example above. So where and how would I sort the array for each
Day and then call ThreeOrMore?


If you have any programming books you'll almost certainly find they 
include a chapter on sorting algorithms (bubble sort, quicksort etc.).

One FPC/Lazarus tutorial implementation is at
http://www.pp4s.co.uk/main/tu-ss-sort-quick-demo1a.html
and Lazarus also has several integer quicksort implementations in its 
own code such as at ...\lazarus\lcl\grids.pas, line 2850


Howard


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus




--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] IDE

2013-01-21 Thread Curt Carpenter

On 1/21/2013 12:53 PM, Juha Manninen wrote:

On Mon, Jan 21, 2013 at 8:10 PM, Mark Morgan Lloyd
 wrote:

I see nothing like that with 0.9.30- or with newer versions- on Debian+KDE4
on x86. Can't speak for x86-64, which in my case I have not got.

I have x86-64, Linux Mint + KDE, and it works well. :)
Anyway, Lazarus 0.9.30 is very old. You should not waste your time
with it while there are more recent versions available.
You have Linux so I would recommend Lazarus trunk from SVN server.
Once you have FPC installed, it is very easy to install, and it is
rather stable most of time. Linux users typically don't have problems
running this from console:

$ svn co http://svn.freepascal.org/svn/lazarus/trunk lazarus

More about it:
   http://wiki.lazarus.freepascal.org/Getting_Lazarus


Juha

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

I think I'm going to try following the "Getting_Lazarus" instructions in 
the wiki.  Before I do though:  1)how thoroughly do I need to purge my 
system of my old FPC and Lazarus installations? And 2) do I have to 
manually install FPC2.6.0 before I try the Getting_Lazarus directions?


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] IDE

2013-01-21 Thread Curt Carpenter

On 1/21/2013 12:15 PM, Martin wrote:

On 21/01/2013 17:51, Timothy Groves wrote:

On 13-01-21 12:49 PM, Juha Manninen wrote:

On Mon, Jan 21, 2013 at 7:44 PM, Timothy Groves
 wrote:
The IDE just seems to get buggier and buggier the longer I use it. 
Can't
click on the tabs in the editor, and if I use F10 to select a tab 
manually,
the edit focus stays on the old page.  Is anything being done to 
fix this?
No, because others don't have such problems. The problem must be in 
your system.

You did not mention your OS nor your Lazarus version. It is difficult
to say more about the possible reasons.

Juha



Lazarus 0.9.30.2-2 on XUbuntu 12.04-1 running KDE 4.


Using any docking manager? They are *all* beta.

Please update to 1.0.4 or even snapshot from fixes.

Updating Lazarus from Ubuntu is a little difficult (if you're new to 
Linux like me) since the Ubuntu Software Center is set up to install the 
older Lazarus version using FPC2.4.4.


That said, my first step would be to try reloading the older Lazarus 
with Ubunto (uninstall everything first, then reinstall) and see if the 
problems go away.  (If you've installed a lot of Lazarus packages, that 
is not going to be fun.  But maybe some of your components are misbehaving?)


But that's just my 2 cents worth -- I'm FOR SURE no expert.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] New Lazarus User

2013-01-04 Thread Curt Carpenter

Hello George:

  I'm using Lazarus on a PC running Ubuntu 12.04.

  I had problems installing Lazarus using the Ubuntu Software Manager 
-- but you will find a good set of install instructions here. 
<http://www.lazarus.freepascal.org/index.php?topic=15432.0> 
(http://www.lazarus.freepascal.org/index.php?topic=15432.0)


  Once you get it installed, it works great, and I had no problems 
moving my old Lazarus programs from windows to Linux.


Curt Carpenter

On 01/04/2013 01:20 PM, ik wrote:


On Fri, Jan 4, 2013 at 9:05 PM, George R Smith 
mailto:geo...@grsmith.arcoxmail.com>> 
wrote:


All,
I just ordered my first all Ubuntu laptop and since I like Delphi
I noticed Lazarus.
Can Lazarus run and are people using Lazarus on Ubuntu 12.10 and
does it use
Wine.


Lazarus is a native application in Linux. You can choose the GTK(2) or 
Qt execution, but it's native, not a hack with wine or anything like that.


Thanks
George

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
<mailto:Lazarus@lists.lazarus.freepascal.org>
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus




--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Installing Lazarus on Ubuntu 12.04LTS

2012-12-02 Thread Curt Carpenter
Does anyone know a knowledgeable Ubuntu/Linux person in the Dallas, 
Texas area that could help me install Lazarus

on that OS?  I could afford to pay modestly for the help.

I have Ubuntu 12.04 working on a PC and have read everything I can find 
on the net about this install -- but I'm new to
Linux, so much of what I read is foreign to me (example:  one set of 
instructions tells me that I must install the
Lazarus meta-package using Synaptic -- but I don't know what a 
meta-package is, or where to find the Lazarus meta-package
(don't see it on Source Forge) -- or how to use Synaptic (although I do 
seem to have installed it using sudo!)


I think I can eventually figure this out (my goal is to learn to use 
Linux anyway) -- but having a guide in this particular case would,

I think, be 300 - 400% more efficient!

Thanks for any help.



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Where is the System Unit source?

2012-11-14 Thread Curt Carpenter

Hello Sven.

I understand now.  I am using lazarus, which uses 4-byte integers.


"It seems that you haven't read the declarations in systemh.inc correctly:"

Yes.  I'm new to this, and that is quite possible.  But now I will know 
where to look next time.:-)


Thanks again.


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Where is the System Unit source?

2012-11-14 Thread Curt Carpenter

Hello Sven.

Thank you for the help.

I tried this code:

procedure test;
var c: integer;
  loc,hic: byte;
begin
c := 1000;
hic := hi(c);
loc := lo(c);
end;

The result is always hic = 0 and loc = 0 for me.

I have looked in ninl.pas as you suggested, and found the in_lo_xx  
items around line 2780 in that file.  I note that in_lo_integer  and 
in_hi_integer do not appear among the items listed.


In fpc/rtl/inc/system.inc,   I find Hi(b:byte): byte declared.
in fpc/rtl/inc/systemh.inc, I find only declarations for hi and lo.

I'm guessing that somehow hi(i:integer): byte  and lo(i:integer): byte 
got dropped from the code base somehow (but remained in the fpc 
documentation).


Perhaps it's located somewhere that I have not looked yet?

Anyway -- thanks to all who gave me some pointers!   I don't have the 
skill to try to suggest a fix, if in fact one is required. The 
work-around for me is to simply use word rather than integer types.


Regards,
Curt Carpenter

On 11/14/2012 4:50 AM, Sven Barth wrote:

Am 14.11.2012 05:19, schrieb Curt Carpenter:

Hello.

I am using Lazarus 0.9.30.4 with FPC 2.6.0 under Windows XP.

In my system, the two functions "hi(x)" and "lo(x)" don't seem to 
work if the argument x is an integer variable (although both 
functions work fine if x is a WORD variable).


Why do you come to the conclusion that they work incorrectly? Do you 
have an example where you can state what you expect and what you get?


To see if I could figure out why this is, I started trying to find 
the System unit that contains these two functions.  I haven't been 
able to locate it though.


The hi and lo functions are compiler intrinsics and are not visible in 
code (the compiler generates specific code for them). If you still 
want to explore: they are implemented in compiler/ninl.pas (look for 
"in_XX_YYY" where "XX" is either "hi" or "lo" and "YYY" is "word", 
"long" or "qword").




Could anyone tell me where I'll find the system unit source?  I have 
the source for FPC, but can's seem to find system.pas anywhere.


The system units are called "system.pp" (not .pas) and are located for 
each target in rtl/TARGET/system.pp (these usually include files from 
rtl/inc or rtl/TARGET or rtl/PLATFORM) (example for TARGET is win32 or 
linux, example for PLATFORM is i386 or arm)


Regards,
Sven

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus




--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Where is the System Unit source?

2012-11-13 Thread Curt Carpenter

Hello.

I am using Lazarus 0.9.30.4 with FPC 2.6.0 under Windows XP.

In my system, the two functions "hi(x)" and "lo(x)" don't seem to work 
if the argument x is an integer variable (although both functions work 
fine if x is a WORD variable).


To see if I could figure out why this is, I started trying to find the 
System unit that contains these two functions.  I haven't been able to 
locate it though.


Could anyone tell me where I'll find the system unit source?  I have the 
source for FPC, but can's seem to find system.pas anywhere.


Thanks for any help.

Regards,
Curt Carpenter


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus and Free Pascal downloads plummeting on SourceForge

2012-08-02 Thread Curt Carpenter

Could it also have had something to do with the release of DelphiXE?
On 8/2/2012 5:50 PM, Marco van de Voort wrote:

On Mon, Jul 30, 2012 at 10:19:02PM +0200, Florian Kl?mpfl wrote:

Free Pascal on SourceForge, but for some reason
the download rates of both suddenly seem to be in free-fall!  See the
attached graphs.

Actually I find more the increase and randomness in 2012/2012 strange. I
see no reason why suddenly in 2010 fpc gets a popularity boost.

Afaik sf merged to a new statistic system, and the old was overloaded and
sometimes didn't register for periods of several weeks.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus




--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Why the Java became so strong?

2012-02-13 Thread Curt Carpenter
This is a good question, I think.  No idea what the answer is -- just 
familiar with the TIOBE data.
My guess is that JAVA has more corporate sponsorship -- but I will be 
interested in hearing what others have to say.


I often wonder if there would be any possibility of a creative, 
at-arms-length partnership between Embarcadero/Delphi and FPC/Lazarus 
that would benefit both.


The TIOBE data also indicate a big increase in database activity in 
general.  Perhaps there's a clue there as well?  (It would help to 
explain the recent increases in Delphi use I think.)


On 2/13/2012 9:19 AM, Everton Vieira wrote:

Why the Java became so strong?

We could think about the good large library.
We could think about the eclipse IDE.
We could think about the partnerships.

But doesn`t matter.

What`s matter is that the fpc/lazarus has even more potential than.
What`s matter is why this potential have not yet spread out widely.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus




--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Hello World program generates a File Not Open runtime error

2012-01-29 Thread Curt Carpenter

On 1/29/2012 11:38 AM, Antônio wrote:

You are right, unchecking -WG it is OK.

Antônio

2012/1/29 Mattias Gaertner:

On Sun, 29 Jan 2012 12:31:51 -0200
Antônio  wrote:


program project1;

{$mode objfpc}{$H+}

uses
   {$IFDEF UNIX}{$IFDEF UseCThreads}
   cthreads,
   {$ENDIF}{$ENDIF}
   Classes
   { you can add units after this };

begin
   WriteLn('Hello World');
   ReadLn();
end.

Any problem? Am I missing something?

Please check Project options / Compiler options / Linking / Target OS
specif options.
Make sure the -WG is not checked.

Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Mattias:
Could you tell us where we find this in the documentation?  I'm sure 
it's there -- I'd just like to add it to my notes since I'll probably 
encounter the same problem at some point :-)

Thanks,
Curt Carpenter

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] MFC42D.DLL Used by Lazarus or FPC?

2011-12-30 Thread Curt Carpenter
I have been working on a Lazarus program that as of today reports that 
it can't find MFC42D.DLL.  Can anyone tell me if Lazarus uses this dll?


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Compiled file size (again)

2011-12-14 Thread Curt Carpenter
No idea personally -- but I will watch for the response from the 
hard-working and knowledgeable people that contribute here (who all 
deserve our vote of thanks and gratitude!)


Maybe some corrected elements still have their debug information enabled?

On 12/14/2011 11:34 AM, Jürgen Hestermann wrote:
I know this topic has been discussed multiple times but I am 
astonished about it repeatedly.
I know that FPC/Lazarus exe files are way larger in size than i.e. 
Delphi exe files.

But I am wondering why it even increases in such short time slots:

I compiled my program without change with the following builts
and resulting sizes (after stripping debug information):

Lazarus-0.9.31-33059-fpc-2.5.1-20111024-win32: 1.643.520 bytes
Lazarus-0.9.31-34078-fpc-2.5.1-20111210-win32: 1.872.896 bytes

The size itself is huge IMO but it even increases rapidly.
229,376 bytes (nearly 14%) added in not even two months is a lot.

Anybody who has an idea why?






--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus




--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] [fpc-pascal] Is there an online tool for browsing library documentation and source code for FPC and Lazarus?

2011-11-12 Thread Curt Carpenter

On 11/12/2011 10:01 AM, Hans-Peter Diettrich wrote:


Right, organizing all material is a very big job :-(

I'm not happy at all with the wiki, I cannot find anything there, 
unless somebody gives me a direct link. Do you have an idea how this 
could be improved?


DoDi

I think you need someone with expertise and experience in documentation 
to look at the problem -- and that's certainly not me.   I might be able 
to handle a writing assignment if someone gave it to me as part of a 
larger docs project though,
in the context of a good outline and if it involved a specific topic 
that I could study from here.


I find the wiki useful and friendly, and have pretty good confidence 
that if I have a question, I'll find the answer there somewhere.  It's 
just hard to know where.  (I've taken to keeping careful notes about 
where to find stuff -- in the wikis, on the forum pages etc.)   So far, 
I've not committed to buying a copy of the _Lazarus, a Complete Guide_  
(although I'm sure I'd find it useful).


The forums are a very valuable resource too.   The knowledge and 
expertise is there (and here) -- it's just not organized for easy study 
and use.


Because the job of organizing the material is so big, I wonder if it 
would work to start a subscription program that would let the community 
pay somebody to manage and organize the effort of a volunteer team?   
I'd contribute a little money (retired, so not much of that sadly) -- 
but could contribute quite a bit of time to such an effort.


As for content:  I'd guess that most Lazarus users are pretty 
comfortable with going into the source to look for answers to a 
question.  The problem is knowing which particular PART of the source to 
go to -- and where that part is on my hard drive.
That knowledge will come from experience -- but it would sure be easier 
under the guidance of an expert and a written guide.   (I still haven't 
figured out how to know when to go to the Free Pascal docs vs. the 
Lazarus docs -- but that might just be my problem :).


Maybe you could take the lead on something like this?







--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] [fpc-pascal] Is there an online tool for browsing library documentation and source code for FPC and Lazarus?

2011-11-12 Thread Curt Carpenter
I'm new to Lazarus from Delphi, and am still trying to learn how to use 
the Lazarus docs effectively.   I too would like a guide to using them well.
(Although they're fragmented over multiple documents,  I STILL find the 
Lazarus material easier to use than the current versions of the Delphi 
docs.)


That said though:  how about joining a community documentation group 
that could do a good outline and then distribute writing assignments to the
group members?   I'd join such an effort if I knew how (and if my newbie 
understanding would allow me to contribute something.)


I realize that such a group might already exist.   But how to join 
it/contribute?   Need a knowledgeable leader(s) that can do the basic 
organization task

(a pretty big job!)

Regards,
Curt Carpenter



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Help with AllocateHwnd in Lazarus 0.9.30 on WindowsXP

2011-08-22 Thread Curt Carpenter
I have a non-visual component that uses AllocateHwnd and 
DeAllocateHwnd.  My component compiles, but
gives me a 'RunError(217)' when I try to use it in a test program .   
The error is occurs at the AllocateHwnd instruction in my component's

constructor, where the exact usage is:

 if not (csDesigning in ComponentState) then FNotifyWnd := 
AllocateHWnd(@TimerWndProc);


TimerWndProc is declared in the protected section of my component code.

Can anyone tell me if AllocateHwnd is implemented in my version of 
Lazarus, and where I may be going wrong in
my usage?  I'm stumped.   I see that it was discussed quite a bit in 
2007, but not sure of the current status.


Any input appreciated.

PS:  if I try

   if not (csDesigning in ComponentState) then FNotifyWnd := 
AllocateHWnd(TimerWndProc);


the component won't compile.   But I've seen this usage at various 
places too.




--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Why I can't see my own messages in this list?

2011-08-14 Thread Curt Carpenter

On 8/14/2011 1:46 PM, Rich Saunders wrote:
Gmail actively suppresses the messages you send to a mailing list when 
they are echoed back to the sending Gmail account. Apparently the 
Gmail implementers thought it would be adequate for you to have the 
sent message in your Sent folder. AFAIK, this is not configurable or 
able to be changed (after repeated requests). Both the fact of it and 
the fact that you cannot configure it are extremely annoying to the 
point of being almost evil. ;)
I just joined the mail list yesterday, and as I recall there was a 
check-box when I set up my subscription that asked if I wanted the list 
to send me copies of my own messages.  Could that, rather than Gmail,  
explain your problem?  (I'm new, so don't know).


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Finding the Right List

2011-08-14 Thread Curt Carpenter

On 8/14/2011 1:46 AM, Juha Manninen wrote:
2011/8/13 Curt Carpenter <1cjcarpen...@att.net 
<mailto:1cjcarpen...@att.net>>


Can you point me to an answer to  "What is the "General widget set
restrictions" tab in the object inspector window?"


They are features that don't work on every platform. The GUI is not 
very intuitive though. It has an image for each platform with is 
either colored (supported platform) or geyed (not supported platform).


Juha

Thanks for the reply.It is a good, useful feature, I think.  I 
discovered that if you right-click on a restriction, a window opens 
giving more information about the restriction.


It seems that this is a new feature that's not been covered in the 
documentation yet.  Would you consider adding your note to the document 
wiki?  (I don't know enough to do it myself yet).


Thanks again.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Finding the Right List

2011-08-13 Thread Curt Carpenter

Vincent:

Yes, that link  ( 
http://www.lazarus.freepascal.org/index.php?action=forum )  is great,  
Thanks again.




--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Finding the Right List

2011-08-13 Thread Curt Carpenter

On 8/13/2011 3:11 PM, Vincent Snijders wrote:

2011/8/13 Curt Carpenter<1cjcarpen...@att.net>:

Forgive me for the intrusion, but I'm brand new to Lazarus and trying to
find the correct list to address with my questions.  Example:  What is the
"General widget set restrictions" tab in the object inspector window?


This is the right list.


The list here is clearly for the well-experienced and I don't want to
clutter -- but I'm not having any luck finding the right list and the
"forums" link on the Lazarus home page seems to be broken.


What link on what page?


A pointer would be much appreciated.

If you want a forum, try here:
http://www.lazarus.freepascal.org/index.php?action=forum

Vincent

Thanks for the instantaneous reply!   I will post my questions here when 
I can't find the answers on my own.  (I'm a Delphi user since D1, but 
think it's time for me to abandon ship there.)


When I installed Lazarus yesterday (Windows XP box),  the Lazarus 
directory included a shortcut to  
http://www.lazarus.freepascal.org/modules.php?op=modload&name=PNphpBB2&file=index

When I use this link, I get a "Not Found" report from my Firefox browser.

Can you point me to an answer to  "What is the "General widget set 
restrictions" tab in the object inspector window?"   A pointer to the 
correct place in the docs would be most helpful, since I'm trying to 
learn how to use those as well, and

need the experience.

Thanks again!

Curt

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Finding the Right List

2011-08-13 Thread Curt Carpenter
Forgive me for the intrusion, but I'm brand new to Lazarus and trying to 
find the correct list to address with my questions.  Example:  What is 
the "General widget set restrictions" tab in the object inspector window?


The list here is clearly for the well-experienced and I don't want to 
clutter -- but I'm not having any luck finding the right list and the 
"forums" link on the Lazarus home page seems to be broken.


A pointer would be much appreciated.

Thanks

Curt Carpenter



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus