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

Environment variable pointing to Delphi project's source folder..? - by: Tor

$
0
0
Hi,

Does it exist some kind of Rad Studio Variable that contains the source path of the IDE's current Delphi project? I.e. the folder path where the current project's .DPR and .DPROJ files are located..? I need to locate this folder when my app is run from the IDE...
Thanks for help on this

regards Tor

InterBase 2017 Developer Edition Won't Start - by: Milan

$
0
0
I have installed Interbase 2017 using the RAD Studio 10.2.3 configuration tool. It says the installation was successful. I have also checked the licensing manager that tells me that the license for InterBase 2017 Developer Edition is Registered and activates InterBase 2017 Developer IDE. I'm not sure what the "IDE" in this case means, but that's what it says.

When I attempt to start the server using InterBase Manager, the following appears in the log file:



The "PHOENIX" in the messages refers to the name of my workstation, and in no way has anything to do with Firebird. I have never installed Firebird on any machine I use.

Can anyone explain what I need to do to get this to work? Frankly, it has cost me nearly two days of time and I'm not happy about either the quality of Embarcadero documentation or their installation procedures.

Many thanks,

MV

Create a table with an autoinc field using FireDAC TFDTable - by: Tim

$
0
0
Is there are way to use the TFDTable.CreateTable method in Delphi to automatically create the trigger and generator for an autoinc field?

I have tried the following:

But I get "Generator GEN_VEHICLES not found".
I'm using Firebird.
I know that I can create the trigger and generator myself. But it seems that FireDAC should be able to do it. I'm wondering how to make it do that?

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.

Delphi 2010 intermittently deactivates - Possible license duplication issue - by: Andrew

$
0
0
Hi all.

I'm hoping someone can help me out here with an issue I've been having with Delphi 2010 at the school where I work.

There are 3 or 4 workstations out of 33 in our IT lab that keep requiring Delphi to be reactivated every now and again. I took a look at the LicenceManager application to get a closer look and it seems the license entries are duplicated on the machines that are experiencing issues. Here are some screenshots of the LicenceManager...

...On machines that currently aren't working: imgur.com/a/IjcRu5n
...On machines that are currently working, but frequently have the same issue: imgur.com/a/nDeKawb
...On machines that never have this issue (control): imgur.com/a/7UtvlwP

Every machine is running Windows 10 64-bit Education Edition on Intel Kaby-Lake i5s.

Any help would be greatly appreciated. Many thanks in advance. :)

Drawing polygon to Canvas in Android - by: Pavel

$
0
0
I use Delphi 10.2.3 Tokyo and I develop application for Android (tablet Samsung Galaxy Tab S2, Android v.7.0).
I found out problem with drawing polygon to canvas of PaintBox. If I draw polygon directly to PaintBox canvas, result is correct (see Pict1). I used algorithm:
PaintBox.Canvas.BeginScene;
try
PaintBox.Canvas.Clear(tAlphaColorRec.Silver);
PaintBox.Canvas.Fill.Kind:= TBrushKind.Solid;
PaintBox.Canvas.Fill.Color:= tAlphaColorRec.Red;

PaintBox.Canvas.FillPolygon(FPoints, 0.5);
PaintBox.Canvas.DrawPolygon(FPoints, 1);
finally
PaintBox.Canvas.EndScene;
end;

If I draw polygon firstly to Canvas of TBitMap and then I draw the bitmap to PaintBox canvas, result is incorrect (see Pict2). Algorithm for second way of drawing polygon:

a) Filling of TBitMap:

FBmp.Width := Trunc(PaintBox.Width);
FBmp.Height := Trunc(PaintBox.Height);

FBmp.Canvas.BeginScene;
try
FBmp.Canvas.Clear(tAlphaColorRec.Silver);
FBmp.Canvas.Fill.Kind:= TBrushKind.Solid;
FBmp.Canvas.Fill.Color:= tAlphaColorRec.Red;

FBmp.Canvas.FillPolygon(FPoints, 0.5);
FBmp.Canvas.DrawPolygon(FPoints, 1);
finally
FBmp.Canvas.EndScene;
end;

a) Contents of TBitMap to PaintBox:

PaintBox.Canvas.BeginScene;
try
Rect:= TRectF.Create(0,0,FBmp.Width,FBmp.Height);
PaintBox.Canvas.DrawBitmap(FBmp, Rect, Rect, 1);
finally
PaintBox.Canvas.EndScene;
end;

Solved installation Repository Corrupt - by: robert

$
0
0
Below is my post that I was posting regarding how I screwed up the installation. Long story short: The file repository in \ public was corrupt. I uninstalled and then manually deleted the repository and then installed platforms one at a time,



..........................................................................................................................................................................



I am being unsuccessful at installing the free trial of Delphi/Rad studio.... I am going down hill. My first attempt. I neglected to select android, which is the primary purpose of this trial. Rad studio was working but obviously not giving me what I needed.

Then I made a crucial mistake. I went back and ran the installer again, thinking that it would pick up the components that I failed to install.. it got to the jdk and android sdk and wouldn't get past that...Ahhh it must be that I have installed android studio and jdk previously.... removed them and tried again.. uninstalled Rad studio....spiralling down the tube....further and further.. YEAH I know I should have read the directions but not having to read directions has always been one of dephi's key advantages.

I tried to clean everything up and start from scratch... It installs the basic files but no platform support, even if I go in from the ide and tell it to just install delphi 32 for windows. I can see a page flip by before it says "operation error"..

Is there any log file that will give me a clue as to how to fix this.. Or any pertinent advice that is not "wipe system"

If I wasn't a longtime Delphi fan I would give up.

thanks

robert



I dug in and found the file,,, it doesn't help here is what is happening immediately before dying:



[2017-07-15 16:53:23] [DEBUG] Selected IDs to install: "Delphi_Windows_32-bit_Enterprise_Trial-19.0.26309.314".

[2017-07-15 16:53:23] [DEBUG] Requesting data (Try 1 of 3). URL: " getit.embarcadero.com/catalog/additionalitems "...

[2017-07-15 16:53:23] [DEBUG] Requesting data (Try 1 of 3). URL: " getit.embarcadero.com/catalog/dependencyinfo "...

[2017-07-15 16:53:23] [DEBUG] Requesting data (Try 1 of 3). URL: " getit.embarcadero.com/catalog/infobyids "...

[2017-07-15 16:53:31] [INFO ] Downloading "Core Common Files Enterprise Trial"...

[2017-07-15 16:53:31] [DEBUG] Requesting data (Try 1 of 3). URL: " getit.embarcadero.com/catalog/installbyids "...

[2017-07-15 16:53:38] [INFO ] Moving folder "$(BDSCatalogRepositoryAllUsers)\Core_Common_Files_Enterprise_Trial-19.0.26309.314\TARGETDIR\" to "$(BDS)"...

[2017-07-15 16:53:38] [ERROR] A problem occurred during the process.

[2017-07-15 16:53:38] [INFO ] Installation End

[2017-07-15 16:53:42] [INFO ] Platform manager dialog closed by the user.



..............BDS was defined above

BDS=c:\program files (x86)\embarcadero\studio\19.0

Structure Panel is Blank - by: Scott

$
0
0
Delphi 10 Seattle Starter and previous versions that I have used do not display anything in the Structure Panel. It's just blank no matter what I do. Am I missing something?

Running from IDE freezes Windows 10 - by: Geoff

$
0
0
I upgraded to Windows 10 last week & now I cannot compile and run more than once or twice from the IDE without it locking my Surface 3 solid, until yesterday I was using XE7 pro but purchased XE8 thinking that it would solve this but it hasn't, if I compile from in IDE & then run the exe directly all is ok



I am on a deadline so haven't devoted much time to trying to solve it by uninstalling components etc and will do so later this week but I did wonder if anyone else getting this or is it just me?

Is the Android Developer name stored anywhere? - by: Frank

$
0
0
Trying to avoid paying the $25 Developer Fee again.
Select all images with motocycles? HA HA HA I don't see motorcycles.

Slow after update to 10.2.3 (from relative newby) - by: Bill

$
0
0
I was developing a project for work that read various files and produced a pdf summary using Gnostice eDocEngine. Everything was fine, the whole thing ran and completed in a minute or so, the pdf file has about 600 or so pages
Then I updated from C++Builder 10.2.2 to 10.2.3 and updated the Gnostice stuff as well.
Now the program takes forever to write the pdf.
Obviously I don't know if there's problem with the C++Builder side, or with the Gnostice bit. But I'm hoping someone will say "Oh, you forgot to do <insert solution here>" or similar. (Do I need to reconfigure the project for 10.2.3 somehow, for example.)
Note that the behaviour of the program suggests it might be on the Gnostice side. It used to produce the whole pdf in memory and write it in one go. Now it seems to write a small amount at a time (each page?) an maybe it's slow because its updating the file each time?
Happy for you to point me at a page I should have read ages ago, or to direct me to the Gnostice forum. But I'm hoping this is a common rooky mistake that everyone knows about...?

Windows Update IDE Issue - by: Michael

$
0
0
Hi, it would appear after the latest round of Windows updates (KB4457128) I'm having an issue launching my application from C++ Builder. The anti-virus is preventing me from accessing the exe (with real-time scanning disabled I can run my exe, however this is not an ideal situation). If I launch as administrator I do get the below error:

'Assertion failure: "(!"synchWindProc:: could not find process")" in ..\win32src\evhndlr.cpp at line 1116'.

If I uninstall the update, I can then run my application without issue. I was also unable to send this issue through the IDE report window, referencing an XML point 0 error. I've attached the logs generated from the error however.

Serial / Auth- Key for Delphi 6 Trial Version - by: Tobas

$
0
0
Dear all!
For some research I would like to open some very old code, created at the university, in Delphi 6. I found a CD from a book with a trial version of Delphi 6, but there I need a serial number and a auth- key during install.
Can anyone help me with this information?
I really would appreciate that!
Many thanks in advance,
best regards from Vienna,
Tobias

delphi tokyo ApplyUpdates issue - by: alain

$
0
0
Hi



With Delphi 10.2, dbaccess to connect MYSQL I just create an VCL application to connect MY SQL database (I already mad this kind or program on other Delphi verison). With a dbgrid and a dbnavigator. Everything work fine on my developpement pc but whe i try to run it on an other one I receive the error "Invalid parameter" After some investigation, I fond that the error came for the clientdataset1.ApplyUpdates. I've try to remove the button on the dbnavigator and create a new one on the side with the same function but i receive the same invalid parameter message when I run it on an other pc. Any ideal why I have this error if how to resolve this issue

Thanks

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?

Interbase 2017 and Ubuntu 16.04 - by: Todor

$
0
0
What is correct way to run IB2017 as different user from root ?
I set all permission of files and dirs to interbase user but allways get error
InterBase licensing error.
Please check the interbase.log file for details.
In syslog is like this
Sep 4 10:56:52 ibubuntu kernel: [ 3942.700787] traps: ibserver[9890] general protection ip:5dae8a sp:7fff3b08fe80 error:0 in ibserver[400000+4ec000]

If run ibmgr with root ibserver starts ok but i have problem then with permission of restored databases

RTF 2 HTML converter? - by: Chris

$
0
0
Hi all,

A project I'd like to start would require converting RTF to HTML, I realize I could probably just call Windows API to do it, however, Microsoft's software generally seems to write rather poor HTML code IMHO. I was curious if anyone could recommend a free Delphi component that would do this?

Or would I be better off writing my own?
Thanks

Trial edition error of Konopka - by: Kanhaiya

$
0
0
I am using Delphi berlin. There I am creating an application and try to run. Then I found an alert saying Trial Edition violation. In the detail, it says "This application was build using trial edition of Konopka signature VCL controls by Embarcadero". Why is this happening? What should I do to run my application.

Exception [FireDAC][Comp][DS]-209 during table IndexDefs update - by: Andy

$
0
0
Hi,

at the moment we are migrating the database component of our Delphi7 application from the BDE components to AnyDAC Version 8.0.5 components (in the meantime known as FireDAC). As DB Engine we are using the Firebird Server 2.5.

If we try to get the index definition for one specific table (using TADTable.IndexDefs.Update), we always receive the following error message:

"[FireDAC][Comp][DS]-209. Index [TESTTABLE_IDX] definition is not complete for dataset [TADTable(...)]"

Reason for this is exception is the following index definition:


If we try the same with the delphi version "Berlin 10.1 Update 2" everything works fine.

Is there a solution available for the AnyDAC version we are use?

Any help is greatly appreciated.

Submitting Your Android App article is outdated - by: Frank

Viewing all 3677 articles
Browse latest View live


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