Questions tagged [delphi-10.1-berlin]

Delphi 10.1 Berlin is a specific version of Delphi released in April 2016.

Delphi 10.1 Berlin supports development of applications covering Windows 32-bit and 64-bit, 32-bit, 32-bit and 64-bit, and 32-bit. Windows applications may be built using either the framework or the (FMX) framework, whereas the rest of the supported platforms are built under the Firemonkey framework only.

Always use the tag alongside this tag.

580 questions
0
votes
1 answer

What is the Delphi 10 equivalent to DesignIntf?

Just updated the SynEdit RunTime module for Delphi 10.1 Berlin, but now I need to update the DesignTime Module... The Designer units from Delphi XE versions do not appear to be available in 10.1. What is the recommended Design Editor and Interface…
Joseph Poirier
  • 386
  • 2
  • 17
-1
votes
2 answers

Using a set of TImage to find a particular Image

I have a VCL form with a left panel with 24 images (imA1 .. imA24) of TImage and a right panel with 30 images (image25 .. image53) of TImage. All images are 100 x 150. These images may load pictures of 100 width, but of different height. The plan is…
Fred
  • 23
  • 4
-1
votes
1 answer

Use of multithreading to put an animated GIF image on the VCL

I want to show a (animated) GIF in a TImage (GIF) while the main programming is running. Right now, either the main program waits for the GIF, or the GIF is waiting for the main program (thread) before showing. My idea is that the GIF Image should…
Fred
  • 23
  • 4
-1
votes
1 answer

Problem using java .jar library in delphi android aplication

I am trying to use java API in an Delphi android application to access and control android PDT devices scanner service. Some time ago, I already had a similar problem for a different device, but then it was much simpler and straightforward. All…
LongBeard_Boldy
  • 802
  • 8
  • 20
-1
votes
1 answer

Reproducible error with Winapi.ShlObj.SHGetFolderPath

With this code I get an AV: uses Winapi.ShlObj; function GetUserAppDataPath: string; var ThisPath: PWideChar; begin if Winapi.ShlObj.SHGetFolderPath(0, CSIDL_APPDATA, 0, SHGFP_TYPE_CURRENT, ThisPath) = S_OK then Result :=…
user1580348
  • 5,721
  • 4
  • 43
  • 105
-1
votes
1 answer

Delphi dynamic array SetLength crash

I'm using Delphi 10.1 and Windows 10, with all current updates. My application uses and re-uses a large number of dynamic arrays, 50 or more, each having up to 5,000 elements. During execution, these arrays are cleared using either…
mfiring
  • 1
  • 2
-1
votes
2 answers

Delphi, edit Auto-Complete access violation in tenumstring at TPointerlist()

In this autocomplete example by @KenWhite, the Next function has an access violation when TPointerList()[] is called ( by the windows autocomplete interface.) D10.1u2, Win10.64 function TEnumString.Next(celt: Integer; out elt; pceltFetched:…
Henry Crun
  • 235
  • 1
  • 11
-1
votes
1 answer

Calling ExitProcess(0) in console app doesn't show memory leaks

I want to show memory leaks in a console app but when using ExitProcess(0) it doesn't show them and without it i don't know how i can quit the app. This is an example of code that creates a memory leak but doesn't show it: program…
John
  • 261
  • 2
  • 16
-1
votes
2 answers

Delphi Berlin 10.1 OS X app Decode Cyrillic for writing to hardDevice

I have delphi application, I need to rewrite it for OS X. This app writes/reads data to/from HID-device. I have issues when I'm trying to write string from mac. Here is the line that I'm writing(from debugger on windows): 'Новый комплекс 1' and this…
artemk
  • 121
  • 4
  • 12
-1
votes
1 answer

Setting dynamicly a property of an object containing datetime

I have a bunch of different methods for creating, calling and setting properties of different objects using Delphi's RTTI. But now I have come to an error where setting a TDateTime triggers an error like: "Cannot convert variant into double". Google…
John
  • 261
  • 2
  • 16
-1
votes
1 answer

Is it possible to retrieve the font scaling in Windows?

Trying to change dimensions of my FMX form to emulate a 'FullScreen' mode, but using the Screen size backfires when a user has its settings with some bigger scaling, since the whole form becomes bigger than the screen. How can I retrieve the scaling…
TioGuedes
  • 43
  • 8
-1
votes
1 answer

Occasional stuck splash screen (win 7 embedded)

I have an application that restores windows on startup but this results in a potential flicker as each window is created and positioned. To get around this I have the splash screen (stretched to the full size of the screen) set to "StayOnTop" and…
Martin
  • 815
  • 8
  • 21
-1
votes
1 answer

Program is being hidden behind program thats calling it

Using the CreateProcess function from Winapi.Windows unit, I am opening an executable from another but when it opens it doesn't display it on top of the executable that's calling it. Here is the procedure that I put together: procedure…
6String_Coder
  • 517
  • 10
  • 30
-1
votes
1 answer

How to Encrypt outgoing https requests

Is there a way to completely encrypt the outgoing HTTPS requests from the software to the server ? i mean there are apps like Charles and Fiddler that can capture the HTTPS traffic and see everything like the Headers,URL,... i don not want anyone to…
-1
votes
1 answer

Timage - switch between images

Having placed an FMX Timage component on a form, would anyone know the best approach for switching/looping between x2 images in the Timage component on an interval? Thanks,
6String_Coder
  • 517
  • 10
  • 30