Mac OS Cross Compiling Problems (part 2)

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
matamica
Posts: 7
Joined: Tue 29 Nov 2011 08:39

Mac OS Cross Compiling Problems (part 2)

Post by matamica » Mon 26 Mar 2012 13:46

In Embarcadero, Firemonkey, I made a simple application. On a form I added a TMyConnection, TMyQuerry, TDataSetProvider, TClientDataSet. I connected the components and bind it to a grid. On windows works on MAC it doesn't. I made some research to find the bug and I think I found it.
With only the above components if clientdataset is Active it crashes if not it works. The error is dubious (Project Project1 raised exception class with message ".) Can anyone help me? Is this a error from Devart or from Embarcadero.
Thanks.

AndreyZ

Post by AndreyZ » Tue 27 Mar 2012 07:27

Hello,

I've checked this question using RAD Studio XE2 Update 4 and MyDAC 7.1.5 , and there were no problems with using the TMyConnection->TMyQuery->TDataSetProvider->TClientDataSet chain of components. Please try using the same IDE and MyDAC versions and check if the problem persists.

matamica
Posts: 7
Joined: Tue 29 Nov 2011 08:39

Post by matamica » Tue 27 Mar 2012 12:36

Hi, I am using the same IDE and MyDac version as you. Are you sure that it works if you deploy it on Mac. On Windows works without a problem. Make sure that the TMyConnection is connected to a real database so it receives data.(if this works try to bind the dataset to a TStringGrid and deploy it to Mac, because this is where I got the problem, and I searched for it and seemed to be from dataset->active=true). If you like I can send you a demo project. Thanks for the quick answer.

AndreyZ

Post by AndreyZ » Wed 28 Mar 2012 12:09

I tried to reproduce the problem in the exact same way as you described. Please send your demo project to andreyz*devart*com for investigation, including a script to create all needed server objects (that are used in the query).

Post Reply