Jump to content
dlucic

Datasnap param problem

Recommended Posts

I have a problem with my DataSnap client application on Android 11 OS. Not every time but from time to time and on different places in my code. Sometimes I recive this message

 

image.thumb.png.2c248f8856a4cc92ac31dffd2c2731d0.png

 

When i click Break debuger points on this line in code

 

image.thumb.png.16cad344aa7b49406d9f2074ad4c79c7.png

 

What can be a problem

Share this post


Link to post

Does it always fail on the same parameter?

I'd probably do it like this, but it depends on the declaration and description of the GetOptParameter method.

  var
    FNameOut: AnsiString;
  begin
    ...
    FNameOut := UTF8Encode(ParamName);
    if FDSBase.GetOptParameter(0, FieldNo, @FNameOut, ParamType,  ...

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×