fpc-pascal
Subscribe to this list Your subscription
Latest threads
- KeyPressed.1
I've got a weird one for the experts here. I'm running an old DOS (originally compiled with TP) Pascal program that uses the CRT unit. It has several places where it…
- 64 Bit Intel-Processors??4
I'm writing a little article about Pascal-Development under Linux. My question: Am I right that FPC will not work on Intels 64-Bit-Processors??? I just found something…
- Re: Linking Pascal code to C/C++ static libraries under Windows1
I would also have thought that with all the object formats that GCC emits, that one of them would be the object format used by VC, in which case using VC's linker would…
- Array of Char2
We are moving from another Pascal compiler where this is allowed. ---------------------- Type txt_typ=packed array[0..1] of char; Const txt1:txt_typ=('12');…
- Re: Linking Pascal code to C/C++ static libraries under Windows1
Marco, replying to me, wrote in part: I can only do that for a small part (the wrapper C code that I wrote). The main libraries were done by another company and they…
- Pascal-Compiler under Linux2
I try to write a little article about Pascal-programming under Linux. As I now, Kylix, FPC and the GNU Pascal Compiler can be used to develope Pascal-applications under…
- FPC in Dr Dobbs.0
Dr Dobbs august edition has a small note about FPC 2.0.0 release :-)
- Linking Pascal code to C/C++ static libraries under Windows.1
Background: I have an old DOS console program that I'm trying to resurrect to run on Windows XP. There isn't much about the structure of the program that I need (or…
- fpc and lazarus svn thru firewall0
My ISP uses a proxy firewall, and SVN will not work thru it or around it. Requests for the proxy to accomodate subversion have brought no action. I finally found tips…
- fpdoc: Invalid short description0
When I run fpdoc on the lcl documentation, I get the following messages: [#lcl.Forms.TApplication] Invalid short description [#lcl.StdCtrls.TCheckBox] Invalid short…
- Calling a C library1
How do you call a C library or .h file from FPC in linux? Any samples? Thanks Paul
- Why doesn't the Watch show what the array exactly is?0
Why doesn't the Watch show what the array exactly is? I assigned an array arr:array [1..3,1..3] of 0..1; then did such lines as below: fillchar(arr,sizeof(arr),0); {I…
- error msg: "Selected asm reader not supported"8
hi Using the current compiler from svn, i get the following message when trying to compile "tcl80.pas". This also happens when i try to compile other code using asm code.
- bool / boolean converting4
first, sorry my bad english. I have post this and the next two questions already in community (german language forum). So far I could see it in the FPC sources, BOOL is…
- need info about codepages0
Dear, Sirs. Please,describe using -Fc<x> and -Fr<y> compiler command line switches in depth. I need russian code for sources and russian compiler messages under win32…
- Re: Can a program find out how it was started?6
said: One trivial solution is to drop a readline at the end of the help routine. That way the cmd window stays open until they hit enter (which you should tell them to…
- mmsystem unit : errors1
Could someone help to understand what happens with this piece of code : When I call the following function, I very very often receive an error :MCIERR_PARAM_OVERFLOW:…
- fast integer multiplication and one asm questio1
Hi, the UI32x32To64 function is great but is amazingly short. How can I Specify which varriables in function will be accessed. In this function for example it accesses a…
- fast integer multiplication12
Suppose I have the following code: var a,b: dword; c: qword; begin a := 10000000; b := 20000000; c := a * b; writeln(c); end. Now, although c is large enough to contain…
- lazarus crash at start3
Trying to find why lazarus crashes at start in win98 I found a courious problem, global variable IsConsole is true when it should be false as lazarus is built as a gui…
- Exporting from Elf okay?0
With regards to MS Windows: There are some myths out there which say you cannot export functions from exe's.. but this supposedly was only true back pre 386 versions of…
- Bitmap variables0
Hello all. Can anybody explain what is the structure of the bitmap variables used in GetImage and PutImage. How are images stored in them?
- FPC 2.0 / Lazarus Problem0
FPC 2.0 seems to have problems with lazarus new ide paths. Sometimes it gives an error, that it can not find uniteditor.pp or componentpalette.pas. The paths are…
- ExecuteProcess5
I'm using ExecuteProcess to run a commandline application. This application returns information to stdout. I have tried to pipe this to a file, but unfortunately this…
- Pointers11
Hi everyone I'm just trying to compile and execute a simple example from a graphics programming tutorial under FPC. Here is the code <code> PROGRAM PixelExample; {$MODE…
- C++ > C wrapper callback > Pascal Continues UPDATE1
See bottom post ----- Original Message ----- From: "Urbansound" To: Sent: Wednesday, July 27, 2005 11:05 PM Subject: C++ > C wrapper callback > Pascal Continues
- C++ > C wrapper callback > Pascal Continues0
Reply Peter and Tomas, is below, each... Thread pruned. The s call in the message line was converted to a "pointer(s)". I found the FPC_INITIALIZEUNITS at Main, in the…
- C++ > C wrapper callback > Pascal Continues2
I would think you have the likely cause. Unfortunately, the 2.0.0. Docs, nor the Web docs make reference to the function, (if it is a function), and Google seems to…
- C++ > C wrapper callback > Pascal Continues1
Thank you to Michalis Kamburelis... clipped this down (and still too long)... Yes the integer sizes were confirmed = 32 (win32 gui) and the export was added simply…
- Doubts about QueryInterface0
When I try to compile a unit in delphi mode with the following function function Implements(out AReference; const AObject: TObject; const AInterface: TGUID): Boolean;…
