Re: [Lazarus] is it me or a bug that i ve been fighting?

2009-01-20 Thread Vincent Snijders
compared to a textmode version that's only 2K ;) :lol: How can I create a 2K executable with fpc? Vincent ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] is it me or a bug that i ve been fighting?

2009-01-20 Thread Mattias Gärtner
Zitat von waldo kitty wkitt...@windstream.net: Martin Friebe wrote: Anyway, unless you are willing to spent time on debugging the issue your self, and go into the depth of the Connector code, this will probably be of little help. i've finally been able to work out the following...

Re: [Lazarus] is it me or a bug that i ve been fighting?

2009-01-20 Thread Joost van der Sluis
Op maandag 19-01-2009 om 18:29 uur [tijdzone -0500], schreef waldo kitty: Martin Friebe wrote: Anyway, unless you are willing to spent time on debugging the issue your self, and go into the depth of the Connector code, this will probably be of little help. i've finally been able to

Re: [Lazarus] is it me or a bug that i ve been fighting?

2009-01-20 Thread waldo kitty
Joost van der Sluis wrote: Op maandag 19-01-2009 om 18:29 uur [tijdzone -0500], schreef waldo kitty: it works out that MySQLConnection.Close is TCustomConnection.Close but if i hover the mouse over Close in Procedure Close; in the public section of the TCustomConnection definition stuffs,

Re: [Lazarus] is it me or a bug that i ve been fighting?

2009-01-20 Thread waldo kitty
waldo kitty wrote: procedure TkimsForm.CloseConnection(Sender: TObject); begin // The SQLTransaction gets activated automatically, but before we can close // the connection we have to set the SQLTransaction.Active to false. if SQLTransaction.Active then begin

Re: [Lazarus] is it me or a bug that i ve been fighting?

2009-01-20 Thread waldo kitty
Mattias Gärtner wrote: Move editor cursor over 'procedure Close;' of TCustomConnection and press Ctrl+Shift+Down. ahhh, that's one i hadn't discovered... i did figure out the CTRL-Click thing when i had the CTRL pressed inadvertently while hovering over an item and saw that it changed to a

Re: [Lazarus] is it me or a bug that i ve been fighting?

2009-01-19 Thread Martin Friebe
waldo kitty wrote: Martin Friebe wrote: but a couple of thinks that come to mind: 1) What version of FPC are you using (you only said you updated Lazarus); you refer to FPC 2.2.2, have you tried the fixes branch (2.2.3)? or trunc(2.3.1)? i'm using whatever comes with lazarus...

Re: [Lazarus] is it me or a bug that i ve been fighting?

2009-01-19 Thread Martin Friebe
waldo kitty wrote: Martin Friebe wrote: 2) You say you do not know the exact error: because the popup box doesn't state it = Try running the exe in the debugger, make sure you compile with debug symbols for gdb (-g, maybe also -gl). just following up on this (as my other reply

Re: [Lazarus] is it me or a bug that i ve been fighting?

2009-01-19 Thread Bart
On 1/19/09, waldo kitty wkitt...@windstream.net wrote: and that might be another bug or something where one can't install laz 0.9.26 to one directory and 0.9.27 to another and have each come out of the box without sharing any config settings or something... It can be done. Just start

Re: [Lazarus] is it me or a bug that i ve been fighting?

2009-01-19 Thread waldo kitty
Martin Friebe wrote: Anyway, unless you are willing to spent time on debugging the issue your self, and go into the depth of the Connector code, this will probably be of little help. i've finally been able to work out the following... MySQLConnection: TMySQL50Connection;

Re: [Lazarus] is it me or a bug that i ve been fighting?

2009-01-18 Thread waldo kitty
thanks for your response, reenen... it does tend to make sense on the one hand but on the other i must ask if you have looked at and/or run the demo code i pointed to? it does check if the connection is open ;) procedure TFormTryMySQL.ConnectButtonClick(Sender: TObject); begin // Check if

Re: [Lazarus] is it me or a bug that i ve been fighting?

2009-01-18 Thread Lord Satan
Hi, I have never done any database stuff either, but AVs cry for a debugger. Maybe other people on this list can help you, but it will do no harm to give gdb (or some such) a chance. hih -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad

Re: [Lazarus] is it me or a bug that i ve been fighting?

2009-01-18 Thread waldo kitty
Martin Friebe wrote: let me start with No I have not executed the demo code; :) i can appreciate that ;) but a couple of thinks that come to mind: 1) What version of FPC are you using (you only said you updated Lazarus); you refer to FPC 2.2.2, have you tried the fixes branch (2.2.3)? or

Re: [Lazarus] is it me or a bug that i ve been fighting?

2009-01-18 Thread waldo kitty
Martin Friebe wrote: 2) You say you do not know the exact error: because the popup box doesn't state it = Try running the exe in the debugger, make sure you compile with debug symbols for gdb (-g, maybe also -gl). just following up on this (as my other reply hasn't srrived back from the

Re: [Lazarus] is it me or a bug that i ve been fighting?

2009-01-18 Thread waldo kitty
waldo kitty wrote: Project raised exception class 'External SIGSEGV' at which point i could only click on the [OK] button in that box... then it appeared that my box was locked up but it took a minute or so and another box appeared titled Assembly with what appeared to be a list of

Re: [Lazarus] is it me or a bug that i ve been fighting?

2009-01-18 Thread waldo kitty
Martin Friebe wrote: Or try to compile not as a windows app (switch off -WG) then you get a console window, and a lot of output. (Both options are in Project-compiler options-tab: linking) now i've done this and i still got the GUI window of my app which allowed me to click the [connect] so