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

Delphi usage statistics question - by: Cuthitakhulican

$
0
0
Could someone explain me the fact - Delphi is mostly used in Russia? (illegal-torrented versions). Why?

Delphi Community Edition - unable to build 64-bit Windows target - by: David

$
0
0
I'm trying to build a project with 64-bit Windows as the target, but I'm getting this error message:

"Unable to create process: The system cannot find the file specified."

However, when I specify 32-bit Windows as the target, it builds and runs successfully. Here are the lines in the .dproj file:



And in the Project Manager, I see both targets listed. Is there something else I need to do?

Thanks.

Why does Delphi IDE freezes itself over clipboard? - by: lukasz

$
0
0
When I copy to clipboard some text from SourceTree (code with git merge info added) and then switch to Delphi it freezes for half a minute, even longer when I happen to copy something larger (like .exe).
Only program I've seen doing that, is there any good explanation?

Semi Dedicated ASP.NET serviçe with MSSQL database - by: Manuel

$
0
0
Hi
I have a online MVC server with a MSSQL database now i need to make a Android and windows interface that in case i lose connection to server database i save local and update database online. what solution i can use for this. Datasanp! but i can´t install .exe online.
Thank you

community version compiled program got time limits for using? - by: rex

$
0
0
community version compiled program got time limits for using?

64 bit debugger halts - by: Bela

$
0
0
Hi there!

I've just installed Delphi 10.2, and I'm facing an issue I cannot cope with. To be frank, this same issue would always happen when I had Delphi XE6 installed on my machine, and that was one of the reasons why I decied to upgrade...

Everytime I start debugging a 64bit app, the ide freezes, and can't do anything but end the debugger kernel (dbkw64_25_0.exe). Then I receive a message from the ide about 'disconnected session', of course...

My machine has 64bit Windows 7 OS on it.

I already experimented with changes that seemed trivial to me, like turning of AV, firewall, messed around with UAC settings, but nothing seemed to help. After pressing F9 in the ide, the Embarcader Debugger Kernel starts, but immediately stops as if it was waiting for something, or something would block it. CPU usage is at 0% in the Task Manager Window.



Can anyone help me, please?

DELPHI code - by: Samir

$
0
0
Hi all,
We have a Delphi program (functional but not pretty) that has the heart of our business logic. We want to present this through a fresh new UI through a (.NET) web app while utilizing the existing Delphi business logic.What are some of the best practices to do that. Has anyone here successfully used a Delphi DLL in a .NET web app? We also explored an optionoption to expose the Delphi program as a SOAP service. However, we don't see the SOAP option in our trial Delphi IDE- that only part of purchased product? Welcome any thoughts and suggestion. Happy to provide more clarify.

Thanks

How do download a csv or text file using the FMX.TWebBrowser for MacOS - by: Robert

$
0
0
To have my program log into Mint.com, I had to set the registry to use IE 10 to have enough security to log in on Windows use the FMX.TWebBrowser. I work fine.

When it comes to MacOS though, it logs in and displays the site fine. No security issues. But I can't seem to download my transactions. The URL is " mint.intuit.com/transactionDownload.event ." On Windows, it prompts and downloads the CSV fine after asking the user. But on Mac, it just opens the file and displays it in the Browser. I have tried 'Right-Clicking' and 'Download Linked File,' and open in a new Windows and nothing happens. I am guessing this is the default behavior of the FMX web browser for Mac.

Are there any settings, like in Windows Registry, that will allow me to download text files on the Mac?

creating Delphi exe in Debug Mode 64bits - Error on "w64mgr.cpp" unit - by: Emailx45

$
0
0
How did everything happen?
- Windows 10 Pro 1803 build 17134.167
- AVG Internet Security 2018
- RAD Studio XE10.2.3 Arch
- Project VCL "MDI Application wizard" from Delphi

Seeing several reports of errors when debugging projects in Delphi in 64bit, I decided to do the following test:

1 - File, New, Others, Delphi Projects, MDI Application (-> VCL project)
2 - Target Platform: Win64
3 - press F9 (run with debug)
4 - AVG Int. Security 2018 ask permission to execute Dbkw64_25_0.exe and ADB.exe (but my project is VCL not Firemonkey)
5 - compilation ok, and when will it run ...
6 - this message appears

NOTE:
The 64bit executable is usually created in the Debug folder (64bit), and can be run directly by Windows Explorer without any apparent error.

Only when run by Delphi in Debug mode is it shows the error and ends with the message below.

Debugger Assertion Failure "apiOK" in ..\win32src\w64mgr.cpp at line 79

-- BUT this where is the file "w64mgr.cpp" in RAD Studio? dont exist!


[203B6D80]{dbkdebugide250.bpl} Debug.TDebugKernel.msgBox (Line 5945, "Debug.pas" + 30) + $0
[04406EB3]{bordbk250.dll} Unknown function at DllUnregisterServer + $5037
[044237D6]{bordbk250.dll} Unknown function at @isDbkLoggingOn$qv + $98FE
[044B7FC9]{bordbk250.dll} Unknown function at @isDbkLoggingOn$qv + $9E0F1
[0441A660]{bordbk250.dll} Unknown function at @isDbkLoggingOn$qv + $788
[0441A6DB]{bordbk250.dll} Unknown function at @isDbkLoggingOn$qv + $803
[044B17AD]{bordbk250.dll} Unknown function at @isDbkLoggingOn$qv + $978D5
[0456B134]{bordbk250N.dll} Unknown function at @isDbkLoggingOn$qv + $302BC
[0453DBB5]{bordbk250N.dll} Unknown function at @isDbkLoggingOn$qv + $2D3D
[04571FB3]{bordbk250N.dll} Unknown function at POSTEDHOOKPROC + $113F
[0457176F]{bordbk250N.dll} Unknown function at POSTEDHOOKPROC + $8FB
[500678A9]{rtl250.bpl } System.@IntfCopy (Line 37286, "System.pas" + 6) + $0
[044C0CC5]{bordbk250.dll} Unknown function at @isDbkLoggingOn$qv + $A6DED
[0440908C]{bordbk250.dll} Unknown function at DllUnregisterServer + $7210
[044BF91B]{bordbk250.dll} Unknown function at @isDbkLoggingOn$qv + $A5A43
[044B214A]{bordbk250.dll} Unknown function at @isDbkLoggingOn$qv + $98272
[044B2AA4]{bordbk250.dll} Unknown function at @isDbkLoggingOn$qv + $98BCC
[044B28D3]{bordbk250.dll} Unknown function at @isDbkLoggingOn$qv + $989FB
[044B2033]{bordbk250.dll} Unknown function at @isDbkLoggingOn$qv + $9815B
[044B1999]{bordbk250.dll} Unknown function at @isDbkLoggingOn$qv + $97AC1
[044B1521]{bordbk250.dll} Unknown function at @isDbkLoggingOn$qv + $97649
[04407AEC]{bordbk250.dll} Unknown function at DllUnregisterServer + $5C70
[203B5A77]{dbkdebugide250.bpl} Debug.TDebugKernel.CreateProcess (Line 5464, "Debug.pas" + 17) + $63
[203BD534]{dbkdebugide250.bpl} Debug.TProcess.CreateProcess (Line 9035, "Debug.pas" + 1) + $2D
[203C4535]{dbkdebugide250.bpl} Debug.TDebugger.DoCreateProcess (Line 11955, "Debug.pas" + 74) + $24
[203C46D0]{dbkdebugide250.bpl} Debug.TDebugger.CreateProcess (Line 11982, "Debug.pas" + 7) + $2F
[203C5203]{dbkdebugide250.bpl} Debug.TDebugger.Run (Line 12391, "Debug.pas" + 23) + $33
[203C5F27]{dbkdebugide250.bpl} Debug.TDebugger.Run (Line 12755, "Debug.pas" + 164) + $4D
[203BFDF6]{dbkdebugide250.bpl} Debug.TDebugger.Run (Line 10366, "Debug.pas" + 0) + $2
[20841A05]{coreide250.bpl} DebuggerMgr.TDebuggerMgr.Run (Line 2050, "DebuggerMgr.pas" + 4) + $F
[004A2CE7]{bds.exe } AppMain.TAppBuilder.RunRun (Line 3257, "AppMain.pas" + 0) + $7
[5016DE67]{rtl250.bpl } System.Classes.TBasicAction.Execute (Line 16904, "System.Classes.pas" + 6) + $1
[50ACDD82]{vcl250.bpl } Vcl.ActnList.TCustomAction.Execute (Line 260, "Vcl.ActnList.pas" + 19) + $35
[5016DCD3]{rtl250.bpl } System.Classes.TBasicActionLink.Execute (Line 16813, "System.Classes.pas" + 3) + $3
[50AE51B4]{vcl250.bpl } Vcl.Controls.TControl.Click (Line 7452, "Vcl.Controls.pas" + 7) + $7
[50B63D84]{vcl250.bpl } Vcl.ComCtrls.TToolButton.Click (Line 21638, "Vcl.ComCtrls.pas" + 0) + $0
[50AE5687]{vcl250.bpl } Vcl.Controls.TControl.WMLButtonUp (Line 7593, "Vcl.Controls.pas" + 7) + $6
[50AE4C5E]{vcl250.bpl } Vcl.Controls.TControl.WndProc (Line 7338, "Vcl.Controls.pas" + 91) + $6
[5005FD9F]{rtl250.bpl } System.TObject.Dispatch (Line 17812, "System.pas" + 11) + $0
[0C068A76]{themeloader250.bpl} Idetheme.Vclstylehooks.TIDEStyleHook.WndProc + $7A
[50067898]{rtl250.bpl } System.@IntfClear (Line 37239, "System.pas" + 10) + $0
[0C06852B]{themeloader250.bpl} Idetheme.Vclstylehooks.TIDEStyleHook.HandleMessage + $B7
[50067898]{rtl250.bpl } System.@IntfClear (Line 37239, "System.pas" + 10) + $0
[50063F40]{rtl250.bpl } System.@FinalizeArray (Line 32154, "System.pas" + 139) + $0
[50AE4898]{vcl250.bpl } Vcl.Controls.TControl.Perform (Line 7116, "Vcl.Controls.pas" + 10) + $8
[50AE8F06]{vcl250.bpl } Vcl.Controls.GetControlAtPos (Line 9931, "Vcl.Controls.pas" + 4) + $75
[50AE8FCE]{vcl250.bpl } Vcl.Controls.TWinControl.ControlAtPos (Line 9954, "Vcl.Controls.pas" + 13) + $E
[50AE4898]{vcl250.bpl } Vcl.Controls.TControl.Perform (Line 7116, "Vcl.Controls.pas" + 10) + $8
[50AE909C]{vcl250.bpl } Vcl.Controls.TWinControl.IsControlMouseMsg (Line 9978, "Vcl.Controls.pas" + 15) + $29
[50AE96A4]{vcl250.bpl } Vcl.Controls.TWinControl.WndProc (Line 10155, "Vcl.Controls.pas" + 112) + $6
[50B65EA9]{vcl250.bpl } Vcl.ComCtrls.TToolBar.UpdateButtonState (Line 22916, "Vcl.ComCtrls.pas" + 11) + $27
[50B65EEA]{vcl250.bpl } Vcl.ComCtrls.TToolBar.UpdateButtonStates (Line 22927, "Vcl.ComCtrls.pas" + 3) + $4
[50B68918]{vcl250.bpl } Vcl.ComCtrls.TToolBar.WndProc (Line 24512, "Vcl.ComCtrls.pas" + 104) + $6
[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

Installing - by: Jim

$
0
0
I use Delphi 10.2 and was using Fast Report 5 enterprise. I upgraded to Fast Report 6 enterprise. All the FR components seem to be included in the pallette across the top of the IDE, but there are empty FR5 tabs still there. Also, when I open the tool pallette, some tabs and components are not shown. Fast Report support tells me to reinstall the IDE. Does that mean that I should reinstall Delphi (out of the question) or is it possible to reinstall the IDE? I'm not sure what they are talking about.

Thanks,
Jim Sawyer

Hello World Android API 26 crashing on Galaxy S8 Active - by: Lance

$
0
0
Due to the Android Store requiring all new apps by August to be at API 26, I've done the following:
I've installed the NDK r17b 32 bit.
I've updated the SDK manager to include API 26.
I've exported the default Android SDK file, copied it and edited to reflect the r17 / 26 appropriate pathings.
I've created a header/footer example FMX project.
I've changed the manifest to be 14 for the minimum version and 26 for the target.
If I set the Android SDK to the original, the project builds and goes to my S8 Active and runs fine.
If I set the Android SDK to the 26 API, it crashes.

Am I missing something that needs to be changed?

I do hope that Delphi 10.3.0 installs and targets 26 out of the box instead of 14 due to the changes and then let users add back the older API's if needed. It would make sense for a lot of people that get Delphi to be able to submit an app out of the box.

Unicode Emoji - by: Simon

$
0
0
Displaying the following string of unicode characters
⛔ ✔ ❓ ❌ ❗ ⚠ ℹ 
#$26d4 + ' ' + #$2714 + ' ' + #$2753 + ' ' + #$274C + ' ' + #$2757 + ' ' + #$26A0 + ' ' + #$2139 + ' ' + #$1F6C8

Display is colour in a browser and in One Note, but display in monochrome in Word and Delphi Firemonkey memo. In both Word and DelphiI have tried Arial, Sergoe UI Emoji and various other fonts (in Word i tried all fonts installed), but all display in monochrome. Attached is a combined screenshot of the results.

How can colour display of these symbols be achieved in Delphi?

C++ Community Edition - by: Gregg

$
0
0
I have been a registered Delphi User since Delphi 3 and use Delphi almost exclusively. But occasionally I 'dip' into C++, I cannot justify the cost of RAD Studio (although I do have a registered version of RAD Studio XE) so my use is restricted to the C++ in the RAD Studio XE version I have. Life (and C++) has moved on and I thought that the release of the Community version of C++ would give me the opportunity to relearn and improve my C++ skills. Unfortunately, it appears that the Community version of C++ cannot co-exist with a registered Professional version of Delphi.
This is a shame, is not possible to allow a valid license for Delphi Pro, Enterprise etc. to activate a License for C++ Community and indeed vice versa for C++ registered users.

Delphi Community Version Install Fail 12029 - by: rex

$
0
0


Delphi Community Version Install Fail 12029.

First-time installation success, but wrong directory then uninstall all.
2nd-time install fail.
after that try to install all same error message.

Delphi Community Version Install Fail 12029 - by: rex

$
0
0
Delphi Community Version Install Fail 12029

first installation success, but wrong drive.
uninstall all.
2nd install to D drive, fail

Unicode symbols in colour - by: Simon

$
0
0
If these characters ⛔ ✔ ❓ ❌ ❗ ⚠ ℹ  are output in a browser on One note they display in colour. But if they are output in Word or Delphi FireMonkey Memo they display in monochrome. See the attached combined screenshots. I have read that font Segoe UI Emoji needs to be used, but that does not seem to make any difference.

How can unicode symbols be displayed in a Delphi app in their color representation as they do in a browser?

Finding offset in source for Grijjy error reporting - by: Robert [NL]

$
0
0
I'm using Grijjy error reporting for android and ios fmx development, but find it difficult to find the exact location of an error.

E.g. I get "At address: $CBD4903A (Mainappfrm.TMainAppForm.TopFrameLogoImageClick(TObject*) + 85)"
How do I find offset 85 in my source code? Where do I have to start counting (begin statement, first statement, var block?), do I have to skip CRLF, spaces, comments while counting? Should i turn the optimalization compiler switch off?

Kind regards,
Robbert

Indy10 latest build for Delphi Tokyo - by: WIS

$
0
0
Hi!

I read in forums.embarcadero.com/thread.jspa?messageID=931083󣔋 that it is OK to just download the latest ZIP from indy.fulgan.com/ZIP/ and simply add the search paths (at the end of search paths) for the lib\Protocols, lib\Security, lib\Core and lib\PRotocols to the current project.
That's to test before I change the whole IDE.

The problem: It doesn't compile with error messages in IdSSLOpenSSLUtils.pas:
[dcc32 Fehler] IdSSLOpenSSLUtils.pas(724): E2033 Die Typen der tatsächlichen und formalen Var-Parameter müssen übereinstimmen
[dcc32 Fehler] IdSSLOpenSSLUtils.pas(730): E2003 Undeklarierter Bezeichner: 'TIdTextEncoding'
[dcc32 Fehler] IdSSLOpenSSLUtils.pas(979): E2003 Undeklarierter Bezeichner: 'RSOSSLAlert'
[dcc32 Fehler] IdSSLOpenSSLUtils.pas(984): E2003 Undeklarierter Bezeichner: 'RSOSSLReadAlert'

What am I doing wrong?

Addnedum (working in a VirtualBox, triying with a snapshot): I tried removing the pakcages from Delphi's IDE and removing the source files from Embarcadero's installation and then compiling each package in order. Already the first one failed with IndySystem250.dpk not compiling because "it cannot be compiled but is required by Delphi10.2". I gave up here.

The main reason why I am trying all of this is to read a PKCS 12 file and get the serial number from that file.

Any hints are appreciated.
Stefan

How to debug Delphi - by: Connie

$
0
0
I am working with developing some in house components, which, of course, is producing errors when used on a form.
So I want to debug them but can't figure out how to do that.
I have set the host application for my component library to be delphi, but when I attempt to run, I just get the delphi splash screen and nothing else.
host application:
C:\Embarcadero\Studio\19.0\bin\bds.exe

no other parameters.
run, splash screen flashes, then shuts down.
new bds instance is not showing in task bar.
Using Delphi 10.2

Delphi 10.2.3 + Push Notification + Firebase - by: Fabricio

$
0
0
Hi,
Delphi 10.2.3 + Push Notification + Firebase

Does anyone know of any solution that works?
Regardless if the application is open or closed?
How do I close the notification when I click it?

Thanks,

Fabricio
Viewing all 3677 articles
Browse latest View live


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