Re: [fpc-pascal] accessing hardware ports in FPC

2007-05-22 Thread Felipe Monteiro de Carvalho
work on linux without ioperm you would need to make the ioperm call inside ports getter and setter methods, which can be significant overhead for software that need to reliably access hardware every microsecond for example. -- Felipe Monteiro de Carvalho

Re: [fpc-pascal] UTF-8 versions of Copy() and Length()

2007-05-19 Thread Felipe Monteiro de Carvalho
, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] UTF-8 versions of Copy() and Length()

2007-05-19 Thread Felipe Monteiro de Carvalho
to create another unit, or rename this one, and that's unnecessary work -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] UTF-8 versions of Copy() and Length()

2007-05-19 Thread Felipe Monteiro de Carvalho
, that's irrelevant, because the functions are already done. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] UTF-8 versions of Copy() and Length()

2007-05-19 Thread Felipe Monteiro de Carvalho
On 5/19/07, Rimgaudas Laucius [EMAIL PROTECTED] wrote: Performance: Length (UTF8) = UTF8-UTF16 2*Lenth(UTF8) UTF8-UTF16 I don't understand what you are trying to say here. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal

Re: [fpc-pascal] UTF-8 versions of Copy() and Length()

2007-05-19 Thread Felipe Monteiro de Carvalho
in your executable, unless you really want it. Plus I don´t remember any tables on the utf function on Lclproc, but maybe I didn´t pay enougth attention -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] writing programs for non Intel Processors

2007-05-18 Thread Felipe Monteiro de Carvalho
CE http://en.wikipedia.org/wiki/Windows_CE#Relationship_to_Windows_Mobile.2C_Pocket_PC.2C_and_SmartPhone Further, the processor is ARM 5, which FPC supports AFAIK So, we should have everything in place. -- Felipe Monteiro de Carvalho ___ fpc-pascal

Re: [fpc-pascal] accessing hardware ports in FPC

2007-05-18 Thread Felipe Monteiro de Carvalho
The port array will fail on NT versions of windows. Better to use the methods described here: http://wiki.lazarus.freepascal.org/Hardware_Access -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] writing programs for non Intel Processors

2007-05-17 Thread Felipe Monteiro de Carvalho
On 5/17/07, Daniël Mantione [EMAIL PROTECTED] wrote: There is a good chance you can. Please try the Windows CE port and see if the programs work on your phone. Link to the wince port tutorial: http://wiki.freepascal.org/WinCE_port -- Felipe Monteiro de Carvalho

Re: [fpc-pascal] Steps to achieve i386-wince

2007-05-17 Thread Felipe Monteiro de Carvalho
the target (first compile the source into assembler, then assemble and then link), and on the worse case by modifying the compiler sources. I managed to get FPC working with the CodeWarrior Linker for x86, and there is no specific support on the compiler for it, and yet it worked. -- Felipe Monteiro de

[fpc-pascal] FPC version defines

2007-05-17 Thread Felipe Monteiro de Carvalho
Hello, What are the FPC defines for it's versions? I would like to separate some code from FPC 2.0.4 and FPC 2.2 (actually development 2.1) due to some bugs in 2.0.4 that were corrected on 2.1 thanks, -- Felipe Monteiro de Carvalho ___ fpc-pascal

Re: [fpc-pascal] FPC version defines

2007-05-17 Thread Felipe Monteiro de Carvalho
thanks -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] in order to create a cross fpc

2007-05-02 Thread Felipe Monteiro de Carvalho
On 5/2/07, josepascual (almudi) [EMAIL PROTECTED] wrote: In order to generate a cross fpc is only necessary as, ld from binutils? So I shouldn't need all toolschain? (gcc, libc, ...) To create a cross fpc you don't need gcc or libc. After all we are talking about pascal =) -- Felipe Monteiro

Re: [fpc-pascal] writing device driver using FPC

2007-04-05 Thread Felipe Monteiro de Carvalho
changes to the internal linker. Another (maybe easier) option is to use the microsoft assembler and linker that come with the ddk. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org

Re: [fpc-pascal] Fpc running in Zeta?

2007-03-29 Thread Felipe Monteiro de Carvalho
But is there such a thing as a free download of beos? -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Fpc running in Zeta?

2007-03-29 Thread Felipe Monteiro de Carvalho
The wikipedia article about zeta doesn´t look very promissing: http://en.wikipedia.org/wiki/Magnussoft_ZETA On 3/29/07, Matt Emson [EMAIL PROTECTED] wrote: As porting FPC to BeOS for PowerPC is impossible, I'll not dwell on that ;-) why? -- Felipe Monteiro de Carvalho

Re: [fpc-pascal] Fpc running in Zeta?

2007-03-29 Thread Felipe Monteiro de Carvalho
wrong with codewarrior? They don´t like to release assemblers??? -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Summer of code - Lazarus or FPC

2007-03-17 Thread Felipe Monteiro de Carvalho
to copy what I wrote on the final proposal, but it´s basically what was on the list -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] C++ Name Mangling

2007-03-15 Thread Felipe Monteiro de Carvalho
like to avoid that, but it seams that it´s easier to use a c wrapper in fact. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] C++ Name Mangling

2007-03-15 Thread Felipe Monteiro de Carvalho
One thing that just came to me is writting a c wrapper, but don´t put it on a DLL. Instead compile it into a object files, and link them. This way I have the portability of a c wrapper, but I don´t need external DLLs =) -- Felipe Monteiro de Carvalho

[fpc-pascal] C++ Name Mangling

2007-03-14 Thread Felipe Monteiro de Carvalho
Hello, Does anyone know a good way to find out the name of a exported method on C++ I am trying to link to C++ from Symbian OS. The method is declared like this: class User : public UserHeap { public: . IMPORT_C static TInt InfoPrint(const TDesC aDes); Normally I would guess

Re: [fpc-pascal] Embedded web server

2007-03-14 Thread Felipe Monteiro de Carvalho
On 3/14/07, Leonardo M. Ramé [EMAIL PROTECTED] wrote: Thanks Michael, can you point me to the urls of that products? http://wiki.lazarus.freepascal.org/lNet fpc-xml should be part of a normal fpc installation afaik ___ fpc-pascal maillist -

Re: [fpc-pascal] C++ Name Mangling

2007-03-14 Thread Felipe Monteiro de Carvalho
On 3/14/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Try the demangling code from valgrind... I took a look at valgrind website, and it seams to only work on Linux. Is that right? The Symbian SDK only works on Windows, so they cannot be utilized together. thanks, -- Felipe Monteiro de

Re: [fpc-pascal] C++ Name Mangling

2007-03-14 Thread Felipe Monteiro de Carvalho
it is compatible with GCC with respect to the name mangling. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] C++ Name Mangling

2007-03-14 Thread Felipe Monteiro de Carvalho
was looking for is called: [EMAIL PROTECTED]@@SAHABVTDesC16@@@Z Bizarre, neh? Now that name isn´t a valid identifier for GNU Assembler ... but I should probably ask about that on a GNU As group. thanks a lot, -- Felipe Monteiro de Carvalho ___ fpc-pascal

Re: [fpc-pascal] Wikies

2007-02-23 Thread Felipe Monteiro de Carvalho
On 2/23/07, Vincent Snijders [EMAIL PROTECTED] wrote: Felipe, as you have noticed, I have unblocked the main page. Please let me know when you are finished with it. I am finished. It can be improved, but I'm out of ideas =) -- Felipe Monteiro de Carvalho

Re: [fpc-pascal] Wikies

2007-02-20 Thread Felipe Monteiro de Carvalho
I move that to the main page? I think that even my trivial solution is much better then the current solution: No links to fpc stuff at all. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] Wikies

2007-02-20 Thread Felipe Monteiro de Carvalho
On 2/20/07, Florian Klaempfl [EMAIL PROTECTED] wrote: I added the important fpc stuff already to the main page? Sorry, I don´t understand what you mean. Can you explain better? I just went to the main page and couldn´t find fpc things: http://wiki.freepascal.org/ -- Felipe Monteiro de

Re: [fpc-pascal] Commercial components port taskforce

2007-02-17 Thread Felipe Monteiro de Carvalho
must improve, and lazarus component support improve, before they consider porting their components? I also didn´t get who is going to do the porting work. I couldn´t understand if tms team will handle this or you are asking for help, or something else. -- Felipe Monteiro de Carvalho

Re: [fpc-pascal] Commercial components port taskforce

2007-02-17 Thread Felipe Monteiro de Carvalho
interface improves, or until Gtk 2 port to native Mac OS X is completed. As for IDE support, I wonder what they mean by that. Maybe dynamically loading packages? -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

[fpc-pascal] Wikies

2007-02-11 Thread Felipe Monteiro de Carvalho
the 2 main pages could be merged or something like this. thanks, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Different Object Code formats

2007-01-26 Thread Felipe Monteiro de Carvalho
it does under MacOS for PEF target. It might be a lot simpler to implement their native object format as, at least under PowerPC, the COFF support sucks. That would be interresting to know. Just hope someone on symbian forum knows about this... thanks, -- Felipe Monteiro de Carvalho

Re: [fpc-pascal] dll with windows impossible???

2007-01-25 Thread Felipe Monteiro de Carvalho
On 1/25/07, Michael Van Canneyt [EMAIL PROTECTED] wrote: As you discovered, it was not the case: -gl is also debug info. This is a known problem, and is already in the bugtracker if I remember correctly. Strangly, it works here with -gl set. -- Felipe Monteiro de Carvalho

Re: [fpc-pascal] cross compile for WinCE under Linux

2007-01-18 Thread Felipe Monteiro de Carvalho
to use the cross-compiler it to test the application on the emulator, but.. microsoft created the emulator =) So it only runs on Windows. Basically it´s possible, but it will be a lot of work, and the end result may not be good. -- Felipe Monteiro de Carvalho

Re: [fpc-pascal] Good revision on wince cross-compiler

2006-12-09 Thread Felipe Monteiro de Carvalho
latest subversion lazarus the app loads, shows on screen, and then crashes. The same with 10204. I will test with even older revisions to see if they work. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] Good revision on wince cross-compiler

2006-12-09 Thread Felipe Monteiro de Carvalho
On 12/8/06, Gabor Boros [EMAIL PROTECTED] wrote: 5191 works very well for me. Which Lazarus revision do you use? I tested very old ones, but they refuse to compile, due to changes on the FCL or RTL. The current stable snapshot we work with is about 5 months old now. -- Felipe Monteiro de

Re: [fpc-pascal] Good revision on wince cross-compiler

2006-12-09 Thread Felipe Monteiro de Carvalho
Ok, I just found out that the OnCreate of that program was creating a TCustomControl descendent. That seams to crash the application on wince. Removing it and having only a simple program with a form and some buttons works ok with latest subversion Lazarus =) -- Felipe Monteiro de Carvalho

Re: [fpc-pascal] UML state machine drawing tool

2006-12-08 Thread Felipe Monteiro de Carvalho
/modelmaker/index.html It supports Object Pascal. You can download a Demo to test. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] embedded database

2006-11-25 Thread Felipe Monteiro de Carvalho
effort (because it´s made on c), but has only one external library to be deployed. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] How can i detect what cause the problem

2006-11-14 Thread Felipe Monteiro de Carvalho
one. You can check all function names exported by the function using this software: http://wiki.lazarus.freepascal.org/Libview -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman

Re: [fpc-pascal] Trying to convert some C code

2006-11-07 Thread Felipe Monteiro de Carvalho
; cdecl; As you can see this code won't compile, you need to also find the declaration of BN_ULONG and define it. Also put ctypes on the uses clause. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] Resending: Trying to convert some C code

2006-11-07 Thread Felipe Monteiro de Carvalho
ops .. only now I saw this. You don't need to encapsulate the procedure variable inside a real procedure. You can call a procedure variable, like if it was a procedure. Try this code: Unit bn; {$MODE DELPHI}{$H+} {$packrecords c} interface uses ctypes, DynLibs; type bignum_st = record

Re: [fpc-pascal] Compiling problems

2006-11-03 Thread Felipe Monteiro de Carvalho
://www.freepascal.org/wiki/index.php/WinCE_port#Building_FPC_libraries -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Problem with multiple inheritance

2006-11-03 Thread Felipe Monteiro de Carvalho
On 11/3/06, Matt Emson [EMAIL PROTECTED] wrote: Oh, whilst were speaking, In the future, make this kind of comments in private, not in the middle of a technical discussion. This has no place on this thread. ___ fpc-pascal maillist -

Re: [fpc-pascal] Compiling problems

2006-11-03 Thread Felipe Monteiro de Carvalho
/index.php/WinCE_port -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Compiling problems

2006-11-03 Thread Felipe Monteiro de Carvalho
it was tested. Not sure where to put a link to this page, surely not on the main page. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Compiling problems

2006-11-03 Thread Felipe Monteiro de Carvalho
I created such page here: http://www.freepascal.org/wiki/index.php/Tested_Unstable_Revisions I linked it from the FPC wiki page, instead of the main page, because I consider it not important enougth for the main page. I will also add a link on the WinCE page -- Felipe Monteiro de Carvalho

Re: [fpc-pascal] Compiling problems

2006-11-03 Thread Felipe Monteiro de Carvalho
On 11/3/06, Florian Klaempfl [EMAIL PROTECTED] wrote: Please don't use something like ... and higher but a range instead: 5091 to 5114 - unusable on win32, win64 and wince If it's later fixed people might think, it's still not fixed. thanks for the hint, fixed. -- Felipe Monteiro de Carvalho

Re: [fpc-pascal] Eye Candy Contest

2006-11-02 Thread Felipe Monteiro de Carvalho
They may also want to take a look at the Virtual Magnifying Glass:http://sourceforge.net/project/screenshots.php?group_id=60638 Almost 250.000 downloads now =) on 3 platforms-- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal

Re: [fpc-pascal] Eye Candy Contest

2006-11-02 Thread Felipe Monteiro de Carvalho
On 11/1/06, Marc Weustink [EMAIL PROTECTED] wrote: Ehm how to get there from the main site (and shouldn't lazarus bethere as well) ?It has:http://wiki.lazarus.freepascal.org/Lazarus_Application_Gallery --Felipe Monteiro de Carvalho ___ fpc-pascal

[fpc-pascal] Problem with multiple inheritance

2006-11-02 Thread Felipe Monteiro de Carvalho
it work with FP? Note that Qt requires that all methods to receive events, and signals be from objects (I cannot use a procedure to receive events). thanks, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] Order of {$H+} and OBJFPC

2006-10-26 Thread Felipe Monteiro de Carvalho
On 10/9/06, Jeff Pohlmeyer [EMAIL PROTECTED] wrote: Is this a bug fix, or a new bug? Seams a bug fix to me. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc

Re: [fpc-pascal] Problem with string conversion

2006-10-20 Thread Felipe Monteiro de Carvalho
On 10/20/06, Marco van de Voort [EMAIL PROTECTED] wrote: Did you include cwstring as first unit in your project? thanks, I didn't know I had to. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] Problem with string conversion

2006-10-20 Thread Felipe Monteiro de Carvalho
On 10/20/06, Marco van de Voort [EMAIL PROTECTED] wrote: Did you include cwstring as first unit in your project? Oh, that doesn´t work. I forgot to mention I am on Windows, where this unit isn´t available. -- Felipe Monteiro de Carvalho ___ fpc

Re: [fpc-pascal] Problem with string conversion

2006-10-20 Thread Felipe Monteiro de Carvalho
, a wrong character will appear on the place of the line-ending marker. thanks, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Problem with string conversion

2006-10-20 Thread Felipe Monteiro de Carvalho
-terminator? I confirmed that size already counts the null-terminator. Some other questions are still unanswered, namely 2 and 5 thanks, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] Qt4 binding ported to 64bit

2006-10-20 Thread Felipe Monteiro de Carvalho
If that is the case it would be even better if qtopia stuff was added too. And even much better if qtopia was added too. Is it possible to have 1 qt4.pas file for qtx11, qtwin, qtmacosx and qtopia (or qt/embedded)? thanks, -- Felipe Monteiro de Carvalho

[fpc-pascal] Problem with string conversion

2006-10-19 Thread Felipe Monteiro de Carvalho
(Size); Utf8ToUnicode(WideText, PChar(AText), Size); FreeMem(WideText); end; When I execute this procedure above, I will get an error on the end of the program: External: Sigsegv System_remove_from_list_fixed any ideas? thanks, -- Felipe Monteiro de Carvalho

Re: [fpc-pascal] DBus Bindings

2006-10-15 Thread Felipe Monteiro de Carvalho
. It's only getting to 1.0 now, so it's not that bad. My bindings will also have to be updated to 1.0. Currently they are for 0.62 -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman

[fpc-pascal] DBus Bindings

2006-10-13 Thread Felipe Monteiro de Carvalho
the bus? Any other ideas? thanks, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Apache and dbus headers

2006-10-12 Thread Felipe Monteiro de Carvalho
inter-process communication library: http://www.freepascal.org/wiki/index.php/FPC_and_DBus Just thought you guys could find this information useful. thanks, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] Apache and dbus headers

2006-10-12 Thread Felipe Monteiro de Carvalho
the details of this in private. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] .NET FAQ

2006-10-04 Thread Felipe Monteiro de Carvalho
is the only thing that runs on many cell phones. It´s impossible to port Free Pascal (and thus our pascal softwares) to these platform without making a java port. So that´s the use of Java. To add support for phones. -- Felipe Monteiro de Carvalho ___ fpc

Re: [fpc-pascal] .NET FAQ

2006-10-04 Thread Felipe Monteiro de Carvalho
. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] .NET FAQ

2006-10-04 Thread Felipe Monteiro de Carvalho
are of inferior quality when comparated to native software' -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] .NET FAQ

2006-10-04 Thread Felipe Monteiro de Carvalho
application for them. In some cases the hardware is a physical implementation of the JVM. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] .NET FAQ

2006-10-04 Thread Felipe Monteiro de Carvalho
abandoned and has very poor support for pascal standard RTL. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] .NET FAQ

2006-10-03 Thread Felipe Monteiro de Carvalho
cannot do. We should also think it may be inevitable to write a .NET port in the very long future (10 years?), if microsoft decides to obsolete windows api by that time. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal

Re: [fpc-pascal] FPC with PocketPC... any others?

2006-10-03 Thread Felipe Monteiro de Carvalho
On 10/3/06, Alexandre Leclerc [EMAIL PROTECTED] wrote: I see FPC can compile for PocketPC? Can it compile on other devices? (i feel ms is not the only player in the arena...) Take a look here: http://www.freepascal.org/wiki/index.php/Platform_list#Supported_targets_for_ARM -- Felipe Monteiro

Re: [fpc-pascal] RE: Problem translating c code to pascal

2006-09-30 Thread Felipe Monteiro de Carvalho
of the array. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Problem translating c code to pascal

2006-09-24 Thread Felipe Monteiro de Carvalho
is null. Or NULL could represent that the array is of size 1 not 2. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] 16bit String

2006-09-08 Thread Felipe Monteiro de Carvalho
Doesn´t WideString do the job for you? If you want a array of chars you can just use: MyString: array[0..255] of WideChar; -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman

Re: [fpc-pascal] Data exchange between programs

2006-09-06 Thread Felipe Monteiro de Carvalho
between programs. It´s also cross-platform. I translated dbus headers to Pascal, and I will very soon (perhaps today?) make a release of them. I will also translate this tutorial to pascal: http://dbus.freedesktop.org/doc/dbus/libdbus-tutorial.html -- Felipe Monteiro de Carvalho

Re: [fpc-pascal] Linux-64 distro recommendation

2006-09-05 Thread Felipe Monteiro de Carvalho
I make pure 64 bits builds on a 32 bits platform? You want to cross compile from 32 bits to 64 bits? -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Slow compilation

2006-09-02 Thread Felipe Monteiro de Carvalho
? And what is your computer information? Such as RAM, cpu clock, etc -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Slow compilation

2006-09-01 Thread Felipe Monteiro de Carvalho
On 9/2/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, does anyone know why lazarus have a slow compilation? I suppose you are talking about windows, right? Then it´s a faq: http://wiki.lazarus.freepascal.org/Lazarus_Faq#Why_is_the_linking_so_slow_on_Windows.3F -- Felipe Monteiro de

[fpc-pascal] Re: [fpc-devel] FPC 2.0.4 is out!

2006-08-29 Thread Felipe Monteiro de Carvalho
packages. There are some files to build a package on subversion. I´m not sure if they are compile. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] DLL and Shared Libs in FPC

2006-08-06 Thread Felipe Monteiro de Carvalho
without any problems. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Threading in FPC on Win32 and Linux

2006-08-06 Thread Felipe Monteiro de Carvalho
/Multithreaded_Application_Tutorial And it should work on all supported platforms. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Magnifier vs xmag

2006-08-05 Thread Felipe Monteiro de Carvalho
to download the source code from CVS. You can compile it with a simple make, or opening the project on Lazarus IDE. You also need to install it before using, with make install. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal

Re: [fpc-pascal] Magnifier vs xmag

2006-08-05 Thread Felipe Monteiro de Carvalho
On 8/5/06, Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: I just commited a patch that makes it also work on Unixes. It will require at least Lazarus 0.9.16 to work correctly. Lol! I feel like Mattias doing that. To show the RGB value of the pixel you need to select the Graphical Tools

Re: [fpc-pascal] Magnifier vs xmag

2006-08-05 Thread Felipe Monteiro de Carvalho
to it. Can you lock/freeze the image, and move the window do a different location? I did not understand this. thanks, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc

Re: [fpc-pascal] Pascal Compiler - Missing Messages etc.

2006-07-21 Thread Felipe Monteiro de Carvalho
install a software on Linux is to use the native packages, like .rpm and .deb Thinking about that I wrote a tutorial for people that use free pascal and want to generate rpm packages for their software here: http://wiki.lazarus.freepascal.org/index.php/Deploying_Your_Application -- Felipe Monteiro de

Re: [fpc-pascal] Another Delphi mode question :) -- classes as parameter

2006-07-12 Thread Felipe Monteiro de Carvalho
. So when you put a class as var you are passing a pointer to the pointer. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Functions with variable number of parameters

2006-07-11 Thread Felipe Monteiro de Carvalho
On 7/10/06, Florian Klaempfl [EMAIL PROTECTED] wrote: Use array of const with cdecl, it will work as expected. Thank you very much. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

[fpc-pascal] Functions with variable number of parameters

2006-07-10 Thread Felipe Monteiro de Carvalho
with a variable number of parameters? I mean, will it work when calling a function written in c in a DLL? If not, what should I do? thanks, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org

Re: [fpc-pascal] Blackberry

2006-07-05 Thread Felipe Monteiro de Carvalho
even runs on some phones. Free Pascal is also being ported for Symbian OS and PalmOS, so more devices should be available on the future. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org

Re: [fpc-pascal] Report Tool

2006-07-04 Thread Felipe Monteiro de Carvalho
On 7/4/06, Jesus Reyes [EMAIL PROTECTED] wrote: http://wiki.lazarus.freepascal.org/index.php/Projects_using_Lazarus#LazReport Maybe the sourceforge website and project should be updated. Who is the admin of lazreport sf project? -- Felipe Monteiro de Carvalho

Re: [fpc-pascal] Report Tool

2006-07-04 Thread Felipe Monteiro de Carvalho
of people ask for report components. I strongly suggest that people with interrest on report components join the development of one of the two components. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] fpc Lazarus with 64-bit

2006-07-03 Thread Felipe Monteiro de Carvalho
. Really, it´s just: make clean all =) If it fails and the path is correct, then the compiler version is the problem. thanks, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo

Re: [fpc-pascal] fpc Lazarus with 64-bit

2006-07-03 Thread Felipe Monteiro de Carvalho
that), and integrate everything. Instead, this would be instantaneously solved if your machine can run 32-bit software. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc

Re: [fpc-pascal] fpc Lazarus with 64-bit

2006-07-03 Thread Felipe Monteiro de Carvalho
There is a post here about fpc with athlon 64: http://community.freepascal.org:1/bboards/message?message_id=155270forum_id=24083#231973 It could be of use. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] fpc Lazarus with 64-bit

2006-07-02 Thread Felipe Monteiro de Carvalho
it back to be included as a Lazarus download. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] MSEide+MSEgui rev. 0.9

2006-07-02 Thread Felipe Monteiro de Carvalho
On 7/2/06, Martin Schreiber [EMAIL PROTECTED] wrote: Screenshots: http://sourceforge.net/project/screenshots.php?group_id=165409 The assembler window is quite impressive! -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal

Re: [fpc-pascal] Modify XML Document

2006-06-23 Thread Felipe Monteiro de Carvalho
Thank you very much guys, you saved me just a few hours before presenting my work. I will try to add the things I learned to the wiki. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

[fpc-pascal] Modify XML Document

2006-06-22 Thread Felipe Monteiro de Carvalho
, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Comparing version numbers

2006-06-02 Thread Felipe Monteiro de Carvalho
if Esperada.Patch = Ver.Patch then Result := True; end; This supports up to 4 dots separating 5 version parts. Of course, you can build a dynamic structure to hold any number of version parts and then do a while to hold the any number of ifs. -- Felipe Monteiro de Carvalho

Re: [fpc-pascal] spin_lock

2006-05-30 Thread Felipe Monteiro de Carvalho
device driver tricks or a real time os for extreme precision, like nanoseconds. In case you want to take a look here you can find documentation, source code and screenshots: http://eletronicalivre.incubadora.fapesp.br/portal/english/oscilloscope/ -- Felipe Monteiro de Carvalho

Re: [fpc-pascal] porting fpIoctl() to windows

2006-05-29 Thread Felipe Monteiro de Carvalho
macros in Pascal please tell me. You can´t. Transform macros into functions. Some macros can also be substituted directly into the code. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] Trim repeated whitespace from a string

2006-05-26 Thread Felipe Monteiro de Carvalho
to Length(Str) do begin If last character was a space and Str[i] is a space, take that character off. end; -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

<    2   3   4   5   6   7   8   >