Hi Folks,

I have this project I wrote ( http://www.jegas.com/index.php/jegas-products/227-jegas-edit.html ) in Lazarus - and I started it in Win32 using Lazarus 0.9.28.2 beta. I then copied the source code to a Linux machine that has a Trunk SVN download that says 0.9.29 it the version info displayed in the about. So I get there is a version difference here... but this is what I found so far:

The PrinterDialog control didn't fair well in linux, something about I needed to install printer dialogs into lazarus and frankly I had a hard enough time getting lazarus up in linux that I just tossed out the printer dialog and made conditional defines to make it so it worked on windows and not in linux.

so I made some code changes to things like where the configuration file gets saved and other things to make the linux version run in manner that was appropriate in linux.. like saving config to your home directory. Ok - then I check my code back into SVN and pull it pack down on my windows machine - here is where things got messed up I think.

First off, There were references added to my main form's *.lfm file - a file that I know nothing about except it appears to be a serialized version of classes ( a snapshot perhaps) of all the properties in my form when I last saved it? Anyways, in this file there were now references to a RightGutter regarding the SynEdit control(s) (I have many because the multi-synedit widget - didn't work so well but I digress)... anyways - there were all these empty properties names TSynRightGutter inside the "inline TSynGutterPartList" section.. and this caused compiler errors. They were empty anyways.. so I deleted them and low and behold I could use my form again! WOO HOO!

Except now when I close the form or try to exit Lazarus I get the "Invalid File Handle Error" dialog message box.

So - I can live with it, I probably could even just try to run the IDE in the IDE maybe (have no idea how.. but if I could debug WHERE'it's choking exactly I could probably figure it out) but time is really at a premium and I'm sure it is for you folks so - I'm just hoping this message sparks a thought ot two .. like "Look in something.PAS" or .. just export and import like [secret here LOL] and everything gets cleaned up or something.

I don't expect anyone to disect my project or anything close... So... Any pointers?

Thank you,
Jason P Sage - Jegas, LLC



--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to