Re: [Lazarus] how to debug from virtualbox

2014-04-28 Thread FreeMan
How are we supposed to do that with only this little piece of code? E.g. what is GRD_ ? Apologize, I was forget, GRD_ is TRxDBGrid. TNotify event is OnEnter and OnExit events. This events not modified by rx, comes from TCustomDBGrid->TWinControl And not just onenter event OnEnter GRD_.Bo

[Lazarus] WinCE dialog crash

2014-04-28 Thread patspiper
Hi, OpenDialog.execute under WInCE causes the app to crash: "Form resource TWinCEDialogForm (or something very close) not found. For resourceless forms CreateNew constructor must be used. See the global variable RequireDerivedFormResource." It seems that the resources are not being located co

Re: [Lazarus] how to debug from virtualbox

2014-04-28 Thread Graeme Geldenhuys
On 2014-04-28 12:54, FreeMan wrote: > I don't wanna install fpc or lazarus, 'cos system will change and not be > real test system. Take a VirtualBox snapshot of the VM. Install FPC & Lazarus. Debug your app. Once done, restore to the snapshot - it's as if nothing has changed in the VM. I do this

Re: [Lazarus] how to debug from virtualbox

2014-04-28 Thread Bart
On 4/28/14, FreeMan wrote: > procedure TFRM_.GRD_Enter(Sender: TObject); > begin >ShowMessage('1'); >GRD_.ColumnByFieldName('Name').Width := > GRD_Detail.ColumnByFieldName('Name').Width -4; >ShowMessage('2'); >GRD_.BorderStyle := bsSingle;// BUG IS HERE, ON WINDOWS, TRIGGER IT >

Re: [Lazarus] how to debug from virtualbox

2014-04-28 Thread FreeMan
I understood Martin, I have no much time now for try this, importent for me, find bug & fix it and next form convert from all project. I founded it and I'll fix that by my way, my idea is dbgrid bug it, but need test in windows IDE, I haven't it. so I can't report this is bug. If I do remote de

Re: [Lazarus] how to debug from virtualbox

2014-04-28 Thread Reinier Olislagers
On 28/04/2014 13:54, FreeMan wrote: >> I think it's easiest to install FPC+Lazarus on your Windows image even >> though you said you didn't want to do that. >> Alternatively, I suppose you could build with -g -gl and run the >> application in your image using gdb.exe and manually try to debug thing

Re: [Lazarus] how to debug from virtualbox

2014-04-28 Thread Martin Frb
On 28/04/2014 12:54, FreeMan wrote: I think it's easiest to install FPC+Lazarus on your Windows image even though you said you didn't want to do that. Alternatively, I suppose you could build with -g -gl and run the application in your image using gdb.exe and manually try to debug things. I don'

Re: [Lazarus] how to debug from virtualbox

2014-04-28 Thread FreeMan
I think it's easiest to install FPC+Lazarus on your Windows image even though you said you didn't want to do that. Alternatively, I suppose you could build with -g -gl and run the application in your image using gdb.exe and manually try to debug things. I don't wanna install fpc or lazarus, 'cos s

Re: [Lazarus] how to debug from virtualbox

2014-04-28 Thread Reinier Olislagers
On 28/04/2014 12:46, FreeMan wrote: > I have kubuntu 13.10 x64, fpc & lazarus last svn. My application work > without problem on linux but, crosscompiled to win and test in win8, one > form has a bug, application freezing without error, I need to debug it. > I dont wanna install all fpc lazarus and

Re: [Lazarus] how to debug from virtualbox

2014-04-28 Thread Martin Frb
On 28/04/2014 11:46, FreeMan wrote: Hello, I have kubuntu 13.10 x64, fpc & lazarus last svn. My application work without problem on linux but, crosscompiled to win and test in win8, one form has a bug, application freezing without error, I need to debug it. I dont wanna install all fpc lazarus

Re: [Lazarus] how to debug from virtualbox

2014-04-28 Thread FreeMan
Yes, I copied in vbox, and its run in win system. I mean exe file run in win drive not from shared or network. Problem on just one form, others hasnt problem. 28-04-2014 13:53 tarihinde, Dave Coventry yazdı: You have saved it? To your Virtualbox vdi? I get these kind of errors if I compile

Re: [Lazarus] how to debug from virtualbox

2014-04-28 Thread Dave Coventry
On 28 April 2014 12:46, FreeMan wrote: > Hello, > I have kubuntu 13.10 x64, fpc & lazarus last svn. My application work > without problem on linux but, crosscompiled to win and test in win8, one > form has a bug, application freezing without error, I need to debug it. I > dont wanna install all fp

[Lazarus] how to debug from virtualbox

2014-04-28 Thread FreeMan
Hello, I have kubuntu 13.10 x64, fpc & lazarus last svn. My application work without problem on linux but, crosscompiled to win and test in win8, one form has a bug, application freezing without error, I need to debug it. I dont wanna install all fpc lazarus and other component there too. win8

Re: [Lazarus] Forcing TMemo to dislplay last entry

2014-04-28 Thread Michael Schnell
On 04/25/2014 07:35 PM, Sandro Cumerlato wrote: SendMessage(Memo1.Handle, EM_LINESCROLL, 0, Memo1.Lines.Count); AFAIK, this is a Windows-only option that does not work cross-platform (and hence should not be recommended). OTOH, I don't know a better one :-( . -Michael -- _