[fpc-pascal] Re: creating a standalone executable (eg: application installation file)

2010-01-12 Thread Milan Marusinec
Andreas Schneider wrote: Hi, that works the same as in Windows and can probably be done with every executable format. Simply append the data to the end of the file and store the offset or length of that data at the end. All you have to do then is to let the program open "itself" (ParamStr(0))

[fpc-pascal] Re: creating a standalone executable (eg: application installation file)

2010-01-12 Thread Milan Marusinec
Graeme Geldenhuys wrote: * How does one create such a standalone application? * How do you include the application executable and other resources (text, image, sound files etc) inside such an installation executable? Hello Graeme, I did this on Windows in Delphi, but the principle is pretty th

[fpc-pascal] ACPI WakeUp

2009-03-16 Thread Milan Marusinec
Hello, Does anybody have pascal source for programatical WakeUp in standby mode through ACPI interfaces ? -- Milan Marusinec http://www.CrossGL.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman

[fpc-pascal] Re: Announcing CrossGL

2009-01-29 Thread Milan Marusinec
Graeme Geldenhuys wrote: > On Thu, Jan 29, 2009 at 9:00 AM, Graeme Geldenhuys > wrote: >> Quick question? How does CrossGL compare to AGG or AGG-PAS? It looks > > Ah, no wonder the feature set looked familiar - you worked on AggPas first. :-) > AggPas is pretty awesome. I hope to one day crea

[fpc-pascal] Re: Announcing CrossGL

2009-01-28 Thread Milan Marusinec
Graeme Geldenhuys wrote: > Nice work Milan. Seeing that it's a cross platform graphics library, > it would be very nice if there was cross platform demos. Currently it > only has 3 Windows demos available for download. Doesn't say much for > Linux support. :-( Either way, the Windows demos did r

[fpc-pascal] Announcing CrossGL

2009-01-28 Thread Milan Marusinec
Dear Ladies & Gentlemen, It is my greatest pleasure after a years of development to announce the launch of a brand new general-purpose vector & raster graphics imaging library called CrossGL. Main highlights: * Raster imaging (file formats, bitmap filters, depth conversions) * Full featured set

Re: [fpc-pascal] Re: The reason why linus torvalds hate-pascal

2008-04-15 Thread Milan Marusinec
Joost van der Sluis wrote: Op dinsdag 15-04-2008 om 10:19 uur [tijdzone +0200], schreef Milan Marusinec: Florian Klaempfl wrote: Who is Linus Torvalds? ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman

[fpc-pascal] Re: The reason why linus torvalds hate-pascal

2008-04-15 Thread Milan Marusinec
Florian Klaempfl wrote: Who is Linus Torvalds? ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal http://en.wikipedia.org/wiki/Linus_Torvalds ___ fpc-pa

[fpc-pascal] Re: assitent with Macro translation

2008-03-06 Thread Milan Marusinec
Marco van de Voort wrote: I've started binding libsvn to FPC, and I have encountered the following macro that I do not know how to translate: #define APR_ARRAY_IDX(ary,i,type) (((type *)(ary)->elts)[i]) The usage of such macro is as follows: APR_ARRAY_IDX (new_entries, i, const char *); How ca

[fpc-pascal] Re: Can you knock my socks off ? Can you mimic Skybuck's/Delphi's Major Breakthrough for code path and memory structure selection ?

2008-02-12 Thread Milan Marusinec
Luiz Americo Pereira Camara wrote: Matt Emson wrote: I don't think this guy actually listens to anything anyone says to him. He always seems, to me, to be speaking to an audience, rather than a discussion list. Adios Sybuck Flying, added you to my ignore list ;-) +1 Googling for term "Skyf

[fpc-pascal] Re: Procedures in records not supported :(

2008-02-09 Thread Milan Marusinec
Skybuck Flying wrote: My most recent code uses the new feature "procedures in records". It seems fpc 2.2.0 does not support procedures in records. I was hoping fpc 2.2.0 could replace Delphi 2007 compiler because Delphi 2007 compiler is malfunctioning... I really like this new feature and I

[fpc-pascal] Re: [ann] AggPas 2.4 RM3 update

2008-01-22 Thread Milan Marusinec
For those PASCAL users, who doesn't have a clue about which C/C++ programmers I am talking about in the rest of my announcement, I must admit that I have made a mistake in the content of the message (which was originally addressed to other discussion group). Again, sorry. It's 2.00 am here and I

[fpc-pascal] [ann] AggPas 2.4 RM3 update

2008-01-22 Thread Milan Marusinec
Dear Ladies & Gentleman, I am proud to announce I have just released a new version of AggPas, the Object Pascal port of the wonderful AGG. http://www.aggpas.org A New version of AggPas 2.4 Release Milano 3 is now capable of doing same things it's master library in C/C++ does. On top of that,

[fpc-pascal] Re: Maybe a new fpc book :)

2008-01-02 Thread Milan Marusinec
Hello, 4. Do people make heavy use of Free Pascal objects? I will answer this question in the sence of meaning the object as a type for OOP. Recently in my two pascal projects, which by the way are relatively very current, I used only "objects" and not "

[fpc-pascal] Re: Why this evaluates on "if" wrong ?

2007-10-28 Thread Milan Marusinec
This behaviour normal and while annoying, it is simply how things work in the digital world, you will have to work around it. Daniƫl oh yes, this is one of the possible workarounds: function is_equal_dbl(a ,b : double ) : boolean; const epsilon = 1e-14; begin result:=Abs(a - b ) < epsilon;

[fpc-pascal] Why this evaluates on "if" wrong ?

2007-10-28 Thread Milan Marusinec
Hello folks, This one looks pretty elementary, but to my big surprise it doesn't work as I would expect. I'd like to ask FreePascal compiler creators, how can I safely evaluate double variables in case like this. Sample program with comment is in attachement ... Milano // // Hm. This is reall

[fpc-pascal] Re: Help needed with (JEDI-)SDL on Mac OS X with FPC 2.0.4 powerpc

2007-08-17 Thread Milan Marusinec
Tom Verhoeff wrote: Any idea what I messed up? This is what my command line looks like: fpc -Fu/Users/wstomv/Download/JEDI-SDLv1.0/SDL/Pas -Fl/usr/X11R6/lib -XMSDL_main -k-L/sw/lib -k-lSDL -k-framework -kOpenGL -k-framework -kCocoa -Mdelphi demo02 I would suggest to pass the -k switch this

[fpc-pascal] [Announce] ICU4PAS 3.6

2007-05-25 Thread Milan Marusinec
oriented API. It can be used with Delphi, Kylix and FreePascal compilers and it is cross-platform (Windows & Linux). You can find it at: http://www.icu4pas.org Regards Milan Marusinec ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

[fpc-pascal] [Announce] ICU4PAS 3.6

2007-05-24 Thread Milan Marusinec
object oriented API. It can be used with Delphi, Kylix and FreePascal compilers and it is cross-platform (Windows & Linux). You can find it at: http://www.icu4pas.org Regards Milan Marusinec ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

[fpc-pascal] Re: How to include Carbon.h?

2007-04-20 Thread Milan Marusinec
BlueCat wrote: I have an additional question to Milan. Google tells me that there is AggPas program by Milan, maybe you :-) Does this application use QuickTime API? If QT or MPEG2 file can be easily accessed by FPC, porting my application to Lazarus become quite a favourable choice (but it mus

[fpc-pascal] Re: How to include Carbon.h?

2007-04-20 Thread Milan Marusinec
BlueCat wrote: Hello, Pascal folks, I'm using FPC 2.0.4 on MacOSX 1.4.9 PPC and trying to write a Pascal library that is externally called from REALbasic (Rb). But Rb needs Carbon.h header included in dylibs which are called by Rb programs. To include Carbon.pas in your fpc-mac os X project

[fpc-pascal] Re: Find the nature of a pointer

2006-09-04 Thread Milan Marusinec
Hello Felipe, I have a function that will receive a Handle. That handle could be a pointer to a structure, or a object. Is there any safe way to discover it's nature? What you want is possible with a little adjustment of the classes you want to identify at runtime. Look at the included example