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

Datasnap rest special characters - by: Guilherme

$
0
0
I am testing a datasnap server rest, and am having problems with special characters.

ç - \ u00E7
ã - \ u00E3

This running by browser ...
http: // localhost: 8080 / datasnap / rest / TTest / List

How to get around this?

C++Builder 64 stops on all catches - by: Dean

$
0
0
The debugger stops at every catch, as if there are breakpoints. Is there a way to turn this off? Thanks!

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

[win 10] "non shared data segment" error on RAD Studio 10.2.2 - by: Abdelali

$
0
0
Hello,
I want to enable codeguard in my c++ project on win10. I migrate to RAD Studio 10.2.2. But I still have the error "NonShared data segment required"
How can I solve this issue ?
Thanks and regards

How do I change the background color in listview? - by: john

$
0
0
This is a firemonkey listview control.

I have a listview that retrieves info from an sqlite database.

And, I want to change the background color (say from white to yellow) based on a value in a query.

I searched google but so far have not found a solution. It can't be that hard to do, can it ?
Its gotta be hidden something like: listview.cell[0].background = clYellow

The listview is linked via LiveBindings, So I guess I will have to add a routine (never done this) to check through the list, testing for a value in the query and then change the background of any items in the list to Yellow and refresh the list to display.

Why I want to do this: because changing the color to yellow (or whatever color I decide) will help the end user to know certain clues about that item they are about to select, if it is yellow.

Thank you.

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?

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?

access violation in rtl250.bpl - by: Johan

$
0
0
hi,
after a clean un-install of RAD Studio 10.2.1, I installed the latest RAD Studio 10.2.3. At the end of the installation the program runs fine. After closing and restarting the application, the program opens with several messages of access violation in 'rtl250.bpl' and quits. Sending the error message details always fails with some xml-error. These are the error message details:
=====
[50BA9A06]{vcl250.bpl } Vcl.ExtCtrls.TCustomControlBar.AlignControls (Line 7018, "Vcl.ExtCtrls.pas" + 273) + $3
[21A27392]{vclactnband250.bpl} Vcl.ActnMenus.TCustomActionMenuBar.WndProc (Line 1889, "Vcl.ActnMenus.pas" + 25) + $4
[50AE4898]{vcl250.bpl } Vcl.Controls.TControl.Perform (Line 7116, "Vcl.Controls.pas" + 10) + $8
[5005A1D8]{rtl250.bpl } System.@GetMem (Line 4758, "System.pas" + 20) + $0
[50BAA6B2]{vcl250.bpl } Vcl.ExtCtrls.AddItem (Line 7527, "Vcl.ExtCtrls.pas" + 17) + $3E
[5005A1F4]{rtl250.bpl } System.@FreeMem (Line 4806, "System.pas" + 20) + $0
[5006586F]{rtl250.bpl } System.@DynArrayClear (Line 35308, "System.pas" + 49) + $0
[5006549C]{rtl250.bpl } System.DynArraySetLength (Line 34960, "System.pas" + 9) + $6
[50063F51]{rtl250.bpl } System.@FinalizeArray (Line 32183, "System.pas" + 168) + $0
[50063E0C]{rtl250.bpl } System.@FinalizeRecord (Line 31861, "System.pas" + 25) + $0
[500602C8]{rtl250.bpl } System.TMonitor.Destroy (Line 18532, "System.pas" + 0) + $0
[5005F94D]{rtl250.bpl } System.TObject.CleanupInstance (Line 17168, "System.pas" + 37) + $0
[5005A1F4]{rtl250.bpl } System.@FreeMem (Line 4806, "System.pas" + 20) + $0
[5005F72C]{rtl250.bpl } System.TObject.FreeInstance (Line 16931, "System.pas" + 2) + $2
[50060016]{rtl250.bpl } System.@ClassDestroy (Line 18298, "System.pas" + 0) + $2
[50151C0C]{rtl250.bpl } System.Classes.TList.Add (Line 4601, "System.Classes.pas" + 0) + $0
[5005F8A8]{rtl250.bpl } System.TObject.Free (Line 16994, "System.pas" + 1) + $4
[50BAA3B3]{vcl250.bpl } Vcl.ExtCtrls.TCustomControlBar.UpdateItems (Line 7391, "Vcl.ExtCtrls.pas" + 132) + $3
[50AE9843]{vcl250.bpl } Vcl.Controls.TWinControl.WndProc (Line 10209, "Vcl.Controls.pas" + 166) + $6
[50B65F6A]{vcl250.bpl } Vcl.ComCtrls.TToolBar.GetButton (Line 22956, "Vcl.ComCtrls.pas" + 1) + $8
[004A7ACE]{bds.exe } AppMain.TAppBuilder.ControlBar1BandInfo (Line 4890, "AppMain.pas" + 6) + $C
[50BAAB23]{vcl250.bpl } Vcl.ExtCtrls.TCustomControlBar.GetControlInfo (Line 7699, "Vcl.ExtCtrls.pas" + 2) + $1C
[50BAB708]{vcl250.bpl } Vcl.ExtCtrls.TCustomControlBar.DoBandMove (Line 8078, "Vcl.ExtCtrls.pas" + 1) + $17
[50BA95CF]{vcl250.bpl } Vcl.ExtCtrls.TCustomControlBar.AlignControls (Line 6863, "Vcl.ExtCtrls.pas" + 118) + $E
[208A055F]{coreide250.bpl} IDEServices.TIDEServices.QueryInterface (Line 2534, "IDEServices.pas" + 13) + $3
[208A05A1]{coreide250.bpl} IDEServices.TIDEServices.QueryInterface (Line 2543, "IDEServices.pas" + 22) + $10
[50060884]{rtl250.bpl } System.TMonitor.TryEnter (Line 18935, "System.pas" + 10) + $0
[5005FA0E]{rtl250.bpl } System.TObject.GetInterface (Line 17324, "System.pas" + 12) + $8
[5005FA31]{rtl250.bpl } System.TObject.GetInterface (Line 17327, "System.pas" + 15) + $10
[50AE7A16]{vcl250.bpl } Vcl.Controls.TWinControl.AlignControl (Line 9055, "Vcl.Controls.pas" + 9) + $A
[50AE7A72]{vcl250.bpl } Vcl.Controls.TWinControl.Realign (Line 9079, "Vcl.Controls.pas" + 0) + $2
[50AE7A67]{vcl250.bpl } Vcl.Controls.TWinControl.EnableAlign (Line 9073, "Vcl.Controls.pas" + 3) + $6
[004AAD95]{bds.exe } AppMain.TAppBuilder.LoadToolbarStreams (Line 6011, "AppMain.pas" + 34) + $9
[0049FC4B]{bds.exe } AppMain.PostCreateInit (Line 2167, "AppMain.pas" + 70) + $6
[004A00CE]{bds.exe } AppMain.TAppBuilder.CMPostCreateInit (Line 2257, "AppMain.pas" + 4) + $1
[50AE4C5E]{vcl250.bpl } Vcl.Controls.TControl.WndProc (Line 7338, "Vcl.Controls.pas" + 91) + $6
[5006999F]{rtl250.bpl } System.UnicodeFromLocaleChars (Line 39915, "System.pas" + 1) + $F
[50AE9843]{vcl250.bpl } Vcl.Controls.TWinControl.WndProc (Line 10209, "Vcl.Controls.pas" + 166) + $6
[50C28469]{vcl250.bpl } Vcl.Forms.TCustomForm.WndProc (Line 4572, "Vcl.Forms.pas" + 209) + $5
[50AE8E10]{vcl250.bpl } Vcl.Controls.TWinControl.MainWndProc (Line 9908, "Vcl.Controls.pas" + 3) + $6
[5016EBCC]{rtl250.bpl } System.Classes.StdWndProc (Line 17408, "System.Classes.pas" + 11) + $2
[50C31E1F]{vcl250.bpl } Vcl.Forms.TApplication.ProcessMessage (Line 10641, "Vcl.Forms.pas" + 23) + $1
[50C31E62]{vcl250.bpl } Vcl.Forms.TApplication.HandleMessage (Line 10671, "Vcl.Forms.pas" + 1) + $4
[50C32195]{vcl250.bpl } Vcl.Forms.TApplication.Run (Line 10809, "Vcl.Forms.pas" + 26) + $3
[005088F2]{bds.exe } bds.bds (Line 212, "" + 7) + $7
=====
On my system there are 4 'vcl250.bpl' files:
C:\Program Files (x86)\Embarcadero\Studio\19.0\bin
09-03-2018 15:55 4.046.704 vcl250.bpl
C:\Program Files (x86)\Embarcadero\Studio\19.0\bin64
10-03-2018 01:55 5.688.176 vcl250.bpl
C:\Program Files (x86)\Embarcadero\Studio\19.0\Redist\win32
09-03-2018 15:55 4.046.704 vcl250.bpl
C:\Program Files (x86)\Embarcadero\Studio\19.0\Redist\win64
10-03-2018 01:55 5.688.176 vcl250.bpl

I have repeatedly installed and un-installed the software, but the error keeps getting back.
I do hope that someone helps to solve this problem.
Thanks.

Delphi Community Install/Registration failure - by: Kevin

$
0
0
I'm using Win 10-64. I clicked on the link to download the Delphi Community edition and the installer was for Rad Studio. I received a license for "Delphi 10.2 Tokyo Community Edition" via email and that is properly installed according to the "Embarcadero License Management" app, but the license manager wizard keeps popping up with the message "No Valid License information found for Embarcadero Delphi 10.2.

How do I resolve this so that I can run Dephi Community? Do I need a separate serial number/ license for Rad Studio?

Tamil Language (தமிழ்) text was not displaying properly in Android mobile app us - by: Delphi

$
0
0
I'm using Delphi 10.1 for developing android mobile application and I have tried to display Tamil language (தமிழ்) texts in TLabel and TComboBox and it was properly in windows application but it was not displaying properly in android mobile app and should need to add any specific font to display this language. Please help me to fix this. I have raised the question in Stack overflow also .

Also I have tried with this link and all other English style fonts are applied properly but the Tamil Fonts are not applied properly

Editing Properties of Run-time Created Components - by: Karl

$
0
0
I'm using the .create To create a panel with a ComPort Component and Some Buttons and Labels. On form Create I call the function that has all the code to create these components, I am able to trigger events from these components based on private declarations of functions but am unable to edit properties of these components. For Eg, I can't change the Caption of label or the Port of a com port component.

Programming RaspBerry Pi with c++BUILDER 10.2.3 - by: Cherubino

$
0
0
Hi everyone,
I'm trying to compile my first android program with raspberry pi but the compiler gives me an error that I do not understand.
Analyzing the message of the compiler I came to highlight the error show in attached file errore.txt

File Attachment:

File Name: errore.txt
File Size: 4 KB

What can you depend on? I am using the c++ builder 10.2 update 3 enterprise and Windows 8.1
Thanks for the help you can give me.
Best regard
Cherubino

Delphi Community Edition Licence Key - by: Andrew

$
0
0
Hello, I have just downloaded the Delphi Community Edition and it is requesting a licence key as part of the installation.

I haven't received any details regarding this. Do I have to request one or should it arrive automatically? It has been nearly two hours since I downloaded the installation executable.

Thanks.

Converting C# to Delphi This is what i have done, I need your input - by: Flash

$
0
0
I m trying to convert a C# Source code to Delphi, this is a current sample i am trying to work on but i am stacked on the way.

I have been able to generate via Enterprise Architect the Delphi sample code. but can you please assist with some examples of writing the inner statemets of various functions? some examples will be good. I m still new in Delphi and i m trying to implement sample projects.

N.B. I come Accross BabelCode which is not available to dowload. do you know any handy methods of converting C# to Delphi/Pascal??

Below is the C# Source Code:



I want to implement the body of various functions in delphi. this is what i got generated so far.

Code Insight shortcut for Self. ? - by: Robert

$
0
0
I know I can type Self. (Self followed by a period) to request that Code Insight displays a list of components and properties in the current form or object.

Is there a keyboard shortcut that eliminates the need to type Self. to get that list?

I don't want to my final code to to contain "Self."

I want my code to read Button1.Caption. not Self.Button1.Caption. And I don't want to manually delete the "Self." after using it.

ListView is empty on Android - by: Ľubomír

$
0
0
Hi, I did Android app using ListView + database. On Master view I see items /from SQLite/, but if I change view to some Phone, ListView is clear. Same when app is on my Android mobile. If I do win32 app, Listview shows items correctly.
Please help!

using Vb.net dll with Delphi 2010 - by: Shyam

$
0
0
hi,

I'm currently working on one project in which it has a DLL developed in vb.net; we need to use this DLL in delphi and I imported it as com object and ,tlb file was created with success. The component got registered in the palette and all the functions are working normally.

Now the issue is while deploying the application on a different node, I'm getting CLASS not registered error. Can someone help me to overcome this issue.

Thanks in advance..

Reading a database - by: Gary

$
0
0
I'm using C++ Builder 4.0 to develop a program to read a database. (It's a older machine which RAD Studio doesn't work on, and I need to have the entire database read into memory. Its a small database consisting of less than 100 records)

I'm using GetFieldData("FieldName", Result) to read the records.
Regardless of what data type I set Result to, (I've tried AnsiString, char *, and void *) I get the error message " could not find a match for TBDEDataset:GetFieldData(char*, char*)
I don't want to use Lookup or locate in this instance, because all I want to do is read the database and I need to read the entire database.

ListView is empty on Android - by: Ľubomír

$
0
0
Hi, I do android app with database and ListView. It is OK, when I am in Masterview mode, but when I change to Android mobile view, Listview is empty. When app is in my android mobile /Samsung S8/, i dont see items in ListView, but I can click on them. They are unvisible. When I did win32 app, I can see all items.
How can I do items visible?
Thanx.

Delphi XE hangs if I use the Debugger - by: Jürgen

$
0
0
Hello ....
I use Delphi XE. Since I installed Windows 10, 1803, the debugger hangs when I use it. I can only stop the application via the taskmanager.
I have create a Dump-File, but I can't interpreate this Dump.
Perhaps can help me somebody to solve this Problem.
Thanks in advance if you can help me!
Regards Jurgen
Viewing all 3677 articles
Browse latest View live


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