Quantcast
Channel: Embarcadero Community - Embarcadero Community
Viewing all 3212 articles
Browse latest View live

iOS app after submitting problem with non public api in sqlite3CodecAttach

$
0
0

When I submit my iOS app to itunesconnect I get an email back as below:

 

Non-public API usage:

  • The app references non-public symbols in your app: _sqlite3CodecAttach, _sqlite3CodecGetKey

Nothing has changed with regards to components used or how sqlite is linked. The app has been on the app store for more than a year, with sqlite being used since day 1.

 

Anyone has some solution to this please as it has blocked my entire app development since I cant upload anything now.  Getting support from Embarcadero seems an impossible thing. 

 


Issue Deploying iPad View in 10.1 Berlin..

$
0
0

My project in Delphi Berlin 10.1 has additional views for iPhone 4", iPhone 4.7", iPad and Android 4" which are declared as follows:

implementation

{$R *.fmx}
{$R *.iPad.fmx IOS}
{$R *.iPhone4in.fmx IOS}
{$R *.iPhone47in.fmx IOS}
{$R *.NmXhdpiPh.fmx ANDROID}

All render perfectly except for the iPad which which doesn't seem to make a difference on both the iOS simulator and the actual devices (tried on both iPad2 and iPad4).

The app is deployed and displayed in the iPhone view which is simply scaled up (X2). It seems like the iPad View is not detected and the Master View is displayed instead. I have tried deleting and recreating the views as well as ensure that everything is setup properly.

Not sure if I'm missing a step in creating ipad views or is this possibly a bug in 10.1 Berlin?

 

Odd StrToInt behavior

$
0
0

I'm getting odd behavior with the StrToInt method. (I do have included.)

I read in data from a file using

                   TStringList *mytext = new TStringList;

                   mytext->LoadFromFile("C:/data.txt");

I then fetch a line by

                   String line;

                   line = mytext->Strings[0];

I then select a sequence within 'line' that should represent an integer, in fact the single character '0'.

                   dummy = line.SubString(start, howlong);

But then, the line

                    int n = StrToInt(dummy);

gives the error report " is not a valid integer value

The bizarre thing is that if I test this by setting

                      String dummy2 = "0";

                      bool test1 = (dummy == dummy2);

                      int m = StrToInt(dummy2);

then test1 shows up as 'true', but 'StrToInt(dummy2)' generates no error and assigns 0 to m (!). I don't know how 'test1' can be 'true' and yet have 'StrToInt()' accept 'dummy2' as an input but reject 'dummy' as an input.

Thanks for help.

River_Forest

TeeChart for RAD Studio 10.1

$
0
0

The feature list for RAD Studio 10.1 indicates it includes TeeChart but it is not installed in the Tool Palette and I cannot find a design time package to install.  The GetIt Manager doesn't list TeeChart as an option.  What do I need to do to install TeeChart in RAD Stuation 10.1?

Update CPU available when using Parallel library

$
0
0

Hello all,

I came into this point the first time I had the chance to see our application running on a "pro" virtual machine, Windows Server 2012 hosted by VMWare VSphere virtual server platform.

Our application is a post-processing data tool that relies on the parallel library to spawn several tasks according to the system capabilities. Since this tool needs to parse a big amount of data, the whole thing is developed to support multi instances. In other words, if you need to parse more data or you need to parse your data faster, you can activate more instances of the same tool.

Of course when there are too many instances activated on the same machine, the CPU resources available for each process reaches almost 0%. A solution in this case can be either activating a new server instance, i.e. a new virtual machine, with new tools instances on that one or adding new VCPUs (Virtual CPU) to an existing server instance.

Some virtualization platforms supports hot add VCPU/RAM (but not removal of course), which means that you can add a VCPU to a running system without the need to reboot. And here comes the point. Since the parallel library detects the number of CPUs available at process start up, there is no way to update these info other than restarting each process. 

Process reboot is a a simple solution of course when you run on a normal workstation with a desktop, but servers are there to "do their job" without an active desktop so the whole thing gets a bit complicated.

And, why not, we would like to tell our customers that our application is hot-add compliant..

Is there a way to achieve this?

Thanks in advance.

Alex B.

 

Apply Berlin Update 2 yet KEEP the un-updated Berlin as well?

$
0
0

Hello,

We're developing for industry and, as such, we value stability quite more than new features... but good new features are always welcome, especially if they can increase our productivity. Regarding Update 2 for Berlin, It looks it has nice features to offer, but people are also complaining about problems...

This means that to apply Update 2, we would first need to check it doesn't negatively impact our production - which means keeping both the original Berlin (for production) and the updated one (for testing), at least temporarily. Anybody of you tried that (and how - and did it work)?

Many thanks for your insights!

Emanuel

Update subscription renewal

$
0
0

My update subscription has expired but I was not sent an email. Can I still renew it?

TFlowPanel flicker

$
0
0

I am using TFlowPanel in a VCL application to hold labels and other controls. When the text in a label is updated, the panel flickers. I looked for BeginUpdate() and EndUpdate() methods that are available with some other controls, but TFlowControl doesn't have these. Is there a way to control painting of a TFlowPanel?


Conexão FTP com IdFTP1

$
0
0

Quando tento conectar um servidor FTP ocorre este erro IdFTP1 Socket Error # 11001, como faço para resolver? Já verifiquei o nome do host esta correto. Acesso o servido via http e não consigo acessar via FTP.

Berlin 10.2 RADStudio Enterprise update failed

$
0
0

I just updated from RADStudio 10.1 Enterprise to 10.2.  When update completed, all shortcuts and start menu items to run RADStudio as Delphi or C++ disappeared.  When I checked the bin folder, the bds.exe executable is not present. 

How can I fix this so I can continue working?

Thanks!

 

Berlin Update 2 C++ starter and Boost

$
0
0

I have reinstalled Update 2. Searching for Boost in the Getit Package manger shows no results. Is it still available?

Also when I check the about window it still shows as update 1. Hiw can I check that I have update 2?

TDSRestConnection and string parameters

$
0
0

Hi all,

We have a small 3-tier application with a DataSnap-server and a windows-client
using a TDSRestConnection component to connect to this datasnap server over HTTP/REST.
We have several server-methods with string parameters.
In Delphi 10.1 Berlin the spaces in these string parameters are replaced by plus-signs (+)

One can easily reproduce this effect.
Create a basic datasnap server with sample methods using the datasnap server wizard.
(VCL Forms application, protocol HTTP, include sample methods and use a TDSServerModule as ancestor type for the server methods)

Create a windows VCL-client with a TDSRestConnection component to make the connection with the server.
Call the sample ReverseString method with for instance "Hello   world" as parameter. (3 spaces between the words)
The server will return "Hello+++world"

This effect is only visible with Delphi 10.1 Berlin, not with Seattle.
Anyone an idea how to avoid this or is this a bug ?

Regards
Freddy

Problem with WebService communication.

$
0
0

Hello, i have updated Delphi XE5 to Delphi 10.1 Upd1. And now occurs the ESDAPHTTPException: text/html - SOAP expects text/xml. No changes made, just new generated. Any ideas where the problem could be? Regards!  

Erro SOAP IIS - WebService (Abstract Error) Delphi 10.1 Berlim

$
0
0

I have problem in SOAP Server Application.


When trying to consume the service hosted in IIS presents the abstract error error
(Projects in Delphi 10.1 Berlin)

But when trying to server in Delphi 7 works correctly consumption

Error client

Delphi XE5 Firemonkey: Blackscreen after waking up from Standby-mode

$
0
0

Hello,

everytime when I have my app opened and switch to standby-mode, the app just shows a blackscreen after waking it up again.
Its still running as usual, i just can't see anything anymore, until I either switch to another In-App windows using the "Back-Button"or closing the App entirely.

How can I prevent this blackscreen? Or can I maybe Repaint the components? Everything I tried so far hasn't worked.

Thanks in advance,
Kevin


Box2D headers missing from Berlin?

$
0
0

As my karma would have it, the very first sample I decided to check out, "TestBed", failed to compile on account of Box2D.h . At first I thought it was my non-standard location to blame, but no, includes were not to be found at all on my system, although the library seems to be there (we will know for sure after I fix the includes). In 2014 and 2015 there was some pride in incorporating Box2D in the studio, but the docs point to some 404 pages and I see no action in the forum, has it been less of a success? I am mystified how Berlin, or any other version, could ship with samples that do not build out of the box, where is the quality control!

PS Funny, Box2D is not even a tag!

Firebase REST/API

$
0
0

Hello everyone, I have a small sample DB app in firebase that works fine from browser and I wonder where would I find correct info (header? params? etc) to read json data using REST Debugger?

I get "200 OK" when sending request from REST Debugger to several URL from my firebase app but none of them return json objects.

 

Thanks.

Send / receive SMS with Firemonkey in C++

$
0
0

Hello,

Firemonkey is new to me (Never used RAD studio but used Borland C++ Builder for a long time).

At the moment I am able to make a quick app with buttons and upload them to a Nexus 7 tablet.

Now, I want to now what is required in order to send and receive SMS messages using the tablet.

So I would guess that there are libraries that need to be added to the project in order to access the modem on the tablet.

Can anyone point me in the right direction?

Again, I need code for C++, not Delphi. If anyone has information, please provide the exact steps or point to a like that has the right information.

Thanks!

Ben

Unknown PA client error, i dunno how to fix please help

$
0
0

I keep getting this error: [PAClient Error] Error: E2312 C:\Users\user\Documents\Embarcadero\Studio\Projects\Android\Release\Project2\AndroidManifest.xml:33: error: Error parsing XML: not well-formed (invalid token) even though I dont use a TMAPview component, I have tried so hard PLease help!!!   I found this on the embacadero website under the pA server error index:  

FMX.WebBrowserEx, anyone?

$
0
0

Hello,

I'm trying to retrieve the HTML code from an FMX WebBrowser with Seattle. It works fine with Windows, but not with Android.

Source here: https://github.com/freeonterminate/delphi/blob/master/TWebBrowser/

I get the exception "method not supported". Has anybody ever encountered a similar problem? And solved it? 

Are there any other solutions available out there?

Many thanks in advance!

John D.

Viewing all 3212 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>