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

Delphi Certificate Error ? - by: Christopher

$
0
0
I've just started getting certificate errors on Delphi Tokyo current version.


(FireDAC) FDEventAlerter causes application to freeze when destroyed - by: Raphael

$
0
0
Hi, I'm using a FireDAC TFDEventAlerter to be noticed of certain events happening in the database, it works fine but sometimes when I close my application (which causes the event alerter to free itself) the application freezes. I'm using Delphi 10.2 Tokyo

We've tracked the source of the infinite loop to this mehod:
unit FireDAC.Phys.ADS.pas
procedure TFDPhysADSEventAlerter.InternalAbortJob;
begin
if FWaitThread nil then
begin
FWaitThread.Terminate;
InternalSignal(C_WakeUpEvent, Null);
FWaitCommand.AbortJob(True);
while FWaitThread nil do
Sleep(1);
end;
end;

It seems the condition FWaitThread nil is never satisfied. As I said before, this problem happens randomly, I programmed a loop to try and reproduce the problem more systematically by creating and freeing an EventAlerter many times in a row in a simple project and was able to reproduce the freeze a few times when running it for hundreds of iterations. However, it seems that the problem is more frequent when the event alerter is being freed when closing the application. This is a big problem for me because I can't deliver an appllication that randomly freezes when closed, forcing the user to stop the process with the task manager.

I found another post in which the poster had a similar problem, the proposed solution was to make sure to Unregister the event alerter before closing the DB connection but for me, it didnt seem to change anything.

Thanks in advance,
Raphael.

Tokyo 10.2.3 Certificate error - by: David

$
0
0
I am continually getting a certificate error popping up in the IDE.
Is this a general issue or just me?

Where is the new forum? Have I missed something? - by: Gord

$
0
0
I have been out of touch for a few months so I am not up to date. But last I remember, Embarcadero was going to replace the forums with something much better after cancelling the the standard forums everyone used. Has this happened yet? What is the status?

Certificate error - by: Joao

$
0
0
I'm getting certificate errors using Delphi CE

Lost Topic - BLE notifications corrupted data - by: Neil

$
0
0
I had posted about BLE characteristic returning extra bytes
When parsing characteristic value, there are 3 bogus bytes every so often within the data.
Received in Delphi then using GetValueAsInt8 converted to hex string
010000010100FFFFFF8002000000FFFFFFC0FFFFFF8E00000000000000
020000010200037F000000FFFFFF8022000000FFFFFF80510100
What see using BLE tool nRF Connect
0100000101008002000000C08E00000000000000
020000010200037F000000802200000080510100
(Original link community.embarcadero.com/answers/my-que...tions-corrupted-data )
which seems to have disappeared. I recently revisited the issue and found that it was actually with IntToHex
HexStr := HexStr + inttohex(ACharacteristic.GetValueAsInt8(I),2);
was returning 8 characters not the 2 requested. But only for bytes with msb set, i,e, negative int8 values. Using GetValueAsUint8 eliminated the issue.

Creating a REST Server for large images - by: Jenny

$
0
0
I am looking for resources on how to create a REST Server with Delphi that can handle large image uploads and downloads. The concept would be to upload a large image to the server which processes it and then return the resulting image for download back to the client. I understand that large images need to be uploaded or downloaded in chunks but I have not found a good example on how to do this.

Someone suggested that I look at the opensource MARS for this, but there was no example on how to do the above with it.

I would appreciate it if anyone has any resource on this or if there is any code snippet on how to do this to get me going with this endeavor.

Thank you in advance.

Jenny

Delphi 64-bit debugging - by: Jim

$
0
0
If I start a new EXE project with the default Debug config, the debugger will stop at breakpoints in source.

But if I do anything involving calling a DLL or building with runtime packages, the debugger only stops in the CPU window and I can't back to debugging in the source code. (Oddly breakpoints in the DLL project do come up in source.)

Example: in a new VCL Forms app, add "Caption = 'something';" in FormCreate. I can break on that line and even step into the Controls unit. But enable runtime packages with just "rtl;vcl" and it no longer works.

Why is this happening?

Delphi 10 Seattle Update 1
Windows 10 64-bit

Thanks, Jim

Rad Server Production Installation on Windows IIS - by: Randy

$
0
0
I created a fresh windows server 2008 R2 64 bit with IIS 7.5
Installed Interbase 2017 with trial license for now.
configured using EMSDevServer
Followed the instructions to a tee (As far as I know) from here - docwiki.embarcadero.com/RADStudio/Tokyo/...vironment_on_Windows

when I browse to http://localhost:8080/EMSServer/emsserver.dll/version I get a 404.0 error with code 0x80070002
Also get EMS Error:Not found when I test connection with a TEMSProvider.
What am I missing or how do I track this down? Thanks.

CurrentDir not working - by: Serhij

$
0
0
my program is NOT changing the currentdir in no way, i tries everything on earth. it just f... just replaces the CurrentDir path with exe dir. i'd like to avoid openfile and savefile dialogues.
what to do???? i read over 9000, nothing helped.
delphi =win= 10

chm & hlp help fiels - by: Robert

$
0
0
Have both help files. Call help from procedure. Depending on Win version want to call required help.
Looked at winosversion.pas, versionhelpers.pas and USOInfo.pas. They looked for non-existant dcu and error. Catch 22. I put these files in \Source\Rtl\Sys and it blew up on errors in sysutils.pas..
What is best least complicated way to get OS version ?

Firemonkey Stretch Video and Image in MediaPlayerControl1 and TImage - by: matrix

$
0
0
How can I stretch image and video in my application (windows) on FMX?

In VCL, I can simply set a Stretch property: = True; in both components
In FMX there is no Stretch property ...

I searched on google and no solutions ...
Can someone help me?

Delphi 7 and Embed .mdb Database - by: Tobias

how to fix several errors - by: Gary

$
0
0
I've run into a problem trying to compile a C++ Builder 4.0 program.
I've attached two files describing my problem.

The document.rtf file contains the errors.
The prg.rtf file is a snippet that is causing the errors.

Now, before you start typing, read carefully! During my programming session, the program compiled finely without a hitch. It was after I made a change to the Record struct structure that the problem began. I added in the Page data member, whereas before I didn't have the Page data member then all the problems popped up.

My question is WHY? and how do I solve them?

Delphi Community Edition broke D2009 - by: Laszlo

$
0
0
Hi all,
After installing Delphi CE my D2009 Pro stopped to work. It missed Borland.Build.Tasks.Common.dll. I tried a few things, finally uninstalled Delphi CE and repaired D2009 installation. After that D2009 asked me to register. When I gave the details it said that already registered. It's true I have done it. So what do now?

New error in Tokyo - by: Jim

$
0
0
Have code that works in XE:

funcExpectingPointer( @funcReturningValue() );

I.e., taking the address of one function result and passing it directly to another function.

This produces "E2036 Variable required" in 10.2.3. Is this no longer allowed or is there a compiler directive to enable it?

Thanks.

ListView item background - by: Ľubomír

$
0
0
Hi, is it possible change background color for MORE items of ListView? If yes, how?

The res file loading problem. - by: Serhij

$
0
0
I was trying to load my JPEG from a .res file into an Image control. How to do this?
I tried image.picture.bitmap.loadresourcename but seems like it's not good.
why there is no usefull help topic about creating and loading different resources in the Delphi Help?

Debugging Delphi 7 DLL through Delphi 10 Seattle host application - by: Samuel

$
0
0
I have written a FireMonkey application in Delphi 10.0 Seattle that dynamically loads a DLL written in Delphi 7. That DLL has a VCL Form. When I run the application, it works fine.

When I try to debug the DLL in Delphi 7 (with the Host application pointing to the FireMonkey application), the problem starts. The VCL Form is created and shown, but it keeps changing focus with Delphi 7. When I click on the Form's icon in the Windows Taskbar, it stops changing focus, but the keyboard and mouse actions don't work properly. I can't type in Edit controls, or click on a ComboBox and keep it dropped down.

Should I configure something different to debug in this scenario, or this won't work at all?

TChart Missing - by: Earl

$
0
0
I had some issues with C++ Berlin, Update 2, so I reinstalled it using the Embarcadero website. After the installation, I no longer have the TeeChart components.

How can I recover the TeeChart components?

Earl Staley
Viewing all 3677 articles
Browse latest View live


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