Questions tagged [delphi-10-seattle]

Delphi 10 Seattle is a specific version of Delphi released in August 2015

Delphi 10.0 Seattle 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.

626 questions
0
votes
0 answers

Delphi 10 Seattle project high memory usage

I had Delphi 10 Seattle installed and some VCL and in-house built components, the project I am working on seems a bit laggy (happens to me only, not to my colleagues), here are the memory usage: 1) - Opened Seattle ~40MB - Opened the project…
Ricky Nelson
  • 197
  • 1
  • 1
  • 7
0
votes
0 answers

Send application window to background

All the questions found on SO are about sending window to front, but How can a Delphi application send its main form to background? I think no one can object to a launcher software that sends itself to background after launching other executable…
Paul
  • 25,812
  • 38
  • 124
  • 247
0
votes
1 answer

recv(): Constant object cannot be passed as var parameter (on second arg of this function)

I need make a Delphi version of following C code and now i got the error saying that "not is allowed": a value of PByte + a Integer value, passed on second arg of recv() function. Have you some idea about a possible solution? This is C…
FLASHCODER
  • 1
  • 7
  • 24
0
votes
0 answers

Get correspondence of screen line to TStrings line in TMemo descendant

TRichEdit is causing too much access violations and issues in popup menu when styles are set, therefore I am trying to make a simple colorful TMemo descendant where each line from Lines could be painted with its own color as a whole. I cannot…
Paul
  • 25,812
  • 38
  • 124
  • 247
0
votes
1 answer

C to Delphi: Struct not is filled

I'm trying translate a piece of code from C to Delphi, that have as goal fill a struct until max limit allowed previous defined. I tried make the Delphi version more near of C code (even so not be a professional programmer). But i noted that in my…
FLASHCODER
  • 1
  • 7
  • 24
0
votes
0 answers

CompareStr() function compares String with a Char?

I have this code below and want know if CompareStr() can will work like this: function xGetClassName(_Handle: HWND): String; var Buffer: array [0 .. MAX_PATH] of Char; begin GetClassName(_Handle, @Buffer, MAX_PATH); …
FLASHCODER
  • 1
  • 7
  • 24
0
votes
0 answers

WinSock: How send() a PByte type?

Firstly, i want know if the PByte type is equivalent to a BYTE*(byte pointer) in C++. In negative case, what's could be on Delphi that more near to BYTE* of C++? Well, suppose that i'm right about that PByte is BYTE* (C++), then based on following…
FLASHCODER
  • 1
  • 7
  • 24
0
votes
0 answers

Styling an TCustomControl descendant results in gray background labels

In a following control I use TLabel as up and down buttons. When I choose "Cobalt XEMedia" as a default project style, these labels are drawn with a gray background. "Windows", "Cobalt XEMedia" and "Obsidian": Please help to draw the label…
Paul
  • 25,812
  • 38
  • 124
  • 247
0
votes
0 answers

TidHTTP Request works with Fiddler running, but not when closed

Making a simple request to a password generator API (makemeapassword.ligos.net). If I run it through the Fiddler proxy, it runs fine. When I close fiddler and turn off the proxy, it doesn't work. Error returned is "Socket Error # 10054 Connection…
FLDelphi
  • 508
  • 7
  • 20
0
votes
1 answer

How make the same hole in two Form's on remote screen (client side), based on area drawn on server side?

I have the following code and want draw the same hole in two Form's on remote screen (client side), based on area drawn on server side. I have the same Form (Form3) in both sides (server and client) that is a "mirror" where i'm drawing a area that…
user10752826
0
votes
2 answers

Multiline hints in Firemonkey

I am trying to create multi line hint in my application made in delphi 10 seattle (FMX). seems like line break is not working while setting the hints. Button1.Hint := 'Line 1' + #13#10 + 'Line2'; Any idea about how this can be done. this is working…
Padam
  • 117
  • 1
  • 7
0
votes
1 answer

GetWindowThreadProcessId() IAT hooking: How compare "dwProcessID" parameter?

I'm hooking GetWindowThreadProcessId() with sucess using the following code. Now i want check if dwProcessID parameter corresponds to id of determinated process and in positive case prevent execute original function: Result :=…
user9672569
0
votes
1 answer

How display MessageBox without show application icon in Windows taskbar?

I have a dll that is injected in a process and this dll contains a Form where i want use MessageBox() (or some other type of dialog) to alert the user about some operations. Eg: Application.MessageBox('successful…
user9672569
0
votes
0 answers

Load Delphi Seattle BPL from Delphi 7 DLL

I have a main application in Delphi 7 which loads a Delphi 7 dll (lets call the "X" dll). This dll is an "application core" and a "data base code based framework". This dll holds a lot of stuff. Beyond the main application, I have a lot of others…
Samuel
  • 259
  • 3
  • 15
0
votes
1 answer

How return the complete path of java.exe file ignoring java version installed?

I want associate my .jar file to open with java.exe using Windows registry and have a doubt about how return the complete path of java.exe file ignoring java version installed on computer. Ex: in my case i have: C:\Program…
user9672569