fpc-pascal · 2007-05
- libsndfile library7
The real question is "How to play a sound file on Linux in the same way I can do it on windows?". this is my experience: On Windows I do: uses mmsystem ...…
- operator overloading question1
When trying to compile the following code === cut=== unit foo; interface type tbar = record somefield: integer; end; pbar = ^tbar; operator + (a: pbar; b: pbar) c: pbar;…
- LongWord6
I have written a small demo program that gives a runetime error when it runs. Is it the compiler or is it me? Regards carsten ---- The program…
- set output directory for resources6
If I compile a unit which contains {$R wincemenures.res} a file named wincemenures.or is created in the source directory, even if I have set -FU or -FE. What parameter…
- Does ReallocMem(p,0) always set p to nil?4
Consider this piece of code: var p: pointer; begin p := getmem(100); reallocmem(p,0); p := nil; end. Do I need to do p:=nil, if I want to be sure that p contains nil? I…
- Using the FPCanvas unit (in fpGUI)2
If I wanted to start using the FPCanvas unit as a set of base classes for fpGUI (my custom drawn widget set), what do I need to do, or implement. Is there any…
