Solved

Variant or safe array is locked error en Delphi 7

Posted on 2004-10-06
4
3,822 Views
Last Modified: 2008-02-26
When I drop a clientDataSet component in a DataModule and set its property FileName to a XML file and activate it (active = true) I get the error "Variant or safe array is locked" why is this and how can I solve it.
0
Comment
Question by:emendezsolis
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 13

Accepted Solution

by:
BlackTigerX earned 65 total points
ID: 12244292
just make sure that you have all the updates (service packs) to Delphi

specifically that might have something to do with the version of MIDAS.DLL you have

what version of Delphi are you using?

have you been able to use those components before?
0
 

Author Comment

by:emendezsolis
ID: 12248456
I am using Delphi 7 and yes it used to work before!
0
 

Assisted Solution

by:joncmora
joncmora earned 60 total points
ID: 12255681
is your xml formatted properly?
0
 

Author Comment

by:emendezsolis
ID: 12262072
I reinstalled Delphi and that fixed the error. I do not know what happened, it just start working fine after the reinstallation. I wil split points between you guys since you were the only ones that tried to help me. Thanks. Ernesto
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
creating threads in delphi 1 201
DBGrid or StringGrid ? 6 136
Delphi: making a BW image transparent 10 137
How to insert .png images to TClientDataSet .cds file? 2 84
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question