fpc-pascal
Subscribe to this list Your subscription
Latest threads
- fpcbuild error0
Is the fpcbuild maintained/used? ftp://ftp.freepascal.org/pub/fpc/snapshot/trunk/source/fpcbuild.zip Building a rpm with make rpm NOGDB=1 NODOCS=1 fails: ... Processing…
- Using Cairo lib on Linux without X14
FPC has the API wrapper for Cairo lib. I am studying its dependencies and maybe use it in a Linux server with no X Window installed, for generating PDFs. Cairo is…
- fpGUI Toolkit v1.4 release0
fpGUI v1.4 is available ======================== I'm glad to announce the 1.4 release of fpGUI. This has been 8 months in development. There are lots of new features,…
- EAccessViolation on wrong exception re-raise: intended behavior?3
Consider the following program: {$mode objfpc} uses sysutils; begin try try raise exception.create('test'); except on e: exception do begin e.message := 'tset'; raise e;…
- Typo in the implementation 'TAssert.AssertException(AExceptionClass, AMethod, AExceptionMessage, AExceptionContext)'1
Aprogrammer could use: AssertException(EMyException, @MyException, 'My exception'); But the current implementation in this method is: class procedure…
- file locking cross platform3
There are some major differences between the way Windows and Unix allow locking of files with their api's, but is it possible to make a cross platform LockFile()…
- Looking for JavaScript component on FPC22
I am trying to integrate javascript for back-end support of cloud apps. I noticed the fcl-js package. Does anyone have an idea when we can expect to have a component…
- load a library twice1
Is the following correct: var h1, h2: TLibHandle; lib1, lib2: string; begin lib1 := 'library.so'; lib2 := 'library.so'; h1 := LoadLibrary(lib1); h2 := LoadLibrary(lib2);…
- 0
- Which programs or packages do I need to cross compile for 64bit Linux on 32 bit Linux?1
When I do 'make crossinstall OS_TARGET=linux CPU_TARGET=x86_64 INSTALL_PREFIX=$THIS_BUILD_DIR/fpc' on 32 bit Linux I get this error : 'x86_64-linux-as: Command not…
- Exceptions in Library2
Would anybody be able to enlighten me on enabling exception trapping in Linux libraries ? As far as I can tell, exceptions propagate through to the main app - (written…
- Re Raise Exception0
I'm having problems with an application on a client with random A/V's. In order to understand what is going on, I wrote a simple web service client for my mantis tracker…
- Does the basic make INSTALL create ppcross3863
At some stage in the make INSTALL the installation stops with this message. /usr/bin/install -c -m 755 ppcross386…
- fpHttpClient and Https support ?7
Hello. First of all, congratulation for fpHttpClient.pas. It works directly, like charms, without to install any dependencies. => wow. I am able to do internet audio…
- Suggestion: TDataSetEnumerator10
What do you think about a TDataSetEnumerator class in the DB unit? Something like this: === begin code === TDataSetEnumerator = class private FPosition: Integer;…
- getaddrinfo4
I'm working on an cross-platform application with DNS resolution with IPv6 support, but I can't really get around how should I handle IP version independent DNS…
- How to work with reference-counted strings in dynamically created objects2
The following program, compiles and runs as expected using a shortstring declaration in the TExample record. Could someone explain how to adapt it to cope with a…
- File Descriptor in Windows ?23
Hello. In Unix systems File Descriptor can be created with fpPipe(FDInput, FDOutput). Then FDInput/FDOutput may be used as file descriptors. Ok, perfect. But fpPipe is…
- Writing a Console App in FreePascal that connects to MySQL1
I was trying to see how to write a Console Appication in FreePascal that will connect to MySQL. I know how to do this in c, but thought it would be interesting to be…
- TProcess does not work in Windows XP15
I know XP is an old OS but some customers of mine still have it ! I'm writing a little software which is calling a console program and I have the need to capture its…
- Free Pascal and Lazarus Nightly Builds10
This is a public notice. Get Lazarus has switched from hosting arbitrary revisions to hosting setup programs from nightly builds. http://www.getlazarus.org/setup/ Going…
- Helpers for objects (not classes)3
Do the new class helpers support objects? If this is not implemented how much work (1-10) is it to do? Andrew
- Mode Delphi and functions as parameters.8
I have recently compiled projects which were converted from Delphi and it seems to me that the passing a function as a parameter does not require the '@' symbol. I…
- Portable coroutines6
Efficient implementation of coroutines requires CPU-specific code in the RTL and possibly the compiler. However…
- Where is the 'write' function defined and how is it different from 'writeln'?11
Where is the 'write' function defined and how is it different from 'writeln'? I can see a lot of fpc_writeXXX and other xxxxWrite functions, but no 'write' itself Frank…
- SVN Protocolo implementation1
I would like to know if there is a OP implementation of SVN Protocol. I know there is a LazSvnPkg but it is basde on TProcess and communication with SVN bin. This would…
- Common class type1
Hi. Is there method in fpc to find the highest common class-type of two derived classes? Torsten Bonde Christiansen.
- Thoughts on Shell Approach to TCP Sockets10
Despite documentation and manuals, I have not figured out how to use TCP sockets in Object Pascal, since there doesn't seem to be a primitive for it, or any easy way to…
- PtrInt - possible candidate to be marked as deprecated12
Based on what the documentation says "introduction of ptrint type was a mistake", shouldn't the PtrInt type be marked as deprecated in FPC 3.0.0 and removed in a later…
- Internet audio streaming ?3
Hello. I have some problem with audio internet streaming. I would like to do it with mpg123 + portaudio libraries but... Here is the procedure used by mpg123 =>…
