Skip to main content
How are we doing? Please help us improve Stack Overflow. Take our short survey
2 votes
0 answers
36 views

More informative extraction page

I'm trying to add a nice and functional extraction page to my installer because Inno Setup was recently updated with native extraction. Below is a piece of code I added, which works and is somewhat ...
Jerry Zoden's user avatar
-1 votes
1 answer
84 views

Can't import DLL into Inno Setup ver 6.5.1 [closed]

Hi I'm trying to import the ExecDos.dll into my Inno Setups install for live logging the installation process. I copied the DLL into the folder where the .iss file is located (Downloaded it from NSIS) ...
David Cohen1's user avatar
1 vote
0 answers
55 views

How can I add comments to tooltips with OmniPascal extension

I want to see comments as tooltips in VS Code with the OmniPascal extension. Right now, comments are not appearing in tooltips despite trying different Pascal commenting styles. Maybe i just dont know ...
fivid's user avatar
  • 21
1 vote
1 answer
110 views

The Dining Savages vs The Bear And The Honey Bees synchronization problem

I'm learning concurrent programming by analyzing common synchronization problems. Right now, I'm dealing with "The Dining Savages" problem. Note: I don't need to implement it by using ...
Billy Lynch's user avatar
2 votes
2 answers
210 views

Keep Delphi In-line Assembly Labels in Assembly Blocks

Assembly is always faster than high-level languages. For example, I tested an empty loop in Delphi repeating 1 billion times, and same loop but written in assembly. The Delphi loop took 6 billion (x64 ...
JOrE's user avatar
  • 156
0 votes
1 answer
140 views

Delphi Palette doesn't show standard/xml/net..etc components anymore (and it's causing errors)

When using Delphi, I was looking for the Timer component on the palette (VCL application). Accidentally, I pressed a button or I clicked something (I didn't notice what I did), and after what seemed ...
Gustavo Fonseca's user avatar
-1 votes
1 answer
154 views

Convert Pascal real data type to C# type [duplicate]

I'm doing a proof of concept that involves porting some Pascal code over to C#. The code involves financial calculations, so most of the fields are currency based (though not all). All of the numeric ...
user7142812's user avatar
1 vote
2 answers
237 views

How to easily and quickly apply custom indentation format rule to selected Pascal/Delphi code?

I am working with Pascal/Delphi code and need to format a selection of code with custom indentation rules (e.g. 4 spaces for indentation). I want to apply these formatting rules to the selected code ...
user5005768-hd's user avatar
3 votes
1 answer
110 views

Why doesn’t rounding work outside of range?

Why does rounding not work if I try to compile following code using the FreePascal Compiler? program RangeCheckError; var result: integer; begin result := round(1.6514384080961258e+21); ...
Bogdan Doroschenko's user avatar
0 votes
0 answers
56 views

mysql_fetch_lengths() returning array of Int64 on Lazarus/Linux

In Lazarus, I am loading libmariadb.so.3 v3.3.10 via LoadLibrary(). (Did another test with libmysqlclient.so.21 v8.0.41). When iterating through the fields of a query result, the length of a value is ...
Anse's user avatar
  • 1,710
3 votes
0 answers
260 views

SAP GUI Scripting in Delphi

I am developing an application in Delphi that needs to interact with SAP GUI via Scripting to automate some material control operations. However, I am facing difficulties in establishing the correct ...
Mieli Jr.'s user avatar
1 vote
1 answer
146 views

Delete an item from an array

So I’m writing a procedure that gives the user the choice to either delete or modify a value in an array. The modifying part was easy, but I’m having troubles deleting the item. Procedure ...
moncef guettouche's user avatar
1 vote
0 answers
68 views

Access violation invoke Certificates_ICertificateQuery.get_Thumbprint

I try WinRT in Delphi. The following code encounter access violation when invoke get_Thumbprint: program Sample; uses System.SysUtils, System.Classes, System.Win.WinRT, System.NetEncoding, ...
Chau Chee Yang's user avatar
0 votes
1 answer
151 views

TakePhotoAction crashes android app and starts again on xiaomi Android 12

Crosspost: https://en.delphipraxis.net/topic/12872-takephotoaction-crashes-android-app-and-starts-again-on-xiaomi-android-12/ Environment: Delphi 12.2 (latest SP) APP for Android and iOS Hardware ...
fisi-pjm's user avatar
  • 795
0 votes
2 answers
75 views

SetAllPalette in Pascal

I have this function which does: MyPalette : PaletteType; MyPalette.Size:=16; // sets some colors SetAllPalette(MyPalette); Reading the Turbo Pascal 5.0 manual it says: Palette is an untyped ...
M Rajoy's user avatar
  • 4,154

15 30 50 per page
1
2 3 4 5
171