GeekArticles
Programming
DelphiAccess Violation in midas.dll
Author: qc.borland.com |
Published: 12th Jan 2006 |
Visited: 596 times |
Add CommentFiled in: DelphiQC#: 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.
Read Article Sponsored Links
Related Articles
• Access WSDL Access WSDL and Generate Axis Stubs to Access the Web Service Remotely
Now for the really cool stuff. As we discussed earlier, we have set up the ServiceMix as a separate web service gateway in front of the actual web service deployment. Now we have to check whether we can access the WSDL from the S ...
• Designing N-Tiered Data Access Layer Using Datasets - Part 4 Part of the business logic encapsulated in the Typed DataSet is the ability to add specialized queries to the table adapters to retrieve the data with different filters. By manipulating the XML schema that defines the dataset and adding the correct XML metadata, Visual Studio will generate the adde ...