Page 1 of 1
Mac OS Cross Compiling Problems (part 2)
Posted: Mon 26 Mar 2012 13:46
by matamica
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.
Posted: Tue 27 Mar 2012 07:27
by AndreyZ
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.
Posted: Tue 27 Mar 2012 12:36
by matamica
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.
Posted: Wed 28 Mar 2012 12:09
by AndreyZ
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).