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

Problem loading data -- RAD Studio Platform Selection

$
0
0

I am evaluating your product 'RAD Studio 10.2' with my office PC. The following problem appears when I start the software.

 

'Problem loading data'

Cannot load data from the server: Error sending data: (12002) The operation timed out

 

I suspect that it is a web-proxy-related issue because Internet access of the PC is controlled. How should I solve the problem?


Ribbon Quick Access Toolbar items visibility issue

$
0
0

Ribbon Quick Access Toolbar items icons are not visible in C++ project while it works fine in Delphi project:

TSQLConnection without driver in registry on workstation

$
0
0

RX10.1 Enterprise

Windows 7 and 10.

 

I'm trying to establish an odbc connection to a SQL Anywhere  server. I'm hoping to do this completely DSN-free, and without having to set the "SQL Anywhere 11" odbc registry entry.

With FireDAC, if the drivers are installed (in registry) on the workstation, I can override the VendorLib and point to a different path to find the dll.

In a similar fashion, if the drivers are not actually installed (nothing in registry) on the workstation, I can set

    FDPhysODBCDriverLink1.VendorLib:=\\server\folder\driver.dll

 

and connect to the database.

 

There doesn't seem to be any way to do this with DBExpress.

I've tried setting VendorLib in SQLConnection.Params, and setting the deprecated VendorLib value directly, as well as quite a number of variations.

If the DriverName is not already set in the registry, I keep getting  "Data source name not found and no default driver specified".

Is there any way to tell TSQLConnection where to find the vendor lib at runtime, as opposed to giving it a driver name that already exists in registry?

 

TIA.

 

Cheers,

EdB

Characters of foreign languages (German Umlaute) in 64Bit app

$
0
0

Hi,

I do have problems in displaying German characters (Umlaute as in my last name) but only when I use 64bit Windows as target OS. In the 32bit version it's correct. French, Arabic... software should have the same trouble.

These not English characters are not displayed properly, they will be corrupted. Not in all cases. If the text comes from an edit field, it is correct, but not when it is set by code and displayed for instance in a label or message box. Setting captions manually is ok.

And: Does anyone have got this silly error message?

[ilink64 Fehler] Error: Unresolved external 'WinMain' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\17.0\LIB\WIN64\RELEASE\C0W64.O

The file exists, Aug 27, 2015 00:55, 3984 bytes.

I'm using Embarcadero® C++Builder 10 Seattle Version 23.0.20618.2753 and Windows 10.

Thanks,

Andreas Schäfer (Schaefer)

Germany

 

 

AbsoluteRect problem in 10.2 Tokyo on Android

$
0
0

I have a problem in Rad Studio 10.2 Tokyo on Android. The property AbsoluteRect of a TEdit control doesn't work correctly. It worked in 10.1. I tried the ScrollableFormDemo in 10.2 and scrolling doesn't work (worked in 10.1). Does anybody know a solution?

GotoBookmark issue

$
0
0

I receive the error  message [dcc32 Error] unt1.pas(38): E2010 Incompatible types: 'System.TArray' and 'Pointer' at the  GotoBookmark(pointer(DBGrid3.SelectedRows.Items[i])); I try with format:  dbgrid3.DataSource.DataSet.GotoBookmark(pointer(DBGrid3.SelectedRows.Items[i])); But I receive the same error message.   Can you help me about that please.   Thanks

Component Accessibility for an RPA Application

$
0
0

We are currently working on Delphi 2007 however we plan to upgrade to the latest version sometime next year. We are currently exploring the option to implement an RPA (Robotic Process Automation) solution that can interact with the application developed in Delphi 2007 we have at our company.

Reading few bogs I identified the below

“The VCL itself does not natively implement any support for MSAA. Windows provides default implementations for standard UI controls, which many standard VCL components wrap. If you need more MSAA support than Windows provides, you will have to implement the IAccessible interface yourself, and then have your control respond to the WM_GETOBJECT message so it can return a pointer to an instance of your implementation.”

 

Having implemented the MSAA support for the application, we were able to capture the control names in Blue Prism (RPA Application we are working on). However, it was identified that that control name appears in the Parent Name Property rather than the Child Name Property. See attached Image.

The code to implement the accessibility was followed from the below link.

Creating accessible components in Delphi:

https://stackoverflow.com/questions/16320914/creating-accessible-ui-components-in-Delphi

 

 

Few questions on the above

1) Does the latest version of Delphi support MSAA?

2) How can we have the control name available in the Child Name Property rather than the Parent Name Property?

 

Properties Image

TIdSNTP returns date in the future (2025)

$
0
0

I am using TIdSNTP to sync with time.nist.gov.  Somehow I am seeing dates from 2025 and 2027.  Has anyone seen this and if so what is the work-around/fix?   Thanks, Rex 


No FireDAC in RAD Studio 10.1 Berlin Architect Trial ?

$
0
0

Hi,

I just installed RAD Studio 10.1 Berlin Architect Trial, but when trying to open sample project Object Pascal\Database\FireDAC, i get many error messages like : "TFDMemTable class not found ...".

Isn't FireDAC enabled with RAD Studio Trials ?

 

Delphi 10.2 Tokyo: Components do not show some images from TimageList on Android

$
0
0

 

I tried to compile and run original sample application on Android tablet - “ListVieImageIndex”. I found out that some rows of TlistView did not show any picture. Then I created simple program with several buttons, which give image from TimageList and behaviour for similar – some buttons were without image.

Same applications compiled in Delphi 10.1. Berlin work well.

Next problem with Delphi is caused by version of Android. It is not possible on Android v.7 to debug a program, because after installation on Android and start process launching is debugging stopped with error: “run-as: Could not set capabilities: Operation not permitted”.

 

 

 

 

 

 


 

 

Delphi 10.2 Tokyo: Components do not show some images from TimageList on Android

$
0
0

I tried to compile and run original sample application on Android tablet - “ListVieImageIndex”. I found out that some rows of TlistView did not show any picture. Then I created simple program with several buttons, which give image from TimageList and behavior was similar – some buttons were without image.

Same applications compiled in Delphi 10.1. Berlin work well.

Next problem with Delphi is caused by version of Android. It is not possible on Android v.7 to debug a program, because after installation on Android and start process "launching", is debugging stopped with error: “run-as: Could not set capabilities: Operation not permitted”.

[dcc64 Hint] H2161 Warning: Duplicate resource

$
0
0

Since upgrading my FMX project from XE8 to Delphi 10 Seattle I am getting the following warning:

[dcc64 Hint] H2161 Warning: Duplicate resource:  Type 12 (CURSOR GROUP), ID 32761; File c:\program files (x86)\embarcadero\studio\17.0\lib\Win64\release\Controls.res resource kept; file c:\program files (x86)\embarcadero\studio\17.0\lib\Win64\release\FMX.Controls.Win.res resource discarded.

How do I resolve this warning?

Time Sync with TIdSNTP

$
0
0

I am seeing dates far in the future (2025) when using TIdSNTP over a long period of time and with time.nist.gov.  Has anyone seen anything like this?  I am trying to determine if this is TIdSNTP, my app, or nist having an issue.

Thanks in advance.

Rex

TDateEdit raise access violation after pick a new date (FMX)

$
0
0

I can't use (Firemonkey) TDateEdit in C++Builder 10.2. After selecting a new date in picker window, the component always raises this exception: $C0000005 with message 'access violation at ... read of address 0x000000e0'  

10.2 Tokyo false keyboard size

$
0
0

On android devices in virtualkeyboardshown event the keyboard bound is incorrect with 10.2 Tokyo. So the scrollableform demo doesn't work. On my test device it says the rect top is 508 and the bottom is 533 (533 seems to be correct, screen scale is 1.5 and screen height is 800). Is there another way to get the virtual keyboard size?


10.1 Debugger not showing structure or value of variables

$
0
0

Hi,
I have a program that was written in the 7.0 debugger, however when I open that program in the 10.1 debugger, I can't view the structure of the program. I tried creating a new project and importing the files but the result was the same. The other error is that the program refuses to show the values of variables while debugging (with breakpoints). I can't really write everything from scratch again as a) the program is not mine, I have to edit it. (b) it is a very huge program and writing it again as well as designing the forums will set me quite a bit. Is this a bug or is the debugger just not compatible with the older versions? (Which is very infuriating) if this is the case, can someone please link me to the 7.0 debugger as I can't find it anymore.

How to see debugger window in breakpoint?

$
0
0

Hi

I created an application in Delphi 10.1 Berlin and when I try to debug and stop with a breakpoint, it does not show the debugger window,

I can't use the F8 or F7 keys either.

I run in debugg mode and it stops when the breakpoint is reached, but it doen't show the apropiate debugger interface.

How to solve this issue?

I am working under windows 10 Pro enviroment.

Thanks for help.

FireDAC Components RAD XE4

$
0
0

FireDAC components do not show in IDE even though the /SHOWIDE was used in RAD XE4

My code is causing external exceptions. I am getting the exception dialog, but when I select "break" the code window does not go to the line of code that caused the exception. It was working properly for a while. Now the code window shows only what I manually open. If I don't open any files, I just get the welcome page. Did I change a setting somewhere?

$
0
0

My code is causing external exceptions. I am getting the exception dialog, but when I select "break" the code window does not go to the line of code that caused the exception. It was working properly for a while. Now the code window shows only what I manually open. If I don't open any files, I just get the welcome page. Did I change a setting somewhere

how to use PerspectiveTransformEffect

$
0
0

Hello there

I have a PerspectiveTransformEffect that I have in hand for the sample application.

I would like to use this effect by entering manual values through the program

Viewing all 1888 articles
Browse latest View live


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