Mega Search
23.2 Million


Sign Up

Make a donation  
XE4 ClientDataSet  
News Group: embarcadero.public.delphi.database.dbexpress

Hi.
I'm writing a program in XE4 and the Exe file was running on XP or 7. But when I added a ClientDataSet to the form, the Exe file is running only on the computer taht the XE4 is installed on. In the other computers an Access violation error appears and program is not running.
This not due to the MIDAS.DLL file.

Thanks for any suggestions.
B.R.

Vote for best question.
Score: 0  # Vote:  0
Date Posted: 2-Jul-2014, at 5:06 AM EST
From: Behrooz Rabbiei
 
Re: XE4 ClientDataSet  
News Group: embarcadero.public.delphi.database.dbexpress
> {quote:title=Behrooz Rabbiei wrote:}{quote}
> This not due to the MIDAS.DLL file.

Why do you say it isn't due to midas.dll? It's sounding pretty likely if the errors started occurring after you added a TClientDataSet.

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 2-Jul-2014, at 6:06 AM EST
From: Jason Sweby
 
Re: XE4 ClientDataSet  
News Group: embarcadero.public.delphi.database.dbexpress
Hello Behrooz,

  do you have midaslib included in the uses clause? If not, I suggest that 
you do so as your problem may relate to incompatible or missing midas.dll 
file. With midaslib in the uses section you no longer need to worry about 
deploying the dll.

Bruce



> Hi.
> 
> I'm writing a program in XE4 and the Exe file was running on XP or 7.
> But when I added a ClientDataSet to the form, the Exe file is running
> only on the computer taht the XE4 is installed on. In the other
> computers an Access violation error appears and program is not
> running.
> 
> This not due to the MIDAS.DLL file.
> 
> Thanks for any suggestions.
> B.R.

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 9-Sep-2014, at 12:51 PM EST
From: Bruce Eglington