On Thu, 2005-11-03 at 11:30, John Samperi wrote: > Ok so I have a good looking form which is the > same as my Delphi form. I have commented out > all references to Cport, replaced RichEdit > with SynEdit and commented out all bits of > code that refer to RichEdit properties which are > obviously not found in SynEdit (will need some info > on it). > > Now the project compiles successfully but when I try > to run it I get 2 exceptions and it does not want to > run. Both exceptions are: > You normally get this when you are trying to do something illegal with memory. I've had many problems with differing memory boundaries between Delphi and fpc particularly when using records. Have you tried tracing into WidgetSet.IsDBCSLeadByte(TestChar);?
> Project raised an exception class "External SIGSEGV" > with an OK button. When I press the OK button for the > second time the line with 'Result' gets highlighted in > winapi.inc. > > function IsDBCSLeadByte(TestChar: Byte): boolean; > begin > Result := WidgetSet.IsDBCSLeadByte(TestChar); > end; > > The above exceptions were appearing earlier on another > test run with 2 simple buttons. Any clues please? :-) > > Making progress slowly and learning a lot!! > > Regards > > John Samperi > > ******************************************************** > Ampertronics Pty. Ltd. > 11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA > Tel. (02) 9674-6495 Fax (02) 9674-8745 > Email: [EMAIL PROTECTED] > Website http://www.ampertronics.com.au > *Electronic Design * Custom Products * Contract Assembly > ******************************************************** > > > _________________________________________________________________ > To unsubscribe: mail [EMAIL PROTECTED] with > "unsubscribe" as the Subject > archives at http://www.lazarus.freepascal.org/mailarchives -- Alan Chamberlain <[EMAIL PROTECTED]> _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
