Re: [lazarus] How to develop real applications in Lazarus?

2008-01-28 Thread Albert Zeyer
Am Montag, den 28.01.2008, 10:31 +0100 schrieb [EMAIL PROTECTED]: > Hi, > > I'm working on Hamradio station logging program in Lazarus > (http://cqrlog.sourceforge.net/). I started a few months (maybe a year) > ago in Lazarus 0.9.23 CVS (I don't remember date, I'm on another > computer). Why this

Re: [lazarus] C++ libraries

2008-01-24 Thread Albert Zeyer
Am 25.01.2008 um 02:37 schrieb mramirez: Hi. I was wondering if C++ classes binary "*.obj" files could be accessed from a Free Pascal application. As far as I know this is not possible (yet). The main problem is that the C++ ABI is very complicated and also changes with each GCC version.

Re: [lazarus] Robot2 for MacOSX

2008-01-24 Thread Albert Zeyer
Am 24.01.2008 um 10:31 schrieb Damien Gerard: On Jan 24, 2008, at 12:47 AM, Albert Zeyer wrote: Hi, Just packed it together. Here it is (but only for IntelMac): http://www.az2000.de/downloads/Robot1.7.Mac.zip You have just to click on the robot-Application (robot.app) inside. In a OS X

[lazarus] Robot2 for MacOSX

2008-01-23 Thread Albert Zeyer
Hi, Just packed it together. Here it is (but only for IntelMac): http://www.az2000.de/downloads/Robot1.7.Mac.zip You have just to click on the robot-Application (robot.app) inside. Regards, Albert _ To unsubscribe: mail [EMAIL

[lazarus] Lazarus + Robot2 under MacOSX

2008-01-23 Thread Albert Zeyer
Hey, Just wanted to report that everything works really fine under MacOSX! I am really impressed. I haven't found any big bug which prevents me from working with the native Carbon interface. Some screenshots: http://www.az2000.de/pics/robot2mac_1.png?get http://www.az2000.de/pics/robot2mac_

Re: [lazarus] make, MacOSX

2008-01-23 Thread Albert Zeyer
Am 24.01.2008 um 00:06 schrieb Albert Zeyer: Am 23.01.2008 um 23:48 schrieb Hess, Philip J: Hi Albert, The Lazarus installer creates the lazarus.app bundle and puts the structure inside it that OS X wants. For apps you develop yourself you can use the create_app_mac.sh script to create

Re: [lazarus] make, MacOSX

2008-01-23 Thread Albert Zeyer
d the 2.2.1 FPC just create more problems than it solves? Thanks. -Phil -Original Message----- From: Albert Zeyer [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 23, 2008 4:35 PM To: lazarus@miraclec.com Subject: Re: [lazarus] make, MacOSX Am 23.01.2008 um 23:26 schrieb Tom Gregorov

Re: [lazarus] make, MacOSX

2008-01-23 Thread Albert Zeyer
Am 23.01.2008 um 23:36 schrieb Vincent Snijders: Albert Zeyer schreef: Am 23.01.2008 um 23:02 schrieb Hess, Philip J: http://michael-ep3.physik.uni-halle.de/Lazarus/ Try a snapshot from here. Thanks. Someone should update the files on SF. Release are put on sourceforge, nightlybuilds

Re: [lazarus] make, MacOSX

2008-01-23 Thread Albert Zeyer
Am 23.01.2008 um 23:26 schrieb Tom Gregorovic: On Jan 23, 2008 9:26 PM, Albert Zeyer <[EMAIL PROTECTED]> wrote: Hi, Is there any documentation about the parameters I can pass to the Makefile? I am mainly trying to compile Lazarus directly on my system without using Lazarus f

Re: [lazarus] make, MacOSX

2008-01-23 Thread Albert Zeyer
rt Lazarus and I get very much exactly the same behaviour as last time. The only difference is that I can move the window now, though I cannot focus it and neither click on "Ignore". Regards, Albert -Original Message- From: Albert Zeyer [mailto:[EMAIL PROTECTED] Sent:

Re: [lazarus] make, MacOSX

2008-01-23 Thread Albert Zeyer
Am 23.01.2008 um 23:17 schrieb Damien Gerard: On Jan 23, 2008, at 10:02 PM, Hess, Philip J wrote: http://michael-ep3.physik.uni-halle.de/Lazarus/ Try a snapshot from here. I believe an Intel Mac's can run the PowerPC version via its "Rosetta" technology. Yes but you should not. For co

Re: [lazarus] make, MacOSX

2008-01-23 Thread Albert Zeyer
;darwin-x86" (is this the correct name?)? Thanks, Albert -----Original Message- From: Albert Zeyer [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 23, 2008 3:26 PM To: lazarus@miraclec.com Subject: [lazarus] make, MacOSX Hi, Is there any documentation about the parameters I can p

[lazarus] make, MacOSX

2008-01-23 Thread Albert Zeyer
-Button on this window but I cannot click on it. I even cannot focus the window neither move it or do anything with it. The only thing I can do is pressing Ctrl+C in the console to break it. Any ideas? Any hints? Regards, Albert Zeyer

Re: [lazarus] c++ to object pascal converter

2008-01-22 Thread Albert Zeyer
Thanks for the hint. Sadly I need the same realy for C++ as most of the code is C++ based (a lot of classes). Am Dienstag, den 22.01.2008, 14:20 + schrieb Luis Quental: > On Jan 22, 2008 11:29 AM, Albert Zeyer <[EMAIL PROTECTED]> wrote: > > Hi, > > > > Is there

[lazarus] generics

2008-01-22 Thread Albert Zeyer
Hi, If have just googled a bit about Generics in FPC and the Lazarus Wiki says that they are implemented since FPC 2.3.1. How is the current state? Are they used? Are all the common containers (like list, vector, map, etc.) available as generic classes? In the FPC reference, it seems that

[lazarus] c++ to object pascal converter

2008-01-22 Thread Albert Zeyer
Hi, Is there any automatic C++ to Object Pascal converter? I am thinking of porting a C++ game to Object Pascal and want to have some code as a basic to work with. It's enough if just the syntax got translated and some easy designed objects. Greetings, Albert _

Re: [lazarus] Solution to the BIG compiled file issue!

2008-01-15 Thread Albert Zeyer
Am 15.01.2008 um 20:26 schrieb Vincent Snijders: For creating a successful and strong development tool (which is the goal of the whole project AFAIK) you need not only contributors but users as well... Why needs Lazarus users that contribute nothing? They are testers and they infect othe

Re: [lazarus] Solution to the BIG compiled file issue!

2008-01-15 Thread Albert Zeyer
Am 15.01.2008 um 18:35 schrieb Marco van de Voort: On Tue, Jan 15, 2008 at 06:28:12PM +0200, Albert Zeyer wrote: I've no idea what you mean by that remark. Linux became popular because it was/is easy to install. (OK, not gained by the Linux kernel developers itself but by the comm

Re: [lazarus] Solution to the BIG compiled file issue!

2008-01-15 Thread Albert Zeyer
Am 15.01.2008 um 18:13 schrieb Marco van de Voort: On Tue, Jan 15, 2008 at 05:44:15PM +0200, Albert Zeyer wrote: Andrew Brunner schreef: Vincent: > IOW: I expect Lazarus users to be knowledgeable, Lazarus is not for fools. I offer you all this. The #1 reason why Microsoft Windows (3

Re: [lazarus] Solution to the BIG compiled file issue!

2008-01-15 Thread Albert Zeyer
Am 15.01.2008 um 17:11 schrieb Vincent Snijders: Andrew Brunner schreef: Vincent: > IOW: I expect Lazarus users to be knowledgeable, Lazarus is not for fools. I offer you all this. The #1 reason why Microsoft Windows (3 and up) took off and became so popular was Visual Basic for idiots a

Re: [lazarus] Solution to the BIG compiled file issue!

2008-01-15 Thread Albert Zeyer
Am 15.01.2008 um 17:02 schrieb Andrew Brunner: Vincent: IOW: I expect Lazarus users to be knowledgeable, Lazarus is not for fools. I offer you all this. The #1 reason why Microsoft Windows (3 and up) took off and became so popular was Visual Basic for idiots and Turbo Pascal / Delphi

Re: [lazarus] Laz / Fpc function listing

2007-11-20 Thread Albert Zeyer
Hey, just looked and it and it's realy nice! Just wanted to thank you... Greetings, Albert Am Dienstag, den 20.11.2007, 08:53 +0100 schrieb Tiziano De Togni: > SteveG wrote: > > Would anybody know if there is a listing (or some way of building one) > > of all functions available for Lazarus and

Re: [lazarus] Bad news

2007-11-12 Thread Albert Zeyer
Am Montag, den 12.11.2007, 18:35 +0100 schrieb Marc Weustink: > Leonardo M. Ramé wrote: > > http://www.stevetrefethen.com/blog/IWishTheDelphiCommandLineCompilerWereFree.aspx > > > > Where have I heard such accusations before > Also my first thought. -- Albert ___

Re: [lazarus] What do you thing of this ?

2007-11-06 Thread Albert Zeyer
Please read also this: http://www.heise.de/open/artikel/92735 It's not only that MS-OOXML is useless. There is the usual MS strategy behind. Their goal is to became MS-OOXML as an standard and after to make all its users dependend on MS (because some important parts are not open). Read perhaps al

Re: [lazarus] freeze while resizing a window (GTK2 with rev 12674)

2007-11-01 Thread Albert Zeyer
Am Donnerstag, den 01.11.2007, 22:34 +0700 schrieb Paul Ishenin: > Albert Zeyer пишет: > > Am Donnerstag, den 01.11.2007, 15:35 +0100 schrieb Mattias Gaertner: > > > > > >> Just a guess: Maybe it is an endless loop between gtk and LCL about too > >&

Re: [lazarus] freeze while resizing a window (GTK2 with rev 12674)

2007-11-01 Thread Albert Zeyer
Am Donnerstag, den 01.11.2007, 15:35 +0100 schrieb Mattias Gaertner: > Just a guess: Maybe it is an endless loop between gtk and LCL about too > small widget sizes. I added minimum constraints of 1x1. Can you update > lazarus svn and check if this fixes the problem? I have updated the svn (to rev

Re: [lazarus] freeze while resizing a window (GTK2 with rev 12674)

2007-11-01 Thread Albert Zeyer
Am Donnerstag, den 01.11.2007, 15:19 +0100 schrieb Mattias Gaertner: > On Thu, 01 Nov 2007 15:51:59 +0200 > Albert Zeyer <[EMAIL PROTECTED]> wrote: > > > I stepped through the code and I figured out that I get the message > > exactly at this point: > &

Re: [lazarus] freeze while resizing a window (GTK2 with rev 12674)

2007-11-01 Thread Albert Zeyer
Am Donnerstag, den 01.11.2007, 13:59 +0100 schrieb Mattias Gaertner: > On Thu, 01 Nov 2007 14:23:59 +0200 > Albert Zeyer <[EMAIL PROTECTED]> wrote: > > > On the console, I get all the time: (also when I do nothing) > > [DBGTGT] > > NOTE: TGtkWidgetSet.In

[lazarus] freeze while resizing a window (GTK2 with rev 12674)

2007-11-01 Thread Albert Zeyer
Hi, I got a freeze when I resize my window to a size where one of the panels of the form becames completly hidden (it is moved to the left while making the window smaller; this is because of the Anchors: left, right, bottom). I am using GTK2 and Lazarus rev 12674. On the console, I get all the t

RE: [lazarus] App bundle and icons for x11 apps on macintosh

2007-05-31 Thread Albert Zeyer
I like the X11-version of OO way more better then the native one. The native one works slower, a bit unstable, has less features but on the other side more problems. (But I must admit, I tested it one year ago or so.) And it's also no problem to have X on your Mac OS X, it's installed by default a

Re: [lazarus] Linux WriteLn - Staionary Output - how is done?

2007-05-22 Thread Albert Zeyer
Am Dienstag, den 22.05.2007, 10:09 +0200 schrieb A.J. Venter: > So it's a case of which is your needs - for general console apps > though - you should use ncrt because it's terminal independent and a > LOT faster (ansi escapes take a long time to execute and make your > whole program feel slow) >

Re: [lazarus] Array of Buttons, OnClick how made to work

2007-05-21 Thread Albert Zeyer
Use either {$MODE DELPHI} or ...OnClick := @BtnMenuClick. Am Montag, den 21.05.2007, 11:39 -0700 schrieb Carlos Avogaro: > I have this in Delphi, and the event onClick, work perfect > > for xx do > btnMenu[xx].Height := 25; > btnMenu[xx].Left:= 15; > btnMenu[xx]

Re: [lazarus] (Beryl and )way cool with Lazarus..?

2007-04-13 Thread Albert Zeyer
lication. > > I know that OpenGL is available within Lazarus because the demo > directory includes some code. So it's probably only a matter of time. > > Regards > > David > > Albert Zeyer wrote: > > > This (AIGLX) is to prefer over XGL, because it doesn&#

Re: [lazarus] (Beryl and )way cool with Lazarus..?

2007-04-13 Thread Albert Zeyer
This (AIGLX) is to prefer over XGL, because it doesn't add a complete X11-layer and it allows the usage of hardware accelerated OpenGL through it: http://wiki.beryl-project.org/wiki/Install_Beryl_on_Ubuntu_Edgy_with_AIGLX But all this isn't related to the software you run within. You only change t

RE: [lazarus] History of the widget set design?

2007-04-02 Thread Albert Zeyer
Am Montag, den 02.04.2007, 18:22 -0400 schrieb Hess, Philip J: > A Mac feels much more "alive" than other computers. For example, when logging > in if you mistype your password the login dialog briefly wiggles from side to > side as if shaking its head no at you. You get the point instantly. On

Re: [lazarus] Question: Multiprocessor Systems

2007-03-02 Thread Albert Zeyer
I don't know if there is any possibility to define the CPU, on which a special thread should run on. Is there any? Because usually, this is something your OS should handle because it knows best about all the other parallel processes. And it's perhaps not always the best solution for your applicati

Re: [lazarus] Compiled Linuxy Binary Compatibility/A bit (OT)

2007-01-16 Thread Albert Zeyer
surely recommend you to distribute the source. :) And you are right: Only if you distribute the source, you can ensure, that your application will run nearly everywhere. Am Dienstag, den 16.01.2007, 14:10 -0500 schrieb Lee Jenkins: > Albert Zeyer wrote: > > Hi > > > > There a

Re: [lazarus] Compiled Linuxy Binary Compatibility/A bit (OT)

2007-01-16 Thread Albert Zeyer
Hi There are severeal parts you should seperate: Firstly, all the hardware-stuff: On the one hand, you have the CPU architecture. It is easy to investigate (Wikipedia is your friend), which architecture is compatible with some other. For example, you have 386 < 486 < 586/pentium1/amd_k6 < 686/al

Re: [lazarus] Re: Linking Fails: cannot find -lglib

2007-01-16 Thread Albert Zeyer
nable to find the FPC sources. > > Original Message: > - > From: Albert Zeyer [EMAIL PROTECTED] > Date: Tue, 16 Jan 2007 14:39:59 -0100 > To: lazarus@miraclec.com > Subject: Re: [lazarus] Re: Linking Fails: cannot find -lglib > > > Am Dienstag, den 16.01.2007, 10:16

Re: [lazarus] Linking Fails: cannot find -lglib

2007-01-16 Thread Albert Zeyer
This is the Debian way. Under Portage, you don't need extra packages for this. If you want to activate/deactivate something, you simply use USE flags. But in this case, you always got the header-files, they are installed by default. Am Dienstag, den 16.01.2007, 09:26 +0200 schrieb Dave Coventry:

Re: [lazarus] Re: Linking Fails: cannot find -lglib

2007-01-16 Thread Albert Zeyer
Am Dienstag, den 16.01.2007, 10:16 +0200 schrieb Dave Coventry: > Oops. > > This is possibly the crux of my problem. > > CoLinux cannot access any of the hardware on the machine, so I use a > Virtual Desktop called Xming which acts as a VNC client similar to TightVNC. > > So I don't actually h

Re: [lazarus] Search Dialog

2006-10-17 Thread Albert Zeyer
Am Dienstag, den 17.10.2006, 17:22 +0200 schrieb Lord Satan: On Tue, 17 Oct 2006 11:51:42 +0200 "Sam Washkansky" <[EMAIL PROTECTED]> wrote: > Problem solved and now I'm a happy camper. Campers get fragged first. Exactly!

Re: [lazarus] how are interfaces / virtual functions handled internally

2006-10-10 Thread Albert Zeyer
Am Freitag, den 06.10.2006, 15:13 + schrieb Albert Zeyer: Am Donnerstag, den 05.10.2006, 15:08 +0200 schrieb Christian Iversen: On Thursday 05 October 2006 16:48, Albert Zeyer wrote: > Hi > > I am working on a very huge object-system, that means, I will have > thous

Re: [lazarus] how are interfaces / virtual functions handled internally

2006-10-06 Thread Albert Zeyer
Am Donnerstag, den 05.10.2006, 15:08 +0200 schrieb Christian Iversen: On Thursday 05 October 2006 16:48, Albert Zeyer wrote: > Hi > > I am working on a very huge object-system, that means, I will have > thousands objects and more in the memory. > I am now thinking on how t

[lazarus] how are interfaces / virtual functions handled internally

2006-10-05 Thread Albert Zeyer
Hi I am working on a very huge object-system, that means, I will have thousands objects and more in the memory. I am now thinking on how to redrucing the needed memory for each object to a minimum. The base of all objects is abstract, that means, I could use an interface for it or an abstract

Re: [lazarus] Building 32-bit Lazarus on a 64-bit Suse 10.1

2006-09-26 Thread Albert Zeyer
Am Dienstag, den 26.09.2006, 09:18 -0400 schrieb David B Copeland: Hi all, I can't recall if this question has been answered before, but ... I am running 63-bit Suse 10.1, and I'm trying to install/build 32 bit Lazarus. FPC 2.1.1 32-bit is installed. Lazarus seems to compile fine, but the l

RE: [lazarus] Help!!

2006-09-22 Thread Albert Zeyer
Am Freitag, den 22.09.2006, 12:16 -0500 schrieb frogeye:   I have the keywords and flags set properly, I think.  I foiled a bug with gentoo, aahd was politely informed that I needed  to emerge a current version of findutils.  After doing that, I was able to emerge fpc 2.0.4., but

Re: [lazarus] Screenshot tool under Linux

2006-09-22 Thread Albert Zeyer
Am Freitag, den 22.09.2006, 14:01 + schrieb Albert Zeyer: If you hit Alt+Print (I think it was Alt, perhaps it could also be Shift or Ctrl) will make a screenshot of the selected window in the foreground under Gnome. This is this very usefull and make a screenshot of a special region

Re: [lazarus] Screenshot tool under Linux

2006-09-22 Thread Albert Zeyer
If you hit Alt+Print (I think it was Alt, perhaps it could also be Shift or Ctrl) will make a screenshot of the selected window in the foreground under Gnome. This is this very usefull and make a screenshot of a special region redundantly for me. But you can use Gimp, Gimp can also make screen

RE: [lazarus] Help!!

2006-09-22 Thread Albert Zeyer
Am Freitag, den 22.09.2006, 13:38 + schrieb Albert Zeyer: Am Donnerstag, den 21.09.2006, 21:21 -0500 schrieb frogeye: I get the same error on amd 64 gentoo trying to emerge fpc 2.0.4 : missing argument to -exec But while I can emerge 2.0.2, it doesn’t

RE: [lazarus] Help!!

2006-09-22 Thread Albert Zeyer
fpc-2.0.4 compiles fail and complains about a parameter of -exec. However, it works if I use fpc-2.0.2 On 9/22/06, Albert Zeyer <[EMAIL PROTECTED]> wrote: Which error? Please write the full last ~20-30 lines of the emerge. Most known errors are als

Re: [lazarus] Help!!

2006-09-22 Thread Albert Zeyer
9/22/06, Albert Zeyer <[EMAIL PROTECTED]> wrote: Which error? Please write the full last ~20-30 lines of the emerge. Most known errors are also reported on http://bugs.gentoo.org, you often also find there a solution for a problem. But I don&#

Re: [lazarus] deploy an application

2006-09-21 Thread Albert Zeyer
Am Donnerstag, den 21.09.2006, 14:32 +0200 schrieb Andrea Mauri: Hi to all, I build a little application that I would like to deploy by the web. I compiled both on Windows and Linux. For the Windows application I used InnoSetup, I deploy only the exe file. I need to deploy some libraries too

Re: [lazarus] Help!!

2006-09-21 Thread Albert Zeyer
t; >> /etc/portage/package.use Am Donnerstag, den 21.09.2006, 11:58 +0800 schrieb Jonathan Chiu: I tried with emerge lazarus in gentoo but error found in compile time of fpc. On 9/19/06, Albert Zeyer <[EMAIL PROTECTED]> wrote: Am Montag, den 18.09.2006, 09:57

Re: [lazarus] Help!!

2006-09-18 Thread Albert Zeyer
Am Montag, den 18.09.2006, 09:57 +0700 schrieb Colin Lehmann: > Well I give up, I simply cannot get anything to work. I have changed the > compiler path, the lazarus path, done make clean all so may times I can > do it in my sleep. > This afternoon I am going to re-install Ubuntu and start a

Re: [lazarus] Hello world (no output)

2006-09-12 Thread Albert Zeyer
The created binary (the EXE-file on Windows) should be in the project-path, that is, where you saved your project. If you have not saved it till now, the binary is in your /tmp directory. The output of the program itself can be seen on the console. So run your program in any terminal (on Windo

Re: [lazarus] My fpc file

2006-09-12 Thread Albert Zeyer
Am Dienstag, den 12.09.2006, 17:17 +0700 schrieb Colin Lehmann: ... Searching file fpc.cfg... not found Configfile search: /home/colin/.fpc.cfg Searching file /home/colin/.fpc.cfg... found Reading options from file /home/colin/.fpc.cfg ... So it seems that fpc is using the /

Re: [lazarus] Fast Named InterfaceList access

2006-09-11 Thread Albert Zeyer
I don't think so. You have another problem with your current implementation: The reference counting of your interfaces will not work. You have to call manually the _AddRef and _Release of the interface after adding them to the list and removing them. You also can't use FList.Clear, because then

Re: [lazarus] Installing....

2006-09-11 Thread Albert Zeyer
If you have updatet FPC last time, check the correctness of the unit-path in your /etc/fpc.conf. I had the same error on saterday and this was my fault. Albert Am Montag, den 11.09.2006, 08:54 +0700 schrieb Colin Lehmann: I have been struggling with the installation of Lazarus for two days

Re: [lazarus] Stretching a PNG

2006-09-08 Thread Albert Zeyer
Am Freitag, den 08.09.2006, 03:56 -0300 schrieb Flávio Etrusco: I've seen many sh***y things coming from MS through the years, but I you really saying that their stretch (down) algorithm is worst than "copy every Nth pixel"??? This is something I'll have to see before my eyes ;-) Yes, I d

Re: [lazarus] Stretching a PNG

2006-09-07 Thread Albert Zeyer
Hi Are you using Windows? I recognized that the StretchBlt in the Windows API sometimes results in crappy effects while scaling down a picture. On GTK, I don't have this effects. To avoid such effect, I coded a very simple own Stretch-Function: Excerpt from my little sample game Robot: proce

Re: [lazarus] class-references

2006-08-22 Thread Albert Zeyer
Am Dienstag, den 22.08.2006, 10:15 +0200 schrieb Graeme Geldenhuys: On 8/21/06, Mattias Gaertner <[EMAIL PROTECTED]> wrote: > > TTestObject.Create won't ever be called (only TBaseTestObject.Create > > will be, but if I use TClass instead of TBaseTestClass, it also won't > > be). It also makes

Re: [lazarus] class-references

2006-08-21 Thread Albert Zeyer
Am Montag, den 21.08.2006, 19:17 +0200 schrieb Mattias Gaertner: On Mon, 21 Aug 2006 14:30:06 + Albert Zeyer <[EMAIL PROTECTED]> wrote: > > With TPersistent it would work like this > >TMyBase = class(TPersistent) > >public > > function CreateCop

Re: [lazarus] class-references

2006-08-21 Thread Albert Zeyer
> I think, RTTI is very powerfull and there should be a way to do the > same as above without a virtual constructor. But is it clean? To use RTTI you must derive from TPersistent or use the {$M+} directive. > In practice, I have a abstract base class with a function like this: > > functi

[lazarus] cast interface to object

2006-08-20 Thread Albert Zeyer
Hi, Is there a way to cast an interface to an object? If I have an interface: IBlub = interface   function GetSomething(): TObject; end; And somewhere, I have: var   Blub: IBlub; ... Therefore, Blub is an interface-reference to some object which implements the interface. How can I get thi

[lazarus] class-references

2006-08-20 Thread Albert Zeyer
Hello, I want to use class-references (class of SOMECLASS) as a way for a dynamic object factory. First I tried it with the predefined type TClass (:= class of TObject), but this doesn't work, because Create is not virtual in TObject (it costs some time to find out that this is the problem, ne

Re: [lazarus] HashMap

2006-08-17 Thread Albert Zeyer
The SDL port is very interesting. All data structures I missed are there. I will take a deeper look tomorrow, but I think, this is what I want. Albert Am Donnerstag, den 17.08.2006, 12:02 +0200 schrieb Burkhard Carstens: Am Donnerstag, 17. August 2006 13:16 schrieb Albert Zeyer: > Wh

Re: [lazarus] HashMap

2006-08-17 Thread Albert Zeyer
right, this should be merged into the FPL tree. Albert Am Donnerstag, den 17.08.2006, 11:25 +0200 schrieb Mattias: On Thu, 17 Aug 2006 11:16:58 + Albert Zeyer <[EMAIL PROTECTED]> wrote: > Which one do you mean? I only find there a few special lists. > > But I need an implemen

Re: [lazarus] HashMap

2006-08-17 Thread Albert Zeyer
ction because my key elements are object pointers. Albert. Am Donnerstag, den 17.08.2006, 08:08 +0200 schrieb Michael Van Canneyt: On Thu, 17 Aug 2006, Albert Zeyer wrote: > Hi there. > > Is there any HashMap-implementation in the units of FPC? I didn't find > one. Is an implemenent

Re: [lazarus] reference-counting

2006-08-17 Thread Albert Zeyer
No, it will not. Reference counting with interfaces only works if you use interfaces as referencing types (so it has to be 'var MyObject: IUnknown'), all class-typed variables will not counted. I think this is because all class-typed variables are simply pointers and an interface variable is ha

[lazarus] reference-counting

2006-08-16 Thread Albert Zeyer
Hi, Is there a way to use the reference counting (used with interfaces) with normal objects? Albert

Re: [lazarus] Debug idea

2006-08-16 Thread Albert Zeyer
That's only partly true. I think it cames with VB4 (32 Bit Version), VB5 or even only with VB6, but there you could choose to compile a real native Win32-EXE (which completly depends on the runtime DLL). That is not the same (but the speed increases aren't much higher in the native version the