fpc-pascal · 2011-06
- Compiling FPC with DEBUG3
I compile FPC with success using my tutorial: http://wiki.freepascal.org/Installing_Lazarus#Compiling.2Finstalling_FPC_and_Lazarus_from_Sources_of_SVN_.28Win32.29…
- status of sparc solaris support7
Quick question: http://freepascal.org says: "It is available for different processors: Intel x86, Amd64/x86_64, PowerPC, PowerPC64, Sparc, ARM." "The following operating…
- Installing Lazarus on new Debian release1
How can I get Lazarus working on the new Debian release? There is much information on the web and it seems like everybody says something different. I have a script here…
- Variable export always uppercase?2
I'm trying to trick some c-libraries that use errno variable to think that it's located in my sources (Windows, MingGw compiled libraries). if I declare var ___errno:…
- resourcestring and const arrays6
In Delphi I can use resource strings with const arrays and everything works correctly. For example, if I have a resource DLL with translated strings and this will work:…
- Efficiency of generated code [x86_64]1
I'm puzzled by some of the code generated for x64. Came across this earlier post; http://www.hu.freepascal.org/lists/fpc-pascal/2005-March/008175.html Compiling the…
- Platform independent alternatives5
I'm porting an app from Delphi to Lazarus when I came across a couple of functions from the windows unit. Can anyone help me finding the platform independent…
- Kudos to the FPC team3
I know I'm sometimes hard on some developers. I guess sometimes one has to sit back and see the big picture too. While reading the following text from the OpenWatcom…
- porting to 64bit1
What's wrong on this condition to get the code running on 32 and 64bit: // Get pointer to varlength data. function GetVarLengthData(AVarLength:PAnsiChar):PAnsiChar; begin
- 6 byte real1
I discovered Free Pascal yesterday and I am working at recompilying my old Turbo Pascal (5.0) files. The first problem (but probably not the last) I encountered is the…
- Windows test program7
Hi I have this test program. It compiles and runs (shows) under Delphi (5.0). I can compile (and run it) it under FPC (2.4.4) but it does not show anything. I can see it…
- Linking to library on Mac1
I'm porting an app from delphi to lazarus and now I reached a problem when trying to link to the library. The library comes with the .dynlib .a and all header files. I…
- fpwrite error1
since i migrate to a 64bits hardware, i have compiled a old source with the last fpc 64 bits under linux. (due to an old 32 bits compiled software using in a 32 bits…
- build-id2
Hello With fpc for linux, I need to include a build-id to my executable but I don't see any option for this. I found that…
- Best integer type to be used for string indexes4
Reviewing a bunch of my string processing functions made me wonder what integer type should I use for position / length parameters. I used to plain "Integer" for this…
- Android4Pascal - How Does it Work?1
How does this work? I see it creates bindings but how does it bind the Pascal code with the Java code? Thanks
- Installing FPC 2.4.4 for Ubuntu / Mint + other thoughts24
I found the packages for Debian / Ubuntu / Mint : ftp://ftp.hu.freepascal.org/pub/fpc/dist/2.4.4/i386-linux/deb/ How to install it? Am I really supposed to download…
- Pseudographics in FPC-IDE10
I have installed FPC on a Linux machine to find that in the virtual terminal (true text-mode, not GUI-based emulator) FP-IDE does not dispaly pseudographics…
- In 'stream:' (line 1 pos 1): Root element is missing5
I am using the xmlread.ReadXMLFile(doc, stream) function to read a XML. If I use a file works OK. If I use a Stream of the same file (I saved the Stream in a file and…
- https7
Is there a solution for https somewhere?
- XML read11
What is the more simpler way to get all text in each paragraph in the XML below, using fcl-xml? For example: Page 1 ------------------- Para 1: -1524 -888 -14/06/06 Para…
- creating cross compiler to fpc2
I'm trying to create a cross compiler for FPC to be 32 bit on Linux. My problem is that "as" and "ld" for 32 bit called "as86" and "ld86". How can I tell to the make…
- fpweb and http authentication4
How can I create http authentication using fpWeb ? I found on WWWAuthenticate, but I do not understand how to use it. Ido LINESIP - Opening the source for communication…
- "Illegal unit name", no change reguired?0
I faced the same problem as was described here http://www.hu.freepascal.org/lists/fpc-devel/2008-February/013028.html and briefly here…
- TFPDataHashTable2
I am tring to understand how to use TFPDataHashTable and upon using it I just manage to crash the application. program hashdemo; uses contnrs; var HTable:…
- Array of byte from a COM object5
How I can a return "array of byte" from a COM object and put in a Stream? I use a OleVariant variable to get the return. But I can not convert in a string (the return is…
- Userfriendly editor26
http://www.geany.org/ Screenshots: http://www.geany.org/uploads/Gallery/geany_main.png http://www.geany.org/uploads/Gallery/geany_build.png…
- check if process ID is running under BSD6
I need to check under BSD if a PID is running and what name it has. Is there already a function for that? Mattias
- When the variable freed in Optimize compile6
Hi, I know when compile the project with optimize in Delphi the variable freed/allocated after the last line used. How can i make same in FPC, O3 not worked for me. I…
- fpWeb REST support (asking about features)15
One of the thing that I find really missing in fpWeb is the ability to have support for REST. That is, to place different callbacks to GET, POST, UPDATE, DELETE, HEAD and
- Chrome Browser apps with Native Code2
Do you think FreePascal can be used to compile applications for google chrome browser, such as the following link? http://code.google.com/chrome/nativeclient/ thanks…
- How to free memory allocated by C++ library6
Working from the instructions in CinFreepascal.pdf ( ftp://ftp.freepascal.org/pub/fpc/docs-pdf/CinFreePascal.pdf ) I have written an interface library to the C++ library…
- Linux i386 libraries and PIC7
I'm trying to create a library on linux i386 that contains only PIC code. The library is a driver that runs unconfined causing SELinux (Fedora) to block the loading of…
- Problem with virtual constructors4
I am having problems with virtual methods. I have two classes, the second one is a descendent of the first : 1st: TTreeNode = Class(TObject) Public Constructor…
- support for using an activex33
Hi List! I looked around the archives and forum, but I didn't come up with a clear answer. Besides, I'm not expert of the win32 and COM world. If I am given an ActiveX,…
