fpc-pascal · 2017-09
- Resource compilation47
the $R directive accepts resource scripts (RC) and compiles the RES file from it on demand. However, that only happens if the RES file does not exist - if it does, the…
- FCL-WEB and PostgreSQL Support: Current Status17
I am about to start a new project for a very small web application. I have some questions: 1 - Are the fcl-web and postgres packages stable? 2 - Are they recommended for…
- How to call C++ function with Vector8
I have a windows 32-bit dll written in C++ (probably C++ Builder). It has 1 function which I need to call: int SPAPI_GetProduct(vector<SPApiProduct>& apiProdList) I am…
- PTCGraph: Monitor, Orientation and Size Selection0
I have a system with 3 Monitors, 2 Horizontal 1920x1200 and 1 Vertical 1200 x 1920. I'm wondering if there is a way to specify which monitor my program using PTCGraph…
- Syntax to select constant or variable with function call9
I have several Similar arrays as follows for translating various color schemes into RGB565, I currently have 5 arrays but may add more. ACI256: Array[0..255] of…
- Booleans vs sets4
I have a class that is filling up with booleans. Would it be more efficient to store these as a “set of”? I have 10 bools which is getting up there. Ryan Joseph
- PortAudio writing audio files Windows and MacOS0
I noticed freepascal has some PortAudio related code (AFAICT fredvs has contributed some units here too).. Can portaudio, the cross platform API, be used on macOS? Does…
- Comparison operator for generics6
This is a common pattern I’m finding when working with generics in FPC. In the example below there is an equals comparison that needs to be checked but for some types…
- Inclocked/declocked7
I was time profiling some code and saw these 2 functions taking up large amounts of time. They’re coming from dynamic arrays and SetLength I believe but I was curious…
- Container class for key-value pairs4
since I'm programming Pascal only on occasion I'd like to know: Which container class ist the easiest to use for key-value pairs? The goal is to store a configuration…
- Using Serial in a TCP/RS232 gateway, how to set buffer sizes?23
I have created a simple application which relays data from an application I am debugging in Windows7 to/from a remotely located embedded data system. I use the built-in…
- Where and Why is there a memory leak?19
Playing with this small sample application to answer another question in this mailing list, I noticed the sample application has a memory leak. For the life of me I…
- When to use and not use @?1
Coming from Delphi I am a bit confused about the syntax when dealing with procedure arguments specified as var... In Delphi this is all taken care of by the compiler and…
- Mantis doesn't contain a 3.0.4 product version9
How are we supposed to report bugs against 3.0.4-rc1 if there is no such Product Version defined in Mantis? Graeme fpGUI Toolkit - a cross-platform GUI toolkit using…
- implements13
I think I asked this some years ago but I came across it again I just don’t get what the point of this is. There is an “implements” property but it seems like yet…
- Free Pascal 3.0.4-rc1 released!7
We have placed the first release candidate of the Free Pascal Compiler version 3.0.4 on our ftp servers. You can help improve the upcoming 3.0.4 release by downloading…
- TP compatibility: procedural type15
Hello, all. According to Borland's official language guide to To be used as procedural values, procedures and functions must be declared with a 'far' directive or…
