[Lazarus] Passing an array to a function

Dave Coventry dgcoventry at gmail.com
Mon Jan 19 15:20:42 CET 2009


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 list 
yet) but i have just attempted to, with laz 0.9.27 fpc 2.2.3, run my app from 
the laz gui via F9... i got a box stating

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 addresses but i 
farkled things up by attempting to scroll the box to see what may have been 
listed and i lost the starting point that it gave me...

so, at that point, i used the Laz GUI's "stop" (CTRL-F2 IIRC) option to 
terminate the app but now i'm still waiting on Laz to come back to life... since 
it has been over 5 minutes, it appears that i'm going to have to reboot the 
system to get it back and try to go on further :?

> 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)

i may try this option next... dunno know what i'll see as far as output... 
anything special i should watch for or possibly TEE to a log file??

maybe i should also mention that i'm using 4DOS for a command interpreter 
replacement, too?? possibly that could have something to do with this problem??

-- 
NOTE: NEW EMAIL ADDRESS!!

        _\/
       (@@)                      Waldo Kitty, Waldo's Place USA
__ooO_( )_Ooo_____________________ telnet://bbs.wpusa.dynip.com
_|_____|_____|_____|_____|_____|_____ http://www.wpusa.dynip.com
____|_____|_____|_____|_____|_____|____ ftp://ftp.wpusa.dynip.com
_|_Eat_SPAM_to_email_me!_YUM!__|_____ wkitty42 -at- windstream.net


---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 090118-0, 01/18/2009
Tested on: 1/19/09 02:14:14
avast! - copyright (c) 1988-2009 ALWIL Software.
http://www.avast.com






More information about the Lazarus mailing list