Thanks a lot Leledumbo.
Excellent, that the Lazarus-team have made SendMessage and PostMessage cross-platform.
Is PostThreadMessage also OK to use cross-platform?
Have been pondering for some days already how I could build some kind of messaging system, windows-like, by myself and you guys have already fixed it for me.
Excellent job.
One thing that I don't get to work is the debugger:
OS: Windows XP svp 3
Lazarus: 0.9.28.2 beta
FPC: 2.2.4
SVN version: 22279
I have tried to set debugger through:
Environment --> Options --> Debugger --> General
and specified:
GNU debugger (gdb) as C:\lazarus\mingw\bin\gdb.exe
If I just try to run an app, that is working fine without debugger set,
even without setting a single breakpoint stops immedately with:
Project XX.exer raised exception class 'External: SIGSEGV'
Is there something else that sholud be set or done before using the debugger than what I've specified above?
Have tried to get along with adding showmessage at distinct point in the code but that is of course not a sufficient solution especially when coming from Delphi.
Any suggestions on how to get the debugger to work is appreciated
Regards
Staffan