Re: [fpc-pascal] Hardware

2006-08-22 Thread Adrian Maier
On 22/08/06, "Fabrício F. Kammer" <[EMAIL PROTECTED]> wrote: Thanks A.J. Do you know where can I get some example of how to do this? Is it possible to have a conditional compile to do this? You can achieve conditiional compiling with {$ifdef } : {$ifdef Win32} { . windows specific

[fpc-pascal] problems with colors

2006-08-22 Thread Eduardo Jaime Quiros Batres
Good afternoon, I'm trying to set colors (background) for fp but when I go to Options/Environment/Colors nothing happens. Did find a reference to this problem on internet but not the solution. I could change fp.ini if I knew how to. Where can I find a tutorial for fp.ini? I'm using Linux and t

Re: [fpc-pascal] Hardware

2006-08-22 Thread Fabrício F. Kammer
Thanks A.J. Do you know where can I get some example of how to do this? Is it possible to have a conditional compile to do this? Thanks again, Fabrício A.J. Venter escreveu: I'm working in a software that I don't want that it runs in a different of the orginal installation then I'll save thi

Re: [fpc-pascal] Hardware

2006-08-22 Thread A.J. Venter
> > I'm working in a software that I don't want that it runs in a different > of the orginal installation then I'll save this informations in a > crypted file and I'll read and check with the hardware in the moment of > the software is open. > There is no platform independent way to do this, since

[fpc-pascal] Hardware

2006-08-22 Thread Fabrício F. Kammer
Hi all, How can I get hardware informations on windows/linux using FreePascal/Lazarus? I need to get some informations of the hardware, like HD serial number, the amount of memory, the type of processor and another things. I'm working in a software that I don't want that it runs in a differ

Re: [fpc-pascal] Porting TP ASM to FPC ASM

2006-08-22 Thread Jonas Maebe
On 22 aug 2006, at 11:44, Michael Preslar wrote: If I change ax to eax, di to edi and es:[di] to [di], the code compiles without warnings or errors, but I don't know if that's the right thing to do. No. The calling conventions are different Any further information you could give? The doc

Re: [fpc-pascal] Porting TP ASM to FPC ASM

2006-08-22 Thread Michael Preslar
I'm trying to convert some old Turbo Pascal asm to win32 fpc asm and dont know where to start.. I'm compiling with -Sd and -Twin32 and {$asmmode intel}.. . If I change ax to eax, di to edi and es:[di] to [di], the code compiles without warnings or errors, but I don't know if that's the