Quantcast
Channel: Recent Topics - Forum - Embarcadero Community - Embarcadero Community
Viewing all 3677 articles
Browse latest View live

Interbase Linux as a Service - by: Randy

$
0
0
I am getting error messages when running the ibservice.sh script to install Interbase as a service on RedHat Server 7.5 from command line.


[InterBase@EMSWeb1 examples]$ sudo ./ibservice.sh -s /usr/interbase gds_db
cp: cannot stat ‘/usr/interbase/examples/ibserverd_gds_db’: No such file or directory
ln: failed to create symbolic link ‘/etc/rc.d/rc0.d/K99ibserverd_gds_db’: File exists
ln: failed to create symbolic link ‘/etc/rc.d/rc5.d/S99ibserverd_gds_db’: File exists
ln: failed to create symbolic link ‘/etc/rc.d/rc5.d/S99ibserverd_gds_db’: File exists

ibserverd_gds_db could not be copied to the appropriate directory.
Make sure that you have root permissions when you run this script

Linker conflict between 2 static libraries - by: Chris

$
0
0
I have a Firemonkey app for iOS and Android on the app stores which uses the JVE AdMob components to allow us to show AdMob ads in our app.


We're about to run a Facebook campaign so need to integrate the FacebookSDKs and have managed to download and integrate the SDK without too many problems. The issue now is that something in the FacebookSDK is interfering with the GoogleMobileAds SDK used by the JVE AdMob banner.


I don't have much expertise in solving linker issues with static libraries in Delphi so wonder if anyone could point me in the correct direction to try to solve this?


The error is a duplicate symbol one. Am I correct to think that the clash is between a symbol in Bolts (BFCancellationToken.o) and libGoogleMobileAds.a (GADGestureUtil.o)? Is there any way to find out what the symbol that's actually being duplicated is? I can't imagine there's a function something called "I011" in those libraries??


The linker error is:


duplicate symbol l011 in:
C:\Users\x\Documents\Embarcadero\Studio\SDKs\iPhoneOS10.0.sdk\System\Library\Frameworks/Bolts.framework/Bolts(BFCancellationToken.o)


libGoogleMobileAds.a(GADGestureUtil.o)


ld: 161 duplicate symbols for architecture arm64
[DCC Fatal Error] F2588 Linker error code: 1 ($00000001)

Thank you in advance!

Preparing Delphi deployment for the Android API level 26 August 2018 deadline - by: Inmatrix

$
0
0
Using Delphi 10.2.3, I have recently deployed my first Closed Alpha release using the Google Play console and was greeted with this message:

> Warnings
>
> Your app currently targets API level 14 and must target at least API
> level 26 to ensure it is built on the latest APIs optimized for
> security and performance.
>
> From August 2018, new apps must target at least Android 8.0 (API level
> 26). From November 2018, app updates must target Android 8.0 (API
> level 26).

There are several questions here with regards to Delphi deployment:
  • Delphi 10.2.3 ships with Android SDK 24.3.3, why does it warns the target API is set to level 14 and how can this be changed? (is the only option to edit AndroidManifest.template.xml?)
  • I used the Android SDK Manager tool to download the latest versions of the "Android SDK Tools", "Android SDK Platform Tools" and "SDK Platform" for Android 8.1 (API 27). However, when following the instructions ( docwiki.embarcadero.com/RADStudio/Tokyo/...dding_an_Android_SDK ), it instead installed SDK 25.2.5, even though I specified the "SDK API-Level" to "android-27" at the bottom of the wizard. How can I get SDK 27 to install?
  • I downloaded the latest Android r17 NDK ( developer.android.com/ndk/downloads/ ), but Delphi's Add SDK wizard wont accept the NDK path at all (it shows the yellow triangle), is it even possible/recommended to use the latest NDK?

Reading data from the website - by: Jacek

$
0
0
I am asking for help in accessing the website Linkhttp://dctgdansk.pl/pl/strefa-klienta/sprawdz-kontener-online/ from the code level.

There is a "Container number" window in which the container number should be entered and after pressing the arrow data on a given container is made available.

Unfortunately, the source of the page does not have such information that can be loaded into my program via the function

I do not have experience in reading data from websites, but in one case, which I use in the address of the page, all data necessary to open another page appears. In this case, the website address is unchanged. I can use
but how can I be sure that the container number will go to the place marked "Container number" on the site?

(FireDAC) FDEventAlerter causes application to freeze when destroyed - by: Raphael

$
0
0
Hi, I'm using a FireDAC TFDEventAlerter to be noticed of certain events happening in the database, it works fine but sometimes when I close my application (which causes the event alerter to free itself) the application freezes. I'm using Delphi 10.2 Tokyo

We've tracked the source of the infinite loop to this mehod:
unit FireDAC.Phys.ADS.pas
procedure TFDPhysADSEventAlerter.InternalAbortJob;
begin
if FWaitThread nil then
begin
FWaitThread.Terminate;
InternalSignal(C_WakeUpEvent, Null);
FWaitCommand.AbortJob(True);
while FWaitThread nil do
Sleep(1);
end;
end;

It seems the condition FWaitThread nil is never satisfied. As I said before, this problem happens randomly, I programmed a loop to try and reproduce the problem more systematically by creating and freeing an EventAlerter many times in a row in a simple project and was able to reproduce the freeze a few times when running it for hundreds of iterations. However, it seems that the problem is more frequent when the event alerter is being freed when closing the application. This is a big problem for me because I can't deliver an appllication that randomly freezes when closed, forcing the user to stop the process with the task manager.

I found another post in which the poster had a similar problem, the proposed solution was to make sure to Unregister the event alerter before closing the DB connection but for me, it didnt seem to change anything.

Thanks in advance,
Raphael.

Revisited: Obtain date and time from the Web - by: Andrej

$
0
0
Some weeks ago I got the following sequence of commands from Remy (thanks again)
how to obtain date and time from the Web
(sequence of commands that tries to get date and time from the web and if this is not
possible it takes date and time from the computer. The sequence is:
var
DT: TDateTime;
...
try
SNTPClient := TIdSNTP.Create(nil);
try
SNTPClient.Host := 'pool.ntp.org';
DT := SNTPClient.DateTime;
finally
SNTPClient.Free;
end;
except
DT := Now;
end;
ShowMessage(DateTimeToStr(DT));
SysUtils.DecodeDate(DT, Year, Month, Day);

I tried this sequence on several machines also by enabling/disabling Internet/wireless.
It always works fine to me. I considered this question answered.

However now one of my users reported that when he tries to run the program,
the program stuck. The program first tries to get date and time as described before.
It seems to be waiting for a process to finish running.

Is it possible that in some occasions the sequence of commands tries to find the server infinitely?
If that is true: is there any way to say "after some attempts stop trying to find the server and its time"
and get the date from the machine.

I know that "try - finally - except" should somehow work in this way, but anyway...

Thanks in advance.

Compile Firemonkey to Mac OS X many errors - by: Artur

$
0
0
I download last Builder C++ version from Embarcadero website, and I can't compile anything to Mac OS. I found an information that Mojave and last Xcode is incopatybile with Builder Tokyo. I downgrade Mac OS from Mojave to High Sierra + Xcode 9.4.1 + Command Line 9.4.1 + PAServer 19 + patch. I changed files from the patch on PC too. PC connection with Mac by PAServer works fine.
But I still can't compile anything to Mac OS :(
I get a lot of errors about syntax errors (eg in secbase.h I get <<expected ",">> etc).
I try to compile an example console application on Mac OS and it is WORKING!
But if I add a firemonkey header (#include <fmx.h>) then I got the same errors :(
I have not idea what is wrong :( Maybe I have to change paths to headers/library (but PAServer get all the files from Mac)? Maybe something is with SDK Xcode 9.4.1?
Please, just show me a "road map" where have I to search a cause...

Artur

D2007 - EditorLineEnds.ttr problem - by: Alan

$
0
0
I have this problem since 1 month ago:
Cannot create file
C:\Users\johns\AppData\Local\Temp\EditorLineEnds.ttr

I used to open 2 instances of Delphi 2007 for years but I got this error since last month.
I googled people say the result of Windows update in 2014. But I only came across this error in April.

Anyway to solve it?

Interbase - by: Roberto

$
0
0
Good morning, it's possible run the server side on linus and the client side on Windows 10?
Thanks.

Is BDE the only way to create FoxPro tables? - by: Mister

$
0
0
I'm using RAD Studio 10.2.3 Tokyo. I need to develop an app that can export data to FoxPro .DBF files. Is the old-school Borland Database Engine the only way this can be done, or can one of the newer technologies (dbExpress, TADODataSet, FireDAC) do this? I really don't want to use the BDE if I don't have to.

How do I get rid of the "classic" tool palette in RAD Studio Tokyo? - by: Mister

Getting accessvilation error on adding columns to TLinkGridToDataSource - by: Mohan Kumar

$
0
0
Getting eaccessviolation error on adding columns to TLinkGridToDataSource in RAD Studio 10.2. Didn't find any issue with Rad Studio 10.1.

Getting access violation error on assigning header to TLinkGridToDataSource col - by: Mohan Kumar

$
0
0
Getting access violation error on assigning header to TLinkGridToDataSource columns dynamically.

Getting accessviolation error on adding columns style - by: Mohan Kumar

$
0
0
Getting access violation error on assigning column style dynamically in Rad studio 10.2 when I use language parameter as 'NO'
Access violation not coming when I used - Columns.BeginUpdate and Columns.EndUpdate;
But didn't find any issue with Delphi 10.1.
How can we add columns dynamically without getting access violation errors

Pb Deploy : "Missing profile name. Unable to get a valid profile from enviro... - by: Régis

$
0
0
Hi !
An insoluble problem despite the many researches ...
After installing Delphi 10.2 when compiling an error-free basic program and a recognized Android mobile in USB-Debug mode, I still get this message at the Deploy level!
Although he should not need it, I created a profile but without success ...
The platformform environment variable passed to Android without success too ...
An idea ?
Thanking you

Hello,
Un problème insoluble malgré les nombreuses recherches...
Après une installation de Delphi 10.2 lors de la compilation d'un programme basique sans erreur et un mobile Android reconnu en mode USB-Debug, j'obtient toujours ce message au niveau du Deploy !
Bien qu'il devrait pas en avoir besoin, j'ai créé un profile mais sans succès...
La variable d'environnement plateform passée à Android sans succès aussi...
Une idée ?
En vous remerciant

Pb Deploy : "Missing profile name. Unable to get a valid profile from environ... - by: Régis

$
0
0
Hello,
An insoluble problem despite the many researches ...
After installing Delphi 10.2 when compiling an error-free basic program and a recognized Android mobile in USB-Debug mode, I still get this message at the Deploy level!
Although he should not need it, I created a profile but without success ...
The platformform environment variable passed to Android without success too ...
An idea ?
Thanking you

Hello,
Un problème insoluble malgré les nombreuses recherches...
Après une installation de Delphi 10.2 lors de la compilation d'un programme basique sans erreur et un mobile Android reconnu en mode USB-Debug, j'obtient toujours ce message au niveau du Deploy !
Bien qu'il devrait pas en avoir besoin, j'ai créé un profile mais sans succès...
La variable d'environnement plateform passée à Android sans succès aussi...
Une idée ?
En vous remerciant

REST Service - by: Andrew

$
0
0
HI,

I'm new to Delphi and REST so I'm looking for some guidance on best principles. If I was to write a weboker service is the best approach to define your data structure as records and populate these with the POST/PUT request and then use these records to update the database, or take each value pair from the request one at a time and process as applicable? Any working simple examples will be much appreciated.

Andy

Awful debuging experience Delphi 10.2.3 - by: Adrian

$
0
0
Hello everyone,
I have a project that is currently written using Delphi XE, I ported it to 10.2.3. The new version has one special unit which uses generics a lot.
Compiles times went from 20 seconds (full rebuild) to 3 minutes. I read a lot about generics and compile time. That's anoying but not a show stopper.
What drives me crazy is the awful debuging experience I am having. IDE freezes a lot, it is slow,.. I can't imagine everyone is going throught the same experience because it is almost impossible to use so I am asking you for tips to check what could be the reason for this behaviour.
Delphi 10.2.3 is installed on a Windows 10 64 Education edition virtualbox with 8GB of memory.
Delphi XE (where everything runs smoothly) is installed on a Windows 7 32 virtualbox with 3gb of RAM

Any help would be any help would be greatly appreciated

Support for iOS12 - by: Samuel

$
0
0
Does anyone know when Embarcadero will release support for iOS12 and XCode 10?

I need to upgrade my iPad / iPhone to iOS 12, but if I do, I will not be able to compile any apps for them or update applications on the App Store.

Google's changing Android app licensing in response to EU antitrust decision! - by: Emailx45

$
0
0

Android has created more choice, not less

Complying with the EC’s Android decision

Today, Google announced a number of licensing changes its making as a result of the EU antitrust decision that came down in July. All while not admitting to any wrongdoing, the firm only said that these changes are being made while its appeal is pending, so everything you're about to read could very much be temporary.

One major change being made is that companies that make Google Play devices will now be able to also make non-Google Play Android, also known as forked or AOSP (Android Open Source Project), devices. Previously, if an OEM licensed Google Play Android, you weren't allowed to also produce AOSP devices, except in countries that don't allow Google Play, like China. Now, companies will be able to sell forked Android devices in EU countries, so still not in countries like the United States.

Google is also going to allow for different licensing of apps. Companies will be able to license Google's mobile apps separate from Google Search or Chrome in the EU, and the firm will offer separate licenses for Search and Chrome. This is something of a big deal, as Android licensing has always been free or close to free, with Google making its revenue off of Search ads, and internet ads in Chrome.

The firm says that the new options will go into effect on October 29, but only for new smartphones and tablets launched in the European Economic Area. Google promises that Android itself will continue to remain free and open source.


SOURCES:
www.blog.google/around-the-globe/google-...cs-android-decision/
www.blog.google/topics/google-europe/
www.blog.google/around-the-globe/google-...ore-choice-not-less/
Viewing all 3677 articles
Browse latest View live


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