A little bit off topic... but does lazarus still need to support fpc 2.0.4?
AFAIK fpc 2.2.0 runs on all platforms supported by lazarus... or am I missing
something?
bye,
Giulio
_
Discover the new Windows Vista
check your fpc.cfg to see if it uses $fpcversion macro.
How to know fpc.cfg supports $fpcversion macro?
so that a compiler version will pick the correct files.
For now, I have to edit manually my fpc.cfg to use wanted version each
time I need it. It just a few lines anyway. :-D
Which part of fpc.cfg need to be (re)configured?
Well, if you have this directory layout (as I have:):
/usr/local/lib/fpc/2.0.4
/usr/local/lib/fpc/2.2.0
/usr/local/lib/fpc/2.2.1
/usr/local/lib/fpc/2.3.1
check your fpc.cfg to see if it uses $fpcversion macro.
e.g I have
# searchpath for units
Date: Mon, 29 Oct 2007 12:37:15 +0100
From: [EMAIL PROTECTED]
To: lazarus@miraclec.com Subject: [lazarus] Missing symbols in Mac OS 10.3
Hello,
I just succeeded in my first cross-compiling and I am now trying my app
on a G3 Mac. The Carbon
Sorry if I post this message here, but fpc-devel seems to be down.
I am curios about resources support, after having read some messages in this
mailing list
(like the Sergei ones).
Tell me if I understood right:
Win32 case:
when a {$R filename.res} is fond, fpc calls windres to convert the .res
I wrote a patch to implement using the win32 messagebox for the lazarus
showmessage and messagedlg function.
http://www.freepascal.org/mantis/view.php?id=1062
CUT
line 1, 2,4 use native message dialog, line 3 and 5 uses the LCL message
dialog, because win32 doesn't have that combination of
sorry I forgot to add another thing:
why not to add a property to the widgetset to turn on/off the bitbtns in
messagedialogs?
After all, now one can replace Interfacebase.PromptDialogFunction with his
one: something like that
that can be used to toggle on/off bitbtns could be ok for the ones
If I run from the run icon of Lazarus Ide occurs the same. When I reset
the debugger and answer no for the data corruption, Lazarus again and
click run button I receive:
PesqProgAES.lpr(19,1) Fatal: Can't open executable PesqProgAES.exe
from the linkage editor(???).
I run the windows task
Hello everybody,
I think I got removed from the mailing list because I didn't receive any
message from the lazarus mailing list since May 23. Now I subscribed again
and it didn't tell me I was already subscribed.
Same thing already happened:
I subscribed for the first time on August 27, 2005
Hi,
I was playing with TSynCompletion and I found a strange thing, maybe it's a
bug but I didn't write
a bug report because I don't know if lazarus relies on this behavior:
When a SynCompletion is attached to a SynEdit via AddEditor method, it hooks
itself to the OnKeyDown and
OnKeyPress
New Delphi language features since Delphi 7...
http://dn.codegear.com/article/34324
Looking at the New language features page I thought about two things:
1) This is one that I sometimes need: class members (static members in java
IIRC), or class var - class property in the page provided.
8-bit needs palette support which we don't have. Since almost no one
needs it, it's unlikely to be implemented.
Micha
Out of curiosity, what is needed for palette support? A couple of years ago
I implemented some classes that implement color quantization,
dithering and so on. They are part
Last lines of the listing in this page show it:
http://developer.apple.com/qa/qa2005/qa1446.html
However, instead of doing all this stuff, we can receive the unicode
character asking for kEventParamKeyUnicodes parameter in
kEventRawKeyDown/Repeat/Up event, and the ascii one asking for
Thank you for your answer.
The reason why I was asking these things is that I came back home (I study
in another city) where I have an old PowerMac covered with dust (I'm not a
mac user, but it is there in a corner of my room).
So I started studying some carbon docs and I was trying to fix
Uhm... sorry but I need to be more verbose than what I already am :)
In short: virtual keycodes for mac do not exist.
The articles you reported might be misleading. I'll explain.
On Macs, there is not a raw scancode and a virtual keycode. Or better,
if they are two different thing, there is no
Hi,
even looking at sources of various interfaces, I cannot really understand
how the interface should behave in respect to lcl when handling keyboard
events.
Let's look at keydown case:
(note: for event considered handled I mean the interface should tell
native widgetset that the event has
I'm answering both to Vincent and Marc in this mail:
To Vincent:
No luck with -gh and -dMSG_DEBUG :\.
-gh is not reliable, since after windows exceptions, a lot of access
violations
occour, so a lot of data isn't deallocated because of exceptions being
raised.
Tracing messages (or using
Hi,
I think I found a bug that doesn't show up very frequently:
In lcl/widgetset/wsdialogs.pp, TWSCommonDialog class defines CreateHandle
method, which returns a THandle.
Now, wsdialogs doesn't use LCLType, so THandle is a 32 bit integer on 64
bits platform (apart from win64 IIRC)..
In gtk
It didn't fix the select directory dialog in win64 though, I still get
TApplication.HandleException Privileged instruction
Stack trace:
$78F2A966
Vincent
yes, that patch wasn't meant to solve SelectDirectoryDialog bug in win64: I
was fixing qt LCL
to work with 64 bit systems and I
Hi,
I like to profile my code with Lazarus or FPC. I tried to use the
{$PROFILE ON} tag in the code and also the -pg option to fpc. In both
situations I got an linker-error. The linker says he can't find the
option -lc. In the file link.res the following section is displayed:
Download
I am still unable to get paszlib to work.
I have since gone to some pretty big lengths toward my goal, but I am
afraid I
am stuck.
I think the ideal way would be to be able to read the file into a
TMemstream,
decompress it into another Tmemstream and then write that out, but I must
admit I
Hi everybody.
Did someone manage to enable profiling on win32?
I linked with libc.a, libgmon.a, libgcc.a and libkernel32.a from cygwin but
it fails on startup.
If I start the -pg compiled program I see:
monstartup: out of memory
Then program runs without problems, and at the end I see a
22 matches
Mail list logo