Solved

Variant or safe array is locked error en Delphi 7

Posted on 2004-10-06
4
3,893 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

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 The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses
Course of the Month7 days, 7 hours left to enroll

632 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