Re: [Lazarus] How to add your own 'New Project' template?

2008-08-21 Thread Graeme Geldenhuys
On Wed, Aug 20, 2008 at 8:47 PM, Tom Verhoeff [EMAIL PROTECTED] wrote:
 Under my system (Linux) in was $HOME/.lazarus/templates/

 Under Windows (which I use rarely, but our students do), it is

C:\lazarus\templates

 where Lazarus itself is installed in C:\lazarus\.  The ...\templates
 directory does not even exist.

Neither did it under Linux. I manually created the templates directory.


 From this I gather it defaults to wherever the Lazarus settings folder
 is plus the templates directory.  ...

 Apparently not on Windows.

As Vincent mentioned... In the latest released Lazarus, the settings
folder is the same as the installed folder:  In your case C:\Lazarus
directory. I believe in the next Lazarus release it will use
\Document and Settings\user\not sure where even though Lazarus
is installed in C:\Lazarus\



Regards,
 - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] CoreAudio: CAStreamBasicDescription

2008-08-21 Thread EarMaster - Bent Olsen
Hi all,

Anybody already translated CAStreamBasicDescription successfully?

CAStreamBasicDescription is a class wrapper for AudioStreamBasicDescription
record, which is used in API calls like AudioFileGetProperty etc.

I can do basic translations from struct to record, but classes I C++ is new
to me.

Regards,
Normann

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


[Lazarus] Inet telnet error

2008-08-21 Thread cem zafer demirsoy
Hi all,

I have tested the telnet test client example and changed a little bit.

procedure TFormMain.TelnetConnect(aSocket: TLSocket);
begin
MemoText.Append('Connected!');

user:='blabla' + #13#10;
passwd:='blabla' + #13#10;

if Telnet.Connect=true then
begin
Telnet.SendMessage(user);
Telnet.SendMessage(passwd);
MemoText.Append('User Authentication is complete!');
end;

end;

when i execute the code I get this error message.

Connected!
User Authentication is complete!
Connected!
Shutdown error [10057]: A request to send or receive data was disallowed
because the socket is not connected and (when sending on a datagram socket
using a sendto call) no address was supplied.
User Authentication is complete!
Error on connect: connection refused

I just want to send username and password information to the server side,
and execute some commands from there.
Thanks
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] problems building lazarus

2008-08-21 Thread Lord Satan
Hi,

trying to build lazarus I get this error on ubuntu 8.04 64-bit:

Linking ../startlazarus
/usr/lib/fpc/2.3.1/units/x86_64-linux/gtk2/gtk2.o: In function 
`GTK2_GTK_TYPE_FILE_CHOOSER_DEFAULT$$QWORD':
gtk2.pas:(.text+0xd43d): undefined reference to 
`_gtk_file_chooser_default_get_type'
/usr/lib/fpc/2.3.1/units/x86_64-linux/gtk2/gtk2.o: In function 
`GTK2_GTK_TYPE_FILE_CHOOSER_EMBED$$QWORD':
gtk2.pas:(.text+0xd58d): undefined reference to 
`_gtk_file_chooser_embed_get_type'
/usr/lib/fpc/2.3.1/units/x86_64-linux/gtk2/gtk2.o: In function 
`GTK2_GTK_TYPE_FILE_CHOOSER_ENTRY$$QWORD':
gtk2.pas:(.text+0xd61d): undefined reference to 
`_gtk_file_chooser_entry_get_type'
startlazarus.lpr(51,1) Error: Error while linking
/usr/lib/fpc/2.3.1/units/x86_64-linux/gtk2/gtk2.o: In function 
`GTK2_GTK_TYPE_FILE_CHOOSER_DEFAULT$$QWORD':
gtk2.pas:(.text+0xd43d): undefined reference to 
`_gtk_file_chooser_default_get_type'
/usr/lib/fpc/2.3.1/units/x86_64-linux/gtk2/gtk2.o: In function 
`GTK2_GTK_TYPE_FILE_CHOOSER_EMBED$$QWORD':
gtk2.pas:(.text+0xd58d): undefined reference to 
`_gtk_file_chooser_embed_get_type'
/usr/lib/fpc/2.3.1/units/x86_64-linux/gtk2/gtk2.o: In function 
`GTK2_GTK_TYPE_FILE_CHOOSER_ENTRY$$QWORD':
gtk2.pas:(.text+0xd61d): undefined reference to 
`_gtk_file_chooser_entry_get_type'
/home/satan/pascal/lazarus/ide/startlazarus.lpr(51,1) Error: Error while linking
/home/satan/pascal/lazarus/ide/startlazarus.lpr(51,1) Fatal: There were 1 
errors compiling module, stopping

lazarus rev: 16177
fpc 2.3.1 rev: 11621
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] problems building lazarus

2008-08-21 Thread Vincent Snijders
Lord Satan schreef:
 Hi,
 
 trying to build lazarus I get this error on ubuntu 8.04 64-bit:
 
 Linking ../startlazarus
 /usr/lib/fpc/2.3.1/units/x86_64-linux/gtk2/gtk2.o: In function 
 `GTK2_GTK_TYPE_FILE_CHOOSER_DEFAULT$$QWORD':
 gtk2.pas:(.text+0xd43d): undefined reference to 
 `_gtk_file_chooser_default_get_type'
 /usr/lib/fpc/2.3.1/units/x86_64-linux/gtk2/gtk2.o: In function 
 `GTK2_GTK_TYPE_FILE_CHOOSER_EMBED$$QWORD':
 gtk2.pas:(.text+0xd58d): undefined reference to 
 `_gtk_file_chooser_embed_get_type'
 /usr/lib/fpc/2.3.1/units/x86_64-linux/gtk2/gtk2.o: In function 
 `GTK2_GTK_TYPE_FILE_CHOOSER_ENTRY$$QWORD':
 gtk2.pas:(.text+0xd61d): undefined reference to 
 `_gtk_file_chooser_entry_get_type'
 startlazarus.lpr(51,1) Error: Error while linking
 /usr/lib/fpc/2.3.1/units/x86_64-linux/gtk2/gtk2.o: In function 
 `GTK2_GTK_TYPE_FILE_CHOOSER_DEFAULT$$QWORD':
 gtk2.pas:(.text+0xd43d): undefined reference to 
 `_gtk_file_chooser_default_get_type'
 /usr/lib/fpc/2.3.1/units/x86_64-linux/gtk2/gtk2.o: In function 
 `GTK2_GTK_TYPE_FILE_CHOOSER_EMBED$$QWORD':
 gtk2.pas:(.text+0xd58d): undefined reference to 
 `_gtk_file_chooser_embed_get_type'
 /usr/lib/fpc/2.3.1/units/x86_64-linux/gtk2/gtk2.o: In function 
 `GTK2_GTK_TYPE_FILE_CHOOSER_ENTRY$$QWORD':
 gtk2.pas:(.text+0xd61d): undefined reference to 
 `_gtk_file_chooser_entry_get_type'
 /home/satan/pascal/lazarus/ide/startlazarus.lpr(51,1) Error: Error while 
 linking
 /home/satan/pascal/lazarus/ide/startlazarus.lpr(51,1) Fatal: There were 1 
 errors compiling module, stopping


Do you gtk 2.14?

See also: http://bugs.freepascal.org/view.php?id=11837

Vincent
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] problems building lazarus

2008-08-21 Thread Paul Ishenin
Lord Satan wrote:
 Hi,
 
 trying to build lazarus I get this error on ubuntu 8.04 64-bit:
 
my fault. I uncommented use of 3 files which have external functions 
which are not present in gtk exports. I will send a patch to the fpc 
team to correct that.

On the other hand - why fpc links to unused symbols?

Best regards,
Paul Ishenin.

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


Re: [Lazarus] Okay... I've got Lazarus 0.9.25 but now it doesn't find it's own units.

2008-08-21 Thread Peter Williams
G'day Reenen, Mattias and All Lazarus Fans,

2008/8/12 Reenen Laurie [EMAIL PROTECTED]


 btw --- I used Lazarus (yes, I'm using 0.9.25 beta) and Built and RAN my
 Help Multitabbed Dialog app -- it works fine now. So I quickly archived
 the folder -- just in case... so that I have a working copy of it
 archived!!! *SMILE*



 The beauty is, that if you are creating GPL or other free software, you can
 use SVN yourself... and getting a working copy is very easy as well, and all
 the backups are kept by people who backup their databases regularly.

 There are loads of sites that allow you to do this, with SourceForge (
 www.sf.net) and GoogleCode (code.google.com) being only some of them.


I think that I would definitely like to somehow share my freeware open
source Lazarus projects with others. The thing is: I need a sort of dummy's
guide to doing this. And in particular how to use the SVN command to achieve
this.

Actually, I already have one of my projects, as Delphi 7 Second Edition code
(developed with M$ Windowz), called Frog Retro Remake game ver 1.3 (for
Windowz) on SourceForge. I've noticed that SourceForge has been sending
emails (to me) to tell me that they are re-designing their website... and
will be converting the current projects to the new website (I'm not sure of
the time-scale).

Is there a way of finding like-minded Lazarus programmers who would like to
share their open source projects?!? I know that this is an ambigious
question, but, what is the best approach to sharing code with others?!? ( I
persume with SVN command involved somehow ).

ps - My OS is now 100% Linux Kubuntu -- I've decided that I don't want to
have anything further to do with M$ Windowz -- e.g. I've given Windowz the
flick and I'm pretty happy with Linux Kubuntu now.

Best Regards  Wishing Everyone Happy Computing,
PEW   *SMILE*



 --
 o__
 ,_./ _
 (_)_\(_)___
 ...speed is good
 ___
 I believe five out of four people have a problem with fractions.

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



-- 
Fond Regards,
Peter Eric (aka 'pew') WILLIAMS
from Hobart, Tasmania, Australia -- phone (03) 6236-9675

My free website is: http://pewtas.googlepages.com (or)
http://tinyurl.com/yuyejs

(please visit my free website and let me know what you think about it.)
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus