[fpc-pascal]divining windows system paths
memsom at post.interalpha.co.uk
Thu Nov 1 11:50:46 CET 2001
Quoting Full_Name <memsom at post.interalpha.co.uk>:
> This is the method used in Delphi, you might get this to work in FPC,
> but I doubt it will in anything other that 1.1:
Just tested this under 1.1, and it does compile. The version of 1.1 I have
seems to have issues with linking it, and I don't have time to go through them.
It came back with a complaint that there was a missing entry point in User32, I
believe the routine was 'enumtaskwindow(s?)'. I guess this is fixed by now.
Incidentally, the linker had to be pursuaded into linking. It complained
about 'libpwindows.aw' being missing. I guess the error about missing entry
points is related to this.
Anyway, I'm guessing that if the app ran, you might get some sort of luck.. who
knows. Works perfectly under Delphi, anyway ;-)
"Computer games don't affect kids; I mean if Pac-Man affected us as kids,
we'd all be running around in darkened rooms, munching magic pills and
listening to repetitive electronic music."
Nintendo, Inc, 1989
-----BEGIN GEEK CODE BLOCK-----
GCS d? s+++:+ a- C++ UL+ P L++ E---- W- N+ o+ K- w
O- M V PS PE-- Y PGP- t- 5-- X- R- tv+ b+ DI++ D+
G e++ h--- r+++ y+++
------END GEEK CODE BLOCK------
More information about the fpc-pascal