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

upcast bug with Clang - by: Fraser

$
0
0
When compiling with Clang you can wrongly perform an implicit conversion of a pointer or a reference to a base class when not using public inheritance. I have not encountered many bugs with Clang but this one occurs quite easily.

compare JString values - by: Adriano

$
0
0
Hello;

I am trying to understand understand JIntend interface, but I can't find information. For example, how do I compare Data.getAction and TJIntent.JavaClass.ACTION_SEND to see if they are equals?. Do I have to move both to string before?.

Thank you!

problem in Tlistview - by: Cyber

$
0
0
anyone can help me, when I click the item in the Tlistview in form1 it will open form2 and put data together with what I click like detail click on the contact phone, and I use kinvey as data storage and file.

thanks.

Installation of Delphi Tokyo erased my XE7 installation - by: Kai Inge

$
0
0
Because of this, I'm denied access to my older projects because of the Dependency Hell.
Now XE7 is gone and all the installed Raize components with it.
Unfortunately I now have to modify an older project made with XE7 and all I have is Delphi Tokyo.
The thirdparty Raize component set is bought by Embarcadero and I believed that they then would have made the Raize components a native part of Delphi, but no. They have hidden it somewhere as a package under a new strange name that I now cannot recall, and so far I have failed to install it in Delphi 10.2

Without theese components I cannot transfer the old project to my new Delphi Tokyo. Now I don't even remember the strange name of the component packet that just failed to install.

Any others with experience regarding this matter and how to solve it? If I try to open the old project in Delphi Tokyo, it comes up with no VCL tab because of lacking Raize component Class. Then I believe the components new strange class-name will collide with the Raize class-name in the project even if I should succeed in installing the new component package downloade from Emarcadero?

Android - read an image - by: Adriano

$
0
0
Hello;

I am handling an Intend ACTION_SEND, and I get the Uri for the file in this way:

Uri := TJnet_Uri.Wrap(Data.getParcelableExtra(TJIntent.JavaClass.EXTRA_STREAM));

Question is, how do I read that file for streaming it to desktop application I am connect to via App Tethering?

Thank you!

IBLite for Android Capabilities - by: Robert

$
0
0
Can IBLite for Android do the following:
1. User Defined Functions ( ie use a UDF Library )
2. External Files
3, Remote Access via connection string
4. Stored Procedures

If not what database system can that works on Android?

fifo RichEdit - by: Prem

$
0
0
I have a date program that is using a richedit. The problem is, when the buffer fills up the programme stops and then needs to be shut down and restarted, which is very inconvenient. What I would like to do, is to turn the richedit into a first in first out richedit. The problem is I have no idea how to do this as it must be done on the lines property which is a read-only. I have also searched for a first in first out editor component and not been able to find one. So if anybody knows of one, I could use that instead.

Thank you for any help.

Prem.

FMX Combobox scrolling doesnt work on iOS - by: Luis

$
0
0
I have a weird problem with my FMX iOS app (Tokio 10.2.3), and it seems other developers have the same problem as seen here:

forums.embarcadero.com/thread.jspa?threadID=246956
stackoverflow.com/questions/45179642/why...y-when-its-parent-is

Some customers say that they can't scroll to select the desired combobox item. The popup list appears, and you can even press "Done", but can't scroll the items to select another one. They simply don't move.

I tried it in an iPad with no problem, but it doesn't work in an iPhone 7. Maybe it is related with the screen size or something?

Any solution or workaround?

Thanks.

RAD Studio stops when installing "Core Common Files Community" - by: Frank

$
0
0
Hi!
I recently installed the Delphi Rad Studio Trial Version - that worked very well. Then after the trial period I decided to register for the free Delphi Community Edtion and got a licence from Embarcadero.
After that I uninstalled the Trial Arcitect Version from Delphi Rad Studio 10.2 which worked fine, too.

But then I tried to install the newest RAD Studio Delphi Edition v10.2.3, downloaded on 7.8.2018 (radstudio10_2_3_esd__93231.exe, CRC32: EFC11E4A) and here are the problems:

When installing, the program always stops at the same position when it says

Watch Screenshot

I tried to change the previous settings in the installer which determine which parts of Delphi should be installed (i.e. only Delphi Windows 32-bit Community, only German as additional language and only Help) but I doesent work! The installer keeps to stop at the same position and doesnt move on (I tried for over 30 minutes)...

Then I uninstalled RAD Studio completely a number of times following the guide in this link .
Furthermore I searched the registry for all keys containing "Embarcadero" or "Borland" and deleted them. Now, I have tried so many times and have almost given up - the only hope is that there are some professionals here which can help...


Best regards,

Frank

IOS App - Socket Error Deploying to MAC - by: JUAN

$
0
0
Hello!.

Sorry. My English is not good.

I'm trying to run an application for IOS with Delphi Pro 10.2 Tokyo. (Update 2) with mobile.

I have the following configuration:

Target Platform: IOS Device 64 Bit Iphone 11.2 ( Target: My Iphone )
Configuration: Development.
Platform Assistant Server and client Version: 10.2.1.10

I can deploy most of the files but have the following error message when I deploy the application file (the largest, 44Mb):

PAClient Error] Error: E0009 Socket Error # 10054
PAClient Error] Error: E0009 Connection reset by peer.

This failure occurs 99% of the time. But I've been able to deploy at least once.

I was also able to play the bug with the command line application (paclient.exe). Attached are screenshots

Thanks in advance.

Firedac Exception confusion - by: Barry

$
0
0
I have a dbgrid which display data I have created in an MSSQL table. After I have inserted the last record into that table I issue the following command:

if fdqTable.Active = False then fdqTable.Active:= True;
.
When the debugger executes this command it throws up the following error:

Project xxx raised an exception class EFDException with message '[FireDac][Phys][MSSQL] -308 Cannot open / define command, which does not return result sets. Hint use Execute / ExecSQL method for non-SELECT commands'

Which makes no sense at all, given all I'm doing is setting the query active (which is a 'Select * from table order by ...').
Any thoughts on why I'm hitting this error?

Install to a different Drive - by: Sion

$
0
0
I've just bought a new laptop and want to install my Delphi XE Pro and my Delphi Tokyo Pro with Mobile on it. The new laptop has a 128Gb SSD (C:) and a 1Tb HDD (D:).
I want to install my Delphies on to the D: drive but seem to remember that a lot can go wrong with this. Is it going to be a big PITA? If it is then in the long run am I better off buying a bigger SSD and setting this up as the C: so that I'll have the space to install everything on that?

Diolch.

Community Edition doesn't build anything but Win32 - by: Ray

$
0
0
I don't know what is wrong.
I had the Starter Edition. I uninstalled it and installed the Community Edition. I am running Win10.
I wrote my Multi-Device Application in Delphi 10.2 Community Edition. It works great in Win32 but when I select a different platform, it doesn't compile.
When I Build and Compile my project for a different platform, it finishes with no errors, but it only rebuilds the Win32 exe file. It does not create the platform folders (for example, /OSX32/Debug/MyProject) or put anything in them even though the progress box says it did.
When I click on the Run button (with OS X selected), it connects to my MacBook, puts an Win32 exe file in the appropriate folder on the MacBook and then gives an error – “Could not find program, ‘Users/macowner/PAServer/scratch-dir/Ray-Ray/MyProject.app/Contents/MacOS/MyProject’”. I looked on the MacBook and it only has the Win32 file there. No MyProject.app.
I have tried following the wizard and creating a new Multi-Device Application and I have the same problem.
I emailed Embarcadero and got no response.
I hope someone can help me with this.

Delphi 2006 enterprice - by: tieri

$
0
0
Hello,

where is Delphi 2006 update 1?
thanks

SysUtils calls NetWkstaGetInfo on dll load (10.1) - by: Dmitry

$
0
0
SysUtils calls NetWkstaGetInfo in the unit initialization section. That function should not be called when a dll is loaded - this can result in a hang (and that is what I am seeing in a crash dump from a customer's machine).
Short of creating a custom version of SysUtils, does anybody have any ideas for a workaround?

Thanks!

64 bit hooking - by: Mark Williams

$
0
0
I am new to hooks and found this very useful unit on github:
https://community.embarcadero.com/forum
It compiles fine in 32 bit Delphi, but has upwards of 78 errors in 64 bit. I would have no idea how to make this 64bit compatible and was wondering if anyone knew of a 64bit version of the unit or some other similar unit compatible with both 32 and 64 bit.

[Android] How to get line number from ANR/ Crash report - by: Registered

$
0
0
Can anyone advise how to get the unit and line number in source code from ANR or crash reports on google play?

All I get from my internal code is the libxxxx.so name then (???) line number or procedure called which makes debugging near impossible.

Have tried a lot of different compiler options but nothing seems to improve this. Map file offsets dont match up with the reported offset.

eg:

#00 pc 000000000001341c /system/lib/libc.so (syscall+28)
#01 pc 0000000000017539 /system/lib/libc.so (_Z33__pthread_cond_timedwait_relativeP14pthread_cond_tP15pthread_mutex_tPK8timespec+56)
#02 pc 000000000054de7d /data/app/com.xxxx-2/lib/arm/libxxxx.so (???)
#03 pc 00000000007d88b7 /data/app/com.xxxx-2/lib/arm/libxxxx.so (???)
#04 pc 00000000007d8a01 /data/app/com.xxxx-2/lib/arm/libxxxx.so (???)
#05 pc 0000000000069513 /system/lib/libandroid_runtime.so (???)
#06 pc 00000000002443c7 /system/framework/arm/boot.oat (Java_android_app_NativeActivity_onPauseNative__J+90)
at android.app.NativeActivity.onPauseNative (Native method)
at android.app.NativeActivity.onPause (NativeActivity.java:209)
at com.embarcadero.firemonkey.FMXNativeActivity.onPause (FMXNativeActivity.java:200)

Old Source Code/dfm files - by: Debbie

$
0
0
Hi. I have an old app that has not been recompiled since 2010 using Delphi 2005 It uses TPagecontrol and TTabsheet controls. The old executable displays them as a darker color, maybe clbtnface. I recompiled them in Delphi 10 Seattle. The controls are now completely white. I don't see any property in the IDE to change the background color. First of all, why does the app look so very different in Delphi 10 Seattle after a compile? Secondly, what do I do to get the appearance back to how it looked before?

Delphi Community Edition install failure - by: Graeme

$
0
0
I have tried installing the Delphi Community edition at least 3 times, allowing each install to remove previous versions and on all occasions, the central program bds.exe has not been present after installation.
My OS is Windows 10 Pro 64Bit and I have and Intet I7 processor with 16GB RAM.
The installation file I uses is radstudio10_2_3_esd__93231.exe, the standard one given on the link I was sent.
How can I fix this problem so that I can actually run the software?

Edit File Properties - Details - by: Johann

$
0
0
Hi,
in Windows, the file property editor allows for changing properties on it's details page (e. g. the title tag of an audio file). I wonder if there is a way to access these properties programmatically.
Regards Johann
Viewing all 3677 articles
Browse latest View live


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