tlinking the executable is smaller,
without, the linker is faster.
There is a study about this here:
http://wiki.lazarus.freepascal.org/index.php/File_size_and_smartlinking
--
Felipe Monteiro de Carvalho
_
To unsubscribe: mail [EMAIL PRO
On 2/12/06, Johannes Nohl <[EMAIL PROTECTED]> wrote:
> Isn't it possible to run a compiled application without linking it
> together before?
Linking is the process of putting the compiler pieces together unit a
executable file.
So no, you cannot run unless you link.
--
F
Hello,
Please ignore the Qt4 patch I sent about 2 weeks ago and apply this one
instead.
Attached is a patch that changes the current Qt interface into a Qt4
interface.
Also a new file qtprivate.pp must be included on lcl/interfaces/qt/
The following widgets work: TApplication, TCustomForm, T
trabalho)
@@ -14,6 +14,8 @@
Authors: Felipe Monteiro de Carvalho and Andrew Haines
+ Special thanks for: Danny Milosavljevic and the Lazarus Team
+
This unit calls the appropriate widgetset code.
}
unit wstrayicon;
@@ -28,23 +30,33 @@
* Compatibility code for Delphi for Windows
(revisão 8667)
+++ components/trayicon/wstrayicon.pas (cópia de trabalho)
@@ -14,6 +14,8 @@
Authors: Felipe Monteiro de Carvalho and Andrew Haines
+ Special thanks for: Danny Milosavljevic and the Lazarus Team
+
This unit calls the appropriate widgetset code.
}
unit wstrayicon;
@@ -28,23
Hello,
Did you download the Subversion Lazarus on top of the old one?
You should create an empty directory to place the svn lazarus. Then you
can compile lazarus using 'make clean all' with the DOS prompt on
lazarus directory. Make sure that the make.exe executable distributed
with the old l
a GtkPlug):
http://wiki.lazarus.freepascal.org/index.php/Accessing_the_Interfaces_directly#TBitmap
Now I only need to conect the mouse events and the PopUp Menu.
thanks
--
Felipe Monteiro de Carvalho
_
To unsubscribe: mail
Danny Milosavljevic wrote:
Can you use a GtkPlug instead of a normal window? I get the feeling that
normal forms do strange extra stuff... no, scratch that, I'm _pretty
sure_ that normal forms do strange extra stuff that system trays don't
particularily like.
for testing do something like that
A.J. Venter wrote:
This may or may not be related but do an ldd on your icewm executable, icewm
by default has ONLY support for xpm image formats (though there is a
configure option to enable png as well).
If you don´t see libpng in the libraries list, try doing a test program using
only xpm
RPOSE. *
* *
*
Authors: Felipe Monteiro de Carvalho and Andrew Haines
Gtk2 specific code.
}
unit wsgtk2trayicon;
{$ifdef FPC}
{$mode delphi}{$H+}
{$endif}
{$PACKRECORDS C}
interface
uses
Graphics, Classes, ExtCtrls, SysUtils, Forms, Controls, Dialogs,
Patrick Chevalley wrote:
I think your output image miss some header or color table from the input one.
The solution I use is to load the destinterface using the input bitmap.
I tryed doing those modifications, but nothing changed. On the other
hand if it is really something about header or col
On 2/1/06, Danny Milosavljevic <[EMAIL PROTECTED]> wrote:
> Don't do the Sleep(80) either (what the heck ... If that causes any
> problems without, fix the root problem instead ;))
I see no difference with Sleep(80) and without.
--
Felipe Mon
Felipe Monteiro de Carvalho wrote:
> Removing those 2 lines and adding GtkForm.Show; on the end of the
procedure makes it work YEII
Well . it almost works.
This is very strange, but using the basic example on Lazarus Subversion
with my new gtk2 file. When I click the &q
Vincent Snijders wrote:
Maybe in the future the Form.Handle on windows will contain a pointer to
a pascal windowinfo object. Maybe that is the most natural way for us to
implement the win32 widget interface. It will break some code, but only
for people who haven't listened to Marc ...
Ok, so
Danny Milosavljevic wrote:
(btw: is your version more up-to-date than what is currently in svn? -
i.e. do I review old code? :))
No, not at all.
thanks,
Felipe
_
To unsubscribe: mail [EMAIL PROTECTED] with
"un
Danny Milosavljevic wrote:
Hi,
I just checked what is currently in lazarus svn, and there you do:
GTK_WIDGET_SET_FLAGS(PGtkWidget(GtkForm.Handle),GTK_VISIBLE);
GTK_WIDGET_SET_FLAGS(PGtkWidget(GtkForm.Handle),GTK_MAPPED);
in TWidgetTrayIcon.Show.
(wsgtk2trayicon).
Don't do that! SET_FLA
Danny Milosavljevic wrote:
Then it is realized (and probably mapped as well).
Try xwininfo and then click on it, or xev and see if it brags about
stuff it gets - like mouse clicks, ... (and check that it _is_ your
window, not the desktop's :)).
If I execute xwininfo and click the systray Icon,
Marc Weustink wrote:
The Handle is an abstract type and its internal meaning may change at
any time. Don't rely on it being a direct map to an underlying
object/structure/whatever.
I don't agree. This can be very helpful, if well documented. If the
internal format changes, then change the doc
Hello,
On Windows I can use the Handle property of TBitmap and TCanvas in
Windows API Function. This is very simple, as they correspond directly
to a WinAPI Handle.
What does the Handle property of the various objects, or at least
TBitmap, TPixmap and TCanvas, represent on Gtk functions???
.savetostream(memstream);
memstream.position := 0;
bmpEnlargedDisplay.loadfromstream(memstream);
finally
memstream.free;
end;
except
Exit;
end;}
bmpEnlargedDisplay.SaveToFile(TempDir + 'enlarge.xpm');
end;
So what can I do to fix the problem and have a resulting ima
Mattias Gaertner wrote:
I enabled the option (Auto Tool Tip Symbol) and fixed showing the hint when
the Expression hint is on, but the tool tips are off.
Now (Since last revision?), it works =)
thanks,
Felipe
_
To unsubscrib
Graeme Geldenhuys wrote:
My Lazarus works exactly like yours! Both on a Win2000 and WinXP OS.
Now at least I don't feel alone... ;-)
No tooltip here also.
Windows XP and Mandriva Linux. Latest subversion on both.
The debugger stops at the breakpoint, but the hint doesn´t appear.
On View >>
I added gdk2x unit to wsgtk2trayicon file, so now the Gtk2 file is
exactly like Gtk1 file, except for the uses clause.
Specifically the following lines are now just like Gtk1 file:
procedure TWidgetTrayIcon.CreateForm(id: Integer);
begin
.
fDisplay :=
GDK_WINDOW_XDISPLAY(Pointer(PGtkWi
1 - Did an "svn update" on my working copy of Lazarus under Mandriva
Linux 2006
2 - Opened the package: lazarus/components/opengl/gtk2x11/gdk2x11.lpk
3 - Compiled the Package
4 - Installed the package (Gtk 1)
5 - Crash, and now Lazarus crashes on startup
Should I submit a bug report?
Here a
version, but rather with GDB version.
--
Felipe Monteiro de Carvalho
_
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives
Mattias Gaertner wrote:
Where are those files available?
I have them both here, but they do not fit into the attachment
restrictions of this mailling list, so how can I send them?
Felipe
_
To unsubscribe: mail [EMAIL PROTEC
This is a question for those that understand very well how lcl
interfaces work.
Trying to compile an application that uses TBitmap with the Qt widget I
get this message:
TApplication.HandleException Failed to get raw image description from
device
What must I implement (and where) to add T
Hello,
Attached is a patch that changes the current Qt interface into a Qt4
interface.
The following widgets work: TApplication, TCustomForm, TCustomButton,
TCustomMemo
It uses Jen Dean qt4 wrapper, which is basically a 800kb .so file that
needs to be on the library path for lcl-qt4 progra
I would like to compare
the various existing bindings.
Also, what do you people think about using Qt3 or Qt4? Which one
should be preferred?
--
Felipe Monteiro de Carvalho
_
To unsubscribe: mail [EMAIL PROTECTED] with
s/trayicon/trayicon.pas(revision 8612)
+++ components/trayicon/trayicon.pas(working copy)
@@ -14,7 +14,7 @@
Authors: Felipe Monteiro de Carvalho and Andrew Haines
- This unit contains the SystrayIcon object.
+ This unit contains the SystrayIcon object and the TTrayIcon visual
n(fScreen); // and it's number
But the Icon doesn´t show (I have no idea why).
Any help is appreciated =)
thanks,
--
Felipe Monteiro de Carvalho
_
To unsubscribe: mail [EMAIL PROTECTED] with
&quo
/TrayIcon
thanks,
--
Felipe Monteiro de Carvalho
TrayIcon.winzip
Description: Binary data
} directive on linux was added to the
compiler. I don´t know how this helps, however.
--
Felipe Monteiro de Carvalho
_
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as
On 1/19/06, John Meyer <[EMAIL PROTECTED]> wrote:
> Thanks guys, figured it out finally.
> BTW, is there an easy way to make a connection to a MySQL server?
There is some information on the Wiki:
http://wiki.lazarus.freepascal.org/index.php/Lazarus_Database_Tutorial
--
Felipe
This website is a really good tool for finding packages:
http://rpm.pbone.net/
You can go into the advanced mode, and choose for it to only show SuSE
packages. Then type the dependencies that you need.
--
Felipe Monteiro de Carvalho
Christian Ulrich wrote:
1. tooltips are mostly known as hints in lazarus/delphi so maybe you should
rename the 2 properties
Renamed, will be available when I send the new files
2. i think this component is visual better useable so its easyer to generate
the events ...
We can have both a vis
con class name on trayicon.pas to give room for a
TTrayIcon class on the package, and avoid confusion.
For now you can use the SystrayIcon object.
--
Felipe Monteiro de Carvalho
_
To unsubscribe: mail [EMAIL PROTECTED] with
On 1/17/06, A.J. Venter <[EMAIL PROTECTED]> wrote:
> 2) Is there a README or a short howto available ?
Documentation is being constructed here:
http://wiki.lazarus.freepascal.org/index.php/TrayIcon
--
Felipe Monteiro de
Hello,
New version attached. Please apply that. Adds copyright notices + many
corrections + more coments + various improvements.
Works as I would like on Win32 and Gtk1 and gnome. The only thing that
does not work is the gtk2 interface.
It would be very nice if someone can get the Gtk2 ver
Mattias Gaertner wrote:
I don't see, what registering a class has to do with. Maybe your
initialization section is too automatic?
Systray Icons don't really exist on Mac OS X. What exists is a Taskbar
Icon witch behaves somewhat like a System Tray Icon. i.e. he can be
drawn at will, and respo
of. You can't just
register TTrayIcon because of Mac OS X future support. The visual
component must be a wrapper around the SystrayIcon object.
--
Felipe Monteiro de Carvalho
_
To unsubscribe: mail [EMAIL PROTECTED] with
The test program works on Linux (tested on Gnome, KDE, IceWM) and
Windows (tested on XP).
--
Felipe Monteiro de Carvalho
TrayIcon.winzip
Description: Binary data
Martin Smat wrote:
And what about methods: TCanvas.RadialPie and TCanvas.Chord? Can anybody
verify what are the parameters in Delphi?
procedure Chord(X1, Y1, X2, Y2, X3, Y3, X4, Y4: Integer);
I could not find RadialPie method on Delphi help files. There is Pie
however:
procedure Pie(X1, Y1,
Michael Van Canneyt wrote:
I beg to differ. I wouldn't install a linux which doesn't have KDE,
unless it's a server without X or GUI at all.
Well, you wouldn't, but this doesn't change the fact that Gtk is more
necessary for a desktop distro to work.
KDE has about 55% of the desktops, but wh
Simeon Mitev wrote:
What do you mean *native* when you are talking about Linux?
On Linux you can compile for: Gtk, Gtk2 or Gnome. All work without any
code change for my magnifying tool. I would consider Gtk and Gtk2 the
most "native" widgets for Linux, as they are present on any distro that
SIX-S wrote:
I have just found your product Lazarus. I have used Delphi several
years ago, but stopped using it. The cost of the advanced features such
as client server was the reason. Is Lazarus something that can be used
or will it have limitations?
Jim
Well, I use it and like it very muc
hello,
What about Application, Screen and Mouse? Are those objects supported?
And what if my application contains code to create a TPopUpMenu, but it
never shows it on screen (it is only used on other platforms for now)?
Will this work or I must remove all TPopUpMenu references to compile for
John Jewitt wrote:
Build All on the example\imageviewer\imgview. When I double click the
imgview.exe in win explorer I get the app. but also a dos box.
I can confirm that the executable created by the
example\imageviewer\imgview project does have a console window attached
on windows 98 using
John Jewitt wrote:
I've just installed Lazarus on a Win98 box.
Witch Lazarus version?
afaik, doesn't the {$APPTYPE Console} directive make an app. a non-gui
app.?
I'm not sure if APPTYPE Console prohibits GUI, but I do know that it
shows a dos box for the application. I means that you shou
John Jewitt wrote:
Quick question, why do I see a 'dos-box' when running a lazarus built
app. on win98?
Did you include {$APPTYPE Console} ?
I don't experience this on Windows 98.
Felipe
_
To unsubscribe: mail [EMAIL PROTECT
Mattias Gaertner wrote:
Then there should be a win32 widgetset function:
TWin32Widgetset.AddCustomMessage
or something like that. This way it is clear, that the code is not portable.
Sounds a good solution. Much better then recompiling the LCL!
I hope eventually someone volunteers to start
Mattias Gaertner wrote:
What are other ways of sending custom messages?
To whom?
To a Window.
If I understand it right, the WM_USER messages are not understood by the
winapi.
So, the only purpose of WM_USER messages is interprocess communication,
isn't it?
Michael VC has implement some plat
Vincent Snijders escreveu:
> I don't I am very rational now, but maybe I just don't want this code in
> my LCL (or win32 interface), because I fear it will open a can of worms.
> I cannot really explain it, it is just a feeling. Therefore I will be
> happy with a define, at least a define to tur
Vincent Snijders wrote:
* Does not affect multiplatform capabilities because windows will
never send a message >= WM_USER unless the programmer has created code
witch tells windows to send such messages. Even if Windows starts
sending messages for no reason, I still don't see how this would
af
Hello,
This has being discussed before, but was non-conclusive. A conditional
compile was added around code witch forwards all messages >= WM_USER to
the LCL (and thus WndProc) on Win32 Widgetset.
I see many advantages on not having the conditional compile, but I can't
see any advantages of
Den Jean wrote:
Qtopia LCL: alot of work for little benefit. A form designer for a small
screen ? But LCL Gtk can be used for the X-ROMS (if you get gtk-arm compiled)
The LCL is much more then a form designer. I am really interrested in
using the most basic classes such as TApplication, TForm,
Mattias Gaertner wrote:
First I load a bitmap, witch has everything on Fuchsia color as
transparent.
if (not LoadBitmap(bmpTopLeft, 0, MAKEINTRESOURCE(IDB_TOPLEFT),
hInstance)) then Exit;
Looks very windows specific. What does it do?
Loads a bitmap from a internal resource =)
It is arou
Andrew Haines wrote:
As far as I know the original approach for the qt widgetset was to write
a supporting .so in c++ that exported the functions in a plain c
compatible way so that pascal could use qt through this. I think in the
lcl/interfaces/qt there is the source for the lzqt. (which I as
Den Jean wrote:
If despite the license issue someone would be
interested in a Qt LCL, I would like to help with the Qt part.
Here are the results of some FPC Qt4 tests:
http://users.pandora.be/Jan.Van.hijfte/qt4.html
kind regards,
I am interrested in a Qt LCL, and even more on a Qtop
Tony Pelton wrote:
not to stick my nose in, but what convention makes this a "usually" ?
i'm not a 'C' programmer by any stretch, but i don't _think_ functions
that have a return type of "char*" are that unusual are they ?
No. ImageMagick, a c library, makes extensive use of functions returnin
[EMAIL PROTECTED] wrote:
Feel free to comment, but please accept that this is just a concept. So It
has no use to discuss the details of the displayd forms themselves unless
it would impact the general look and feel. Ultimately each form in itself
will be subject to discussion to fit the purpose.
Graeme Geldenhuys wrote:
Does Gtk1 support themes and TrueType fonts?
I just tested on my GNOME. I changed the gnome theme, and the lazarus
IDE built against Gtk1 changed it's appearance acording to the theme, so
I guess it does support themes.
It would be nice if you could take some screen
Hello,
First I thought about readding qt to the widgetset list ... but then I
changed my mind I thought about just compiling the LCL for Qt and take a
look. But I forgot to change the subject ^^
_
To unsubscribe: mail [EMAIL
Hello,
How can I recompile the LCL for Qt? I was curious about the development
stage of this interface.
thanks,
Felipe
_
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at h
Graeme Geldenhuys wrote:
Sorry, but I don't seem to understand. What will this do if I only
compile the LCL? Does your Lazarus still run and look like a Gtk1 app?
At the moment my Lazarus is compiled with Gtk1 look. It doesn't blend
in very nicely with my Gnome desktop, but at least it is sta
Graeme Geldenhuys wrote:
I keep getting this error while linking:
/usr/bin/ld: cannot find -ldb1
My bad! I do have db1-devel installed ^^
It must be this package that you need.
_
To unsubscribe: mail [EMAIL PROTECTED] with
Graeme Geldenhuys wrote:
I keep getting this error while linking:
/usr/bin/ld: cannot find -ldb1
I have the package db1-1.85-10mdk in my computer if it helps.
I don't have the corresponding devel package, but I got gnome to work
anyway.
Felipe
Graeme Geldenhuys wrote:
I can compile for Gtk and Gtk2 (this one is very buggy and keeps
crashing) just fine, but no luck with Gnome.
You don't need to compile Lazarus itself. Compile only the LCL. Go on
"Tools" --> "Configure Build Lazarus", set the LCL to clean+build and
everything else to
Christian U. wrote:
Iam working on it, but havend some time lately
The Widgetset in svn is clean at time I have a little bit but nothing
workable at time
Can you give me some hints about what is working what isn´t?
Can´t we copy a lot of things from the Windows widgetset? Many things
should
Hello,
Who is working on the Windows CE widgetset? Sounds very interesting.
If I recompile my LCL for Windows CE will the resulting executable work
on Windows CE for i386??
I tryed to recompile the LCL for wince, but I got some error messages:
C:\Programas\lazarus\lcl\interfaces\wince\wince
unction somewhere in the RTL, but I
couldn't remember it was in the unit fileutil.
--
Felipe Monteiro de Carvalho
_
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe"
> File names are from StringGrid.Cells[x,y], thus, 'normal' strings.
> I'll try ForceDirectories, and I'll report back.
> Thanks
You cannot use ansistrings with Windows API functions. You need to
cast them to a PChar.
Try PChar( )
-
in Dir exists. It returns True if Dir already existed
or was created succesfully. If it failed to create any of the parts,
False is returned.
--
Felipe Monteiro de Carvalho
_
To unsubscribe: mail [EMAIL P
bobby wrote:
hi to all,
I'm making a program to sort a collection of specific files.
Now, is there a crossplatform function to move/copy/rename files?
If not, how can I do it for Win32?
For a non-multiplatform app you can use the Windows API call CopyFile.
From MSDN:
The CopyFile function co
You can get RPM packages here: http://rpm.pbone.net/
Or type "rpm search" on google to see other links
Felipe
_
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.la
Hello,
I´m trying to have my app respond to key pressing, so I set an event for
the OnKeyDown event of the form. The code works very well on Delphi.
Does not work on Lazarus.
Something else, possibly related, is that on the latest snapshot 18
dezember, the Code Explorer does not respond to k
Mattias Gaertner wrote:
Micha disabled the code. It is still available if you compile with
-dUseAsyncProcess.
but why would this interfere with win32? Wasn´t that gtk only?
Felipe
_
To unsubscribe: mail [EMAIL PROTECTED] with
Mattias Gaertner wrote:
The problem is introduced in the revisions 8256 and 8257.
Thanks.
Do you mean 8255 works and 8257 not?
Then it is the addition of synchronize support for the gtk interface.
The 18 december snapshot no longer presents the crashes on win32 (at
least on very basic tests
dannym wrote:
The systray icon stuff is standardized, but (older?) kde deviates from
it horribly. Just the amount of workarounds that we had to put in xfce
to make kde systray icons work scares me. Do not do that.
I think the current KDE must be even worse. On older versions there
still was a
Here is how I solved the problem:
1 - added @
2 - Changed the procedure to:
// Temp ErrorHandler
function TempX11ErrorHandler(Display: XLib.PDisplay;
ErrorEv:PXErrorEvent): longint;cdecl;
begin
//WriteLn('Error: ' + IntToStr(ErrorEv^.error_code));
end;
notice the XLib.PDisplay
I think I wil
Mattias Gaertner wrote:
Where are the two?
XLib and gdkprivate.
on XLib:
PDisplay = ^TDisplay;
on gdkprivate:
PDisplay = pointer;
conflicting declaration.
Felipe
_
To unsubscribe: mail [EMAIL PROTECTED] with
The older issue is fixed ... now lot's of access violations and IDE
crashing when executing this code:
procedure TForm1.Button2Click(Sender: TObject);
var
trayicon: TGtkTrayIcon;
begin
trayicon := TGtkTrayIcon.Create(Self);
try
finally
trayicon.Free;
end;
end;
Looks like I will ha
Michalis Kamburelis wrote:
Try
old_error := XSetErrorHandler(@TempX11ErrorHandler);
(i.e. add "@" there). AFAIK during 2.0.1 some changes were made to
require "@" in more situations when passing pointer to procedure.
This is how it was originaly, I edited to remove the @. Here is the
error
Andrew Haines wrote:
This link might be helpful as well ;)
http://cvs.sourceforge.net/viewcvs.py/lazarus-ccr/gtktrayicon/
I added gtktrayicon.pas to my project and tryed to compile it.
I get an error message (actually I get many errors, but this I could not
fix):
procedure TGtkTrayIcon.Se
Andrew Haines wrote:
This link might be helpful as well ;)
http://cvs.sourceforge.net/viewcvs.py/lazarus-ccr/gtktrayicon/
Uau! This could have saved me many hours...
I cannot see this package on lazarus-crr for download.
http://sourceforge.net/project/showfiles.php?group_id=92177
The only
Hi,
I'm trying to understand the c++ bindings for KDE API to create a
systray icon on KDE. I find some .h files defining some classes, but no
information about where the classes are implemented, and worse, no
information about how they connect to KDE.
I mean, I know no other method for a bin
> Do you mean 8255 works and 8257 not?
Then it is the addition of synchronize support for the gtk interface.
The errors also appear on gtk, but are much, much worse on Windows.
start Lazarus and then close without clicking anything it is enougth on
the latest snapshot to raise 2 exception win
Mattias Gaertner wrote:
No. The current 2.0.3 does not work.
For example:
The unit 'gl' calls FreeLibrary(0). Formerly this worked, now it crashes.
Ok, to clear where the problem is, either FPC or the IDE.
Does it work with 2.0.0???
If it does not work with 2.0.0 it is clearly a problem on t
Andrea Mauri wrote:
I also tried to rebuild lazarus but it gives me 1511 errors during make.
I tried /make clean all /and it gives me 1511 error. A lot of command
syntax error.
Do you have Delphi installed? Looks like you are using Borland Make to
compile Lazarus. Type just "make" on the comm
Hello,
The latest snapshot for win32 and the latest subversion for Linux seam
to be the definition of what I would call unstable.
I installed the latest snapshot on windows on a clean directory. Clicked
the desktop icon. tryed to load a project. crash! and without any
message boxes indicatin
Hi,
I think you may want to use {$MODE Delphi} in the beginning of your
program. It activates delphi compatibility mode and ensures delphi
sintax compiles.
To keep compatible with Delphi I usually write:
unit myunit;
{$IFDEF FPC}
{$MODE Delphi}
{$ENDIF}
.
--
Felipe Monteiro de Carvalho
Arí Ricardo Ody wrote:
You(eu quero dizer voces, Felipe, não tu especificamente, tá?) may
corrupt the language as you want, but please allow me use the
environment as it is known till today. I suggest you adopt abbreviations
for the words you pretend corrupt(f for function, p for procedure and
Vincent Snijders wrote:
If the $IFDEF is already in place, then you could subclass the window
proc yourself too using Windows.SetWindow(Self.Handle, GWL_WNDPROC,
@MyWindowProc)
The use of SetWindowLong caused lot´s of crashes on my app, so I went
back to TForm.WndProc.
I speak once more for
> I don't know if I understand in a correctr form, but I would like to
> ask if FPC/Lazarus haven't any commitment with the language pascal
> syntax.
You do realise they are talking only about the **code explorer**? That
little window to easely reach for procecures / functions in
implementation
Now with backtrace (sorry, never used gdb on the command line before ^^
good to learn):
(gdb) break fpc_raiseexception
Breakpoint 1 at 0x805d8ee
(gdb) run --g-fatal-warnings
Starting program: /home/felipe/Programação/Lente/magnifier --g-fatal-warnings
Reading symbols from shared object read fro
Michael Van Canneyt wrote:
br FPC_RAISEEXCEPTION
Didn't change much the output:
(gdb) break fpc_raiseexception
Breakpoint 1 at 0x805d8ee
(gdb) run --g-fatal-warnings
Starting program: /home/felipe/Programação/Lente/magnifier --g-fatal-warnings
Reading symbols from shared object read from targ
Hello,
> Run with --g-fatal-warnings in gdb. Then you will get the exact point, where
> the gtk gets the wrong parameters.
> This can help us to track down the bug.
Where do I put this parameter? I tryed "gdb --g-fatal-warnings
project_name", but this doesn't work. I also could not find --g or
si
(second post)
Andrew Haines wrote:
use: gdb project_name
and then at the (gdb) prompt: run --g-fatal-warnings
(gdb) run --g-fatal-warnings
Starting program: /home/felipe/Programação/Lente/magnifier
--g-fatal-warnings
Reading symbols from shared object read from target memory...done.
Loaded
Andrew Haines wrote:
and then at the (gdb) prompt: run --g-fatal-warnings
(gdb) run --g-fatal-warnings
Starting program: /home/felipe/Programação/Lente/magnifier
--g-fatal-warnings
Reading symbols from shared object read from target memory...done.
Loaded system supplied DSO at 0xe000
Deta
barko wrote:
The project dialog forms are resizable (lazarus on linux, gtk, latest from
svn). This is not a good behavior, i think :)
Remember that Linux is a system with many differences from distribution
to distribution. Many fonts are not present at some distros, so the
displayed text migh
901 - 1000 of 1166 matches
Mail list logo