| View previous topic :: View next topic |
| Author |
Message |
ranettix
Joined: 28 Aug 2006 Posts: 16
|
Posted: Wed Aug 30, 2006 3:03 pm Post subject: Error withToolStrip ? |
|
When executing a DataGridView table load with a Ranorex ToolStrip button, the following situation arises:
1) the button is pressed by
toolStrip = form.FindToolStrip("toolbar");
......
toolStrip.SelectPosition(1);
The table is loaded into the application. But the application crashes with
Unbehandelte Ausnahme: System.AccessViolationException: Es wurde versucht, im geschützten Speicher zu lesen oder zu schreiben. Dies ist häufig ein Hinweis darauf, dass anderer Speicher beschädigt ist.
bei Ranorex.ToolStrip.RxToolStripSelectPosition(Int32 hWnd, Int32 position1, Int32 position2, Int32 position3, Int32 position4)
2) the button is clicked thru its location
..........
Mouse.Click(MouseButtonType.LeftButton, coord.X, coord.Y, 1, 100);
The table is loaded into the application, and can be accessed thru
FindChild and other methods, in the following. |
|
| Back to top |
|
 |
ranettix
Joined: 28 Aug 2006 Posts: 16
|
Posted: Tue Sep 05, 2006 11:30 am Post subject: |
|
When a Sleep of 2 or 3 seconds is added after:
toolStrip.SelectPosition(1);
the application hangs permanently (no error messages). |
|
| Back to top |
|
 |
admin Site Admin
Joined: 05 Jul 2006 Posts: 351
|
Posted: Tue Sep 05, 2006 12:20 pm Post subject: |
|
Thank you for the info.
I tried to reproduce this bug with a ToolStrip and a simple DataGridView, but it didn't happen.
Please send me a sample application and your test code, I would like to debug this bug and fix it for the next release 0.9.3.
Best Regards
Jenö Herget
Ranorex Team |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|