Felipe Monteiro de Carvalho ha scritto:
On 5/15/07, Alvise Nicoletti <[EMAIL PROTECTED]> wrote:
No, I didn't create that but I can give you the entire code to compile
and test... you'll see it work on linux/windows and crash misteriously
on wince with only a "segmentation fault" explanation (except for that
rows I already listed).
You didn't say how big your project is, or how many features it
requires. Or also at which point it crashes (maybe loading?)
I wrote somewere that it crashes just at loading.
To answer Yuri, that asked "Does your project crash with the same error
when run without debugger?":
If I run it without the debugger the palm just does apparently nothing
and begun so slow (only a reset fixes that).
The project is SO simple, only a main unit with 2 classes unit. If you
want it just contact me, It's a question of compile-it-and-try-it.
Just sending a huge project won't help solving the problem.
You're right... but debugging without knowing what I'm facing off isn't
so nice and it's useless too: so I tryed to ask there on the mailing
list if someone else have encountered that problems.
It happened to me several times with three different projects: something
makes wince crash and the only way to solve this is start again with a
new project and copy/paste the code, recreating the visual stuff. This
time I won't do it cause I'm using a MainMenu component and it can't be
easily copy/pasted.
Maybe I'll generate all the stuff dinamycally with functions so I can
copy/paste them.
Start from your project, and remove as much as possible code, leave
only what you think may be related to the crash, and test again.
Ok... that's frustrating, but I'll try. However in my first emails I
said that I tryed with a new dummy project (hello world and close
button) adding one by one all the visual component's I'm using in the
"huge (4 units)" project, and all seems to works.
Iterate until you have the smallest possible project which can show
the crash. This will help everyone involved understand where the
problem is.
If it takes too long to upload files to your device, I recomend that
you use the Microsoft Emulator. You can find a link to it on the wiki.
Yes, probaly that's the only solution: however it's so slow too.
thanks,
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives