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

Delphi bug

$
0
0

Hi, where may I consult whether my application built with Delphi 10.2 crashes because bug in Delphi or I am doing something wrong. But it worked in Delphi 2009 and previous. I mean simple dialog developed with D2009 crashes when rebuilt with Delphi 10.2.


how to solve this?

$
0
0

"This product version does not support command line compilation" with a valid Delphi 10.2 Tokyo license"

Disocover services after disconnect BLE

$
0
0

 

Hello,

I would like to be able to disconnect from a BLE peripheral and reconnect to it without having to fully close the application. I have used the BluetoothLEDevice.Disconnect function. The BLE peripheral device returns to advertising. I am able to discover the device but unable to discover the services. This is because Discoverservices returns false.

Looking at the Heartrate sensor example I havn't found a anything relating to disconnecting from a device and reconnecting.

How do I properly disconnect from a device?
Why does discoverservices return false?

How long should it take for a question to be posted?

$
0
0

A week ago I asked a question. After I submitted it, a banner came up saying under review by moderator. Since then, no action, no communication and no posting of my question regarding Delphi Pro 10.2.3 and a problem getting Win64 as a target configuration on a Windows 10 Professional, 64-bit computer/OS.

退会の仕方

$
0
0

事情があり、Embarcaderoを退会したいのですが、アカウントの削除の方法を教えていただけないでしょうか?

どこにも書いておらず困っています。

Developing iOS and OSX applications

$
0
0

When I was in the Apple store the other day the sales person said that one can create iOS and OSX applications on their iPad Pro tablet.

As I am looking to expand into iOS and OSX versions of my applications, can I use an iPad Pro to compile my apps from within the Delphi 10.2.3 IDE? If so, can you point me to the documentation that shows me exactly how to set this up.

Thanks for your time.

I want to use SelectVoice

$
0
0

Hello. I am Takeshi Tamura ,Japanese. I want to use 'haruka' and 'Zira' in one delphi program. if  we use 'CreateOleObject('SAPI.SpVoice')' , We can't use SelectVoice("Microsoft Haruka Desktop"). In VBnet ,using 'Imports System.Speech.Synthesis',We can use SelectVoice("Microsoft Haruka Desktop"). Please show me  how to use selectVoice() in Delphi. 

Unable to link console app for Ubuntu

$
0
0

I'm attempting to compile a very simple console application for Linux as described here: http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Building_a_Linux_‘Hello_World’_Console_Application. 

Compilation fails with the message "[DCC Error] E2597 C:\Program Files (x86)\Embarcadero\Studio\19.0\bin\ld-linux.exe: error: cannot find -lgcc_s".

I've followed the setup instructions as per the documentation at http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Linux_Application_Development

I am running Tokyo 10.2 update 2 and the target system is running Ubuntu 16.04 LTS.

I've attached the build log

Thanks

 

 

 

 

 


How do I convert all my programs to Win64?

$
0
0

Last week, I updated to Delphi Professional 10.2.3 Tokyo on a Win 10 Pro, 64-bit laptop. Some of my newer programs allow me to add target platform as Win64; however some of my older programs, originally developed on 32-bit windows machines, do not allow me to add Win64 as a target platform, even though all help articles I've read say I should be able to do this if I have a 64-bit machine. The Add Platform button is greyed out for these older programs, some of which were developed under Delphi versions produced by CodeGear, while others were developed under XE versions of Delphi.
What do I need to do/change?

Problem with schemaadapter and blob filed

$
0
0

We have problems with blob-fields. We test a client/Server Project with firedac. At the server we save a query result with a schemaadapter. At the client we load the result from >>server FDSchemaAdapter.SaveToStream(Result, TFDStorageFormat.sfJSON); >>client LStringStream := TStringStream.Create(FDStoredProcGet.Params[1].asBlob); FDSchemaAdapter.LoadFromStream(LStringStream, TFDStorageFormat.sfJSON); It works fine. But if the result is greater than 256kb, we get an error. Invalid json Format. How can we use a result greater than 256kb? Thanks for help.      

How to use SelctVoice

$
0
0

I want to use 'Haruka' and 'Zira' in a Delphi program.

If we use ' CreateOleObject('SAPI.SpVoice')' ,we can't use SelectVoice().

But using 'Imports System.Speech.Synthesis' in VBnet,we can use SelectVoice().

Please show me how to use SelectVoive or ' System.Speech.Synthesis'.

TImage

$
0
0

I am developing an application which is supposed to display random Images from a directory. It compiles and runs fine except it does not show the Pictures. Here is a snippet:

      j := Selection.Count;
      i := random(j);
      name := Selection[i];
      Caption := name;
      ImageChosen.Picture.LoadFromFile(name);
      ImageChosen.Stretch := true;

Am I missing something?

Best

Bjorn

choose File Open from the main file menu or press the file Open button on the toolbar and the IDE shuts down.

$
0
0

I have installed XE5 on my Win7 64 bit desktop machine.

 

Odd behaviour for an IDE, choose File Open from the main file menu or press the file Open button on the toolbar and the IDE shuts down.

  Select "Exit" on the File menu to shut down the IDE and it produces the File Open Dialog.

an environmental effect that swaps the actions of the Exit and File Open items...

 

How do I fix it?

 

Stop Documentation Tab from auto-loading at startup

$
0
0

How do I stop the Documentation Tab from auto-loading at startup? This should be a user selectable option.

Comma disabled on keyboard android

$
0
0

Good evening,   In android with keyboardtype = DecimalNumberPad, the comma (,) is disabled. How do I enable the comma (,) on the android keyboard?


Problem to launch Delphi 10.2.3

$
0
0

Hi, I used Delphi Professional edition with mobile plugin since at least Delphi XE4. I used lately Tokyo 10.2.2 and I'm under subscription. I have uninstalled it to install 10.2.3 with the iso. The installation is Ok but when I run Delphi 10.2 the license information dialog box. I have to enter my license number (I have try the both my Delphi license and my mobile pack licence) and when I click on OK, a dialog box says that I am not licensed for C++ Builder and Delphi don't start. I'm agree I have only Delphi but Delphi don't start... Thank you for your help. Grégory Bersegeay.

Can't add a new connection in DataExplorer (Delphi 10.2.3)

$
0
0

In the FireDac tab I try to create new connection for Microsoft Access Database. After entering a connection name (Work for example), trying to save (press OK), I get this error: Cannot create file ''. Need advice.

Issue when trying to install Tokyo 10.2.3

$
0
0

Environment: Windows 10 Pro machine with the actual updates.

Downloaded Tokyo 10.2.3 ISO. When trying to install Delphi, at 78 % of installation the InstallAware wizard does no more respond. Actual step: "Actualizing the Database-Express-Settings".

Some tries to install/uninstall any versions of Tokyo ended with the same issue. Same result after having uninstalled some leftover of Berlin and Tokyo versions how suggested on <https://community.embarcadero.com/article/articles-support/171-rad-studio> manually. 

Any suggestions?

 

Question on parsing a json string with TJSONIterator

$
0
0

In using TJSONIterator and using the Return method, if the JSON string has gone down more than one level, Return does not get you back where the Next method will find the Key after that.  How do you get back up two levels?

Problem with Ttreeview on migration to Tokyo 10.2.3

$
0
0

Just updated to 10.2.3 and its seems to have broken a couple of my apps.

Problem is in Ttreeview which I build in the designer UI with headline nodes and populate the subnodes at runtime.

To speed things up in the subnode population, in the form create method, I search for the headline nodes and assign the tree nodes to global Ttreenode variables.

That avoids having to search for the main nodes every time I add a child node.

This has worked on every previous version now on some of my apps (not all) this now crashes with an "Unable to insert node" error on the first attempt to add a child node to a headline node using

TreeView1.items.addchild(MainNode,AName)

On debug, somewhere between the main form Oncreate and OnActivate events, the Trreview has reallocated all its nodes and the pointer addresses have changed.

 

As a work around, I have moved the node variable setters from the form onCreate event to the OnActivate event.

I guess this must be the result of messing with the VCL code somewhere between 10.1 and 10.2.3?

 

 

Viewing all 2504 articles
Browse latest View live


Latest Images

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