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

Android DetectedActivity API - by: Luis

$
0
0
Hi!

Is it possible to access the Android DetectedActivity API from a Delphi (Tokio) app?
DetectedActivity API

I need to know if user is walking, cycling, driving or still.

or is there any similar project which access to n Android API to begin with?

Thanks!

Twebbrowser Exception on Delphi 10.2.3 - by: AHMET MERIC

$
0
0


This function generates exception when it fired too fast by loop.And exception says "TWebBrowser.Document Access Vioaliton".Is there any solution to this problem?

ListView locking while scrolling in mobile applications - by: LUIS

$
0
0
ListView locking while scrolling in mobile applications. Any solution how to solve?

ISAPI DLL - by: Madhu

$
0
0
Seattle10
Intraweb 14.2.5
FastReports 5.0
TMS Intraweb Components
Raize 6.2.1

After deployment, I can access the dll page once. After closing out the page isnt accesible anymore. There is no error log or exception log.

I have set allowmultipleusersessions to true in the servercontroller.

Thanks in advance.

Meet Google Play's target API level requirement - by: Tom

$
0
0
Hello everyone, there is already a solution to the below topic in august. As I understand it, the SDK 24.3.3 is not sufficient anymore. And the version may not simply be adjusted up in the Rad Studio. That's how I understood it anyway. Unfortunately, my english is not good. That would affect all providers in the Google Play Store to create the apps with Delphi. Here again the text.

Thank and Regards Tom

As of August 2018, new apps must target at least Android 8.0 (API level 26).
As of November 2018, app updates must be targeted to Android 8.0 (API level 26).
Meet Google Play's target API level requirement
Google Play will require that new apps target at least Android 8.0 (API level 26) from August 2018, and that app updates target Android 8.0 from November 2018.
Every new Android version introduces changes that bring significant security and performance improvements – and enhance the user experience of Android overall. Some of these changes only apply to apps that explicitly declare support through their targetSdkVersion manifest attribute (also known as the target API level).
Configuring your app to target a recent API level ensures that users can benefit from these improvements, while still allowing it to run on older Android versions. Targeting a recent API level also allows your app to take advantage of the platform's latest features to delight your users.

Migrate from BDE to FireDAC an application accessing ORACLE database - by: Yann

$
0
0
Hello,
I try to migrate an application accessing to an ORACLE Database from BDE (with C++Builder XE6) to FireDAC (with C++Builder 10.2 Tokyo) but in FireDAC links, i have no " TFDPhysORADriverLink".
Is it because i use a "Professionnal" license?!
What is the solution?

Delphi to C++ - by: Flavio

$
0
0
Hi All, I need to port a piece of code from Delphi to C++.
I have this code in Delphi:


In c++, this:


I'm not able to change this Cert:=CoCertificate.Create; to C++.

Can you help me?
Thanks,
Flavio

Setting Custom Headers on a DataSnap Service - by: Andy

$
0
0
Hi,
I've created a DataSnap Service and I need to set a Custom Header but I can't work out how to do it.

A DataSnap Form or Console Server has a TWebModule and I can add Response->SetCustomHeader("...","...") to the WebModuleBeforeDispatch method. A Service doesn't have this.

I've tried using the DSHTTPService:HTTPTrace method and that does give access to a TDSHTTPResponse but it doesn't allow custom headers.

I'd really appreciate it if somebody can point me in the right direction.

I'm hoping there is a simple solution.

Andy

F2084 compiling for windows 64 - by: Jose

$
0
0
Hi

I am getting this error and I have no idea where to start looking for a fix:
[dcc64 Fatal Error] DocumentGenerationForm.pas(111): F2084 Internal Error: AV0DDA7EF9-R0000006C-0

I read somewhere that the Embarcadero team (or community) can help track the issue with the message above. How can I get any assistance?

TGrid : TextFont Color or BackGroundColor according to a DataField - by: Serge

$
0
0
Hello,
How can i change a FontColor in my Tgrid ?

I know about OnCellDraw event i.e like this

But if y can test the Value of the cell column I can't test a value in the dataset !

let say y have a table and grid with 3 columns (partname,price,lastsale) and i want the rows of my grid red if lastsale data is more than one year old .

My first attempt was to change the if statement in

But it seems that the Mydata.FieldByname('lastSale').asDate don't change (first row of my Clientdataset)

FMX - App groups in iOS, are they available to delphi users? - by: Erlend Os

$
0
0
In iOS, app groups allows you to store data to a shared group that other applications that are part of a suite of applications can access. All applications that share keychain access must use the same app ID prefix, which means that all apps that want to share data must have the same developer team to publish the apps.

I currently have a quite big application for iOS that I am considering splitting up into several smaller apps. Sharing data between these apps would be crucial (typically one app would do a db call and present the data, and to edit the data I would launch a separate app from a button in the app). Is there a way to use this functionality with delphi? I have only ever seen it done with XCode, and I cannot find anything about this in the documentation presented by Embarcadero.

Problem with platform selection - by: Eberhard

$
0
0
Hi there,

I have a problem installing the Delphi Starter Edition.

My Licence Key was accepted. The Platform Selection tool opens, I requested the 32 bit Windows platform.

After a while, the installer stops with the message
"Problem loading data - Cannot load data from the server: Internal server error" (translated from german)

My system is Windows 10 64 bits. I have already disabled my firewall, and I am running the installer "as administrator", as suggested by Embarcadero Support, without success up to now.

Do you have any further suggestions?

Thanks in advance
Eberhard Rinn

Error installing the components in Tokyo 10.2.3 - by: Darlan

Which PDF component to buy - by: Asger

$
0
0
Hi
I need a PDF library / component that I can install in my C++Berlin.

I need this functionality to be in the library:

1. PDF Viewer (wincontrol of some kind)
a. Copy selected text from the viewer
b. double click to select text in the viewer
c. View all pages at once, just having to scroll between pages.
d. set word separator characters for select text by double-click.
2. Extract all text from a PDF function
3. Delete page from a PDF function
4. Combine 2 or more PDF files into one.

I need it for a windows application I am writing, I am currently using the free Pdfium by Andreas Hausladen,
but it has some small bugs that I can't seem to fix and it is no longer updated.

Any suggestions will be greatly appreciated.
Thanks in advance
Best regards
Asger

Which PDF Component / Library to buy - by: Asger

$
0
0
Hi

I need a PDF conponent / library for a windows application that I'm writing.

I need this functionality to be in the library:

1. PDF Viewer (wincontrol of some kind)
a. Copy selected text from the viewer
b. double click to select text in the viewer
c. View all pages at once, just having to scroll between pages.
d. set word separator characters for select text by double-click.
2. Extract all text from a PDF function
3. Delete page from a PDF function
4. Combine 2 or more PDF files into one


I am currently using the free Pdfium by Andreas Hausladen, but it have
some small errors that I can't find a way to fix.

Any suggestion will be greatly appreciated.
Thanks in advance
Best regards
Asger

Emails from this forum. - by: Wallace

$
0
0
Not sure if I'm the only one but emails from This email address is being protected from spambots. You need JavaScript enabled to view it. are just blue screens with nothing on them. This is the only set of emails that gives me this issue. Using Essential PIM Pro.

INDY 10 (old version) question - by: WIllem

$
0
0
I'm maintaining an application using Delphi2007 on WindowsXP (an update to Delphi10.2 on Windows10 is underway but takes quite some time due to the impact it has).
One update concerns a SOAP connection with an external party, that requires TLS1.2 Code for this was originally written in C++ and used openssl 0.9.8 libraries - that lack this protocol. Update to openssl 1.0.2 had severe problems so I translated the code to Delphi, using Indy 10. Also used in other SOAP connections to thsi partner (and others), but here I ran into an error:

Cannot process the message because the content type 'text/xml, charset='urf-8' was not the expected type

Signalled by Indy, erither internally in translating the data into SOAP format, or by receiving this message from the remote application - not sure yet.

However, I located that Content-Type is set deep in the Indy code: (SOAPHTTPTrans.pas), and that "text/xml" is defined in SOAPCosnt.pas.


Checked the Indy version I have with Delphi 10.2 and here is is possible to set the conetnt-type to the desired value (abeit SOAPConst.pas defines "soap+xml" in stead of "soap-xml").


This update is a requrement - so my question is: Can I use this new Indy-10 version in Delphi2007 without disrupting other connection (SOAP and others) and if so, do I need to set specific conditionals? If not, what would be the latest INDY10 version I could use with Delphi2007? Otherwise, I would have to change Indy code - which I prefer to avoid....

How can I load or save multi icon file with ImageList ?(VCL) - by: Yuzo

$
0
0
I am making a program with some icons such as a launcher for an example. Icons would be changed (added or removed) in running process of the application. Accordint to help, FileLoad medthod is supported to load an icon file by VCL, but not supported by FMX.
The related part of my program list is as follows.
TImageList *imgList = new TImageList(this);
imgList->SetSize(32, 32);
imgList->FileLoad(rtIcon, "srcImageFile.ico", clWhite);
imgList->Draw(Image1->Canvas, 5, 5, 0, true);
However, no icon image is shown at all.
In fact, imgList->Count is 0, which means no icon is loaded into imgList.
Of cource, icon image file (srcImageFile.ico) is correct and can be shown in the following manner.
Image1->Picture->LoadFromFile("srcImageFile.ico");

My question is,
Why does not FileLoad method function, and what is wrong with my coding above? Is there any better method to load icon files into the imgList?
In many cases, icons would be preloaded into "ImageList"component, but the applications like icon library manager or apps launcher needs the function to load and/or save icon files.
Thank you for your help.
Regards,

Delphi VCL TListView Groups - by: Guthrie

$
0
0
For the life of me I can't figure out how to check to see if a Group is created for a VCL ListView programmatically, I've been away from Delphi for almost 10 years.

I'm populating a ListView programmatically and need to check if a Group has been created, if not then create it, then populate the group as normal.

thanks in advance
Gus

Trouble creating Mailslots - by: pss

$
0
0
With the code below I am able to work with MailSlots in different customers with several computers on their private lan.
But on one of them I am not able to discover what is happening, although for sure it will be a permissions problem.
The call to CreateMailslot returns INVALID_HANDLE_VALUE and GetLastError retuns 203 "The system could not find the environment option that was entered."
Do I need to specify more options in sa1 / SECURITY_ATTRIBUTES.

Viewing all 3677 articles
Browse latest View live