Solved

Variant or safe array is locked error en Delphi 7

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Intraweb submit form as a POST request 4 263
automatically logging in via bde delphi 3 70
PDF library for Delphi 2 105
Magic Software info 18 125
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

920 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now