Hello everyone! I am posting here because of its visibility.

Hello everyone! I am posting here because of its visibility.
Well, since Update 2 I am facing real issues with my application. I've tried uninstall, install again from ISO. I also post a QC on Emb but nothing solved.
I am really worried now as I am completly unable to continue the development.
In short, I have 2 main problems:
- Datasnap/Rest always force my Android app crash when receive any data (empty queries wont crash), and 
- When compile 3rd party compo, I receive hundreds of such error: error: undefined reference to 'System::Classes::TComponent::ValidateRename(System::DelphiObject, System::UnicodeString, System::UnicodeString) or System::Classes::TComponent::WriteState(System::DelphiObject)

I cannot fix that. So I have two options: downgrade to Update 1 or give up Delphi Dev (problem here is that Delphi is paid, so give it up is not an real option).

Comments

  1. 1) I would suggest to first write a very simple DataSnap application to see if the problem is showing. Then add more code from your application.
    2) Would be interesting to see at which code line appears the first error you get. Maybe then we can help you.

    btw: What QC number has your report?

    ReplyDelete
  2. I am using PostgreSQL so I created a text file setup the parameters, it should be copied into debug win32 output and changed accord. Its very simple so you could use and database & table, as the client (android app) will only try to open a table, that's enough to crash app.

    ReplyDelete
  3. Magno Lima Given other Android apps and data snap apps generally seem to work with Update 2, it might be an issue with the set of components you are using, or an issue with your installation. As suggested, why don't you try a simple datasnap app, to see if it works? Also, you should add to the QC report which datasnap connectivity you are using, which database access technology, etc. And if you can upload the demo to QC, it could be easier to handle...

    ReplyDelete
  4. Marco Cantù Hi! Just put the link with a demo to QC and also here on my response to François. The sample I did is very simple, only an attempt to open a single table, if it open and there is any data (not empty) then the app FC.
    Thank you for helping!!

    ReplyDelete
  5. Magno Lima Can you update your sample to use a mainstream database so that we do not have to install PostgreSQL? Maybe Interbase which comes along with some Delphi editions, or MS-SQL or Oracle?
    What is important with your sample is that we can test with it in a couple of minutes.

    ReplyDelete
  6. Well, I did it very simple so it's easy to change, there is a text file that you could setup the database driver, default is PG, and follow the rest of parameteres. So, change do Oracle or any other should be very easy as only change that.

    ReplyDelete
  7. Hi,have you checked in options sdk if all paths are filled with valid locations for your android sdk?

    ReplyDelete
  8. Σεβαστιανός Βλαχόπουλος Yes, sure. One of the 3rd party compos that fails to compile is the InfoPower FM, available to download at EDN. Previous to Update 2 everything was ok.

    First attempt to upgrade was using the web update, after talking with Yoroslav, as his component also fails when compiling, he suggests to download de ISO, so I uninstall everything even the registry and start a very new install. After that ran the hot fix 1 & 2. Same thing :(

    I think it is with me, something with some DLL or other thing, but I cant figure out. Since Update 2 release I am unable to update my software, I move to another project waiting for some solution or tip, but I need to return developing ASAP.

    I am thinking in uninstall, run a Virtual Machine and try it there, into a very clean environment.

    For while, Iam appreciating the all initiatives from you guys, in trying to help me.

    ReplyDelete
  9. Nice, thank you, I will check it!!
    The biggest issue still with datasnap.

    ReplyDelete

Post a Comment