Re: [fpc-pascal] Re: fpc-pascal DLLs

2007-06-17 Thread Alexey Pavluchenko
Hello, Dr wrote: Please tell me whether FPC Pascal makes DOS ( DPMI ) "protected mode" DLL and EXE files, that is, a DLL ( called by a DPMI EXE ) that runs on DOS, even if there is NO Windows at all on my machine It doesn't, but maybe HX DOS is what you need: http://www.japheth.de/HX.htm

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

2007-05-22 Thread Alexey Pavluchenko
Hello Felipe, Tuesday, May 22, 2007, 10:48:54 AM, you wrote: > On 5/18/07, Daniël Mantione <[EMAIL PROTECTED]> wrote: >> Can you please implement a ports unit for Windows then? > This requires writing a Device Driver for NT and later you need to > take it with your executable somehow. It's

[fpc-pascal] operator overloading question

2007-05-08 Thread Alexey Pavluchenko
Hello all, When trying to compile the following code === cut=== unit foo; interface type tbar = record somefield: integer; end; pbar = ^tbar; operator + (a: pbar; b: pbar) c: pbar; implementation operator + (a: pbar; b: pbar) c: pbar; begin end; end. === cut=== the c

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

2007-04-05 Thread Alexey Pavluchenko
Hello Felipe, Thursday, April 05, 2007, 11:14:24 AM, you wrote: > What really doesn´t help is that the windows driver world is huge. > really vast. There are dozens of different driver types, and some > tipes only work on some versions of windows. Well, not dozens. There are, basically: user-mo

Re: [fpc-pascal] Special math. functions (erf, erfc, ...)

2006-12-18 Thread Alexey Pavluchenko
Hello Johann, Friday, December 15, 2006, 10:28:04 PM, you wrote: JG> I'm searching for FreePascal implementations of some special JG> mathematical functions related to statistics like erf, erfc and some JG> other cumulative probability functions. Did anybody implement such JG> functions already (

[fpc-pascal] freepascal.org

2006-11-27 Thread Alexey Pavluchenko
Hello All, The translated site is very nice and all, but is there a way to always get the english version of the site when I open www.freepascal.org in my browser, independnetly of my current locale and my IP address and whatever else? Thanks. -- Best regards, Alexey _

Re[2]: [fpc-pascal] DOS Timer Interrupt, serial Interrupt

2006-08-09 Thread Alexey Pavluchenko
Hello Rainer, Wednesday, August 09, 2006, 7:07:13 PM, you wrote: RS> Hello Alexey, RS> the program is changed now, but is has the same effect. RS> May be it has to do with the special role of the timer interrupt. There is nothing really special about it. Int 1Ch is not even a hardware interrupt

Re: [fpc-pascal] DOS Timer Interrupt, serial Interrupt

2006-08-09 Thread Alexey Pavluchenko
Hello Rainer, Wednesday, August 09, 2006, 1:19:52 PM, you wrote: RS> is there a document or sample code for accessing the timer interrupt and the RS> serial interrupt in DOS mode. RS> This does not work: [skip] You should use get_pm_interrupt and set_pm_interrupt from GO32 unit instead of DOS u

Re[2]: [fpc-pascal] X Windows and FPC

2006-07-28 Thread Alexey Pavluchenko
Hello Graeme, Friday, July 28, 2006, 12:16:00 PM, you wrote: GG> I will start the translation - just wanted to know if it would GG> actually be worth the effort. I couldn't judge before, because I GG> couldn't understand the content. GG> Would you mind if a asked you a few things in case AltaVis

Re: [fpc-pascal] Code example needed, please!

2006-06-30 Thread Alexey Pavluchenko
Hello Rainer, Thursday, June 29, 2006, 11:42:12 AM, you wrote: [skip] RH> My idea is to write the backend in FPC. It shall only use StdIn/StdOut and RH> also parse its command line options. The Frontend shall be - in a first step - RH> be written in Delphi or Lazarus, but because I ask here for

Re: [fpc-pascal] overflow checking

2006-06-23 Thread Alexey Pavluchenko
Hello Пётр, Friday, June 23, 2006, 11:59:26 AM, you wrote: [skip] ПК> Is there an easier way? ПК> Like ПК> {$SAVE Q} {$Q-} e:=f+g; {$LOAD Q} ПК> so that it will fit one line? {$IFOPT Q+} {$Q-} {$DEFINE Q_SWITCHED} {$ENDIF} (* do some stuff here *) {$IFDEF Q_SWITCHED} {$Q+} {$UNDEF Q_SWITCHED} {$

Re: [fpc-pascal] how to pass PChar (or any pointer) from Delphi to FPC ?

2006-04-04 Thread Alexey Pavluchenko
Hello Пётр, Tuesday, April 04, 2006, 11:48:33 AM, you wrote: ПК> I can transfer information from Delphi program to FPC, but they ПК> have different memory managers or something, so pointers are the ПК> same numbers, but different physical addressed. It doesn't sound ПК> extraordinary, so, please,

Re[2]: [fpc-pascal] Status of Lazarus

2005-10-17 Thread Alexey Pavluchenko
Hello Felipe, Monday, October 17, 2005, 1:08:00 PM, you wrote: FMdC> On 10/17/05, David Chandler <[EMAIL PROTECTED]> wrote: >> I don't have a USB interface in the DOS version--just RS232. I was >> hoping I could find others who could point the way on the USB issue. FMdC> What is RS232?? Standa

Re[2]: [fpc-pascal] Graphics in Linux?

2005-09-29 Thread Alexey Pavluchenko
Hello Rainer, Thursday, September 29, 2005, 2:08:53 PM, you wrote: RH> What I wonder is that nobody found a way to open a X11 window redirect all RH> this stuff from/to it, since I started with Linux and FreePascal. -- And this RH> is more than 6 years ago. In addition to SDL which already was

Re: [fpc-pascal] single application instance

2005-09-23 Thread Alexey Pavluchenko
Hello Jose, Thursday, September 22, 2005, 1:20:48 PM, you wrote: JP> How can avoid to run my program more than once? I suppose you wanted to ask "how can I allow only one instance of my program running under Win32". Correct me if I'm wrong. If I'm right, then you may do it like this: check for n

Re: [fpc-pascal] FPC and CD-ROMs

2005-07-25 Thread Alexey Pavluchenko
Hello Pianoman, Monday, July 25, 2005, 1:35:21 PM, you wrote: P> Hi everyone. I have one simple question : How can i eject/close certain P> CD-ROM drive? I write Certain because I ave more than one so I have to P> specify which. P> Is there some API call to do this? I searched the help files but

Re: [fpc-pascal] memory map

2005-05-30 Thread Alexey Pavluchenko
Hello Pianoman, Tuesday, April 19, 2005, 6:24:10 PM, you wrote: P> Hi, how can i save some memory area to file bypassing the windows P> memory protection. For example I would like to see first four mb of P> my RAM and make a memory image on disk for contents analysis. How P> can I access certain

Re: [fpc-pascal] FPC and Memory

2005-04-28 Thread Alexey Pavluchenko
Hello Pianoman, Thursday, April 28, 2005, 1:44:43 PM, you wrote: P> Yes, this is interisting but I'd like for example to create a memory image P> of some part of ram to see exactly what is there. In old dos days it was P> possible to do like for i:=0 to 65535 do for j:=0 to 15 do P> write(f,mem[i

[fpc-pascal] problem with 1.9.6 win32 installer

2005-01-12 Thread Alexey Pavluchenko
Hello all, The installer says "too many packs" and closes immediately. When I delete some unnecessary package descriptions from install.dat it runs normally as supposed. Happens on Windows 98SE, did not test it on other machines. Has anybody else encountered this problem? If no, what can be the r