GeekArticles
Programming
Delphi
Programming
DelphiAccess Violation in midas.dll
QC#: 22375 Version: 7.0 Status: Open defect, requires resolution Description: Using Vanilla Delphi 7 Pro with d7_pro_upd1_1.exe applied, on Windows 2000 and XP.
Certain strings assigned to the XMLData property of TClientDataSet objects cause an access violation.
The steps to reproduce supplied show such an example.
Attached is a small project which loads the example string into a memo, and when the button is clicked, assigns the memo text to the TClientDataSet's XMLData resulting in the access violation.
The odd thing is that if you delete the last sentence of the headline value (in the memo), it works ok. If you delete everything from the headline value *except* the last sentence, it works. Huh ? So it seems that there is no bad data per se, just certain strings that give TClientDataset the heebie-jeebies.
Thanks for looking.
Certain strings assigned to the XMLData property of TClientDataSet objects cause an access violation.
The steps to reproduce supplied show such an example.
Attached is a small project which loads the example string into a memo, and when the button is clicked, assigns the memo text to the TClientDataSet's XMLData resulting in the access violation.
The odd thing is that if you delete the last sentence of the headline value (in the memo), it works ok. If you delete everything from the headline value *except* the last sentence, it works. Huh ? So it seems that there is no bad data per se, just certain strings that give TClientDataset the heebie-jeebies.
Thanks for looking.
Sponsored Links
Related Topics
Subscribe via RSS
Delphi
- A load of ASP.NET related tutorials, articles, tips and tricks!
- How to move PageControl's tabs using drag'n'drop
- Charts in database applications
- Creating Components Dynamically (at Run-Time)
- The role of the "AOwner" parameter in the Create constructor
- Creating a roll up form (with animation)
- Poll: Do you already have some experience with Delphi?
- Creating a database from Delphi code
- TMemoBar - T(Custom)Memo extender
- How to click-and-select a line in TMemo
