Re: [fpc-pascal] Interactive SHELL?

2006-02-16 Thread Inpromptu
> Indeed! Problem gone! now to hide the user's typying from the > screen. I was using readkey > and echowing back a "*" during password input. I will have to do it > another way. > > Bob What do you us

Re: [fpc-pascal] ShellExecute alternative

2005-11-12 Thread Inpromptu
> > I'm using ShellExecute in my application on numerous occasions. What is > considered to be an OS independent alternative here?? Or do I ifdef it for > each platform?? > > Darius Blaszijk I do ifdef for each platform. With lazarus (and KDE, Linux) I do : var s:longint; . . . s:=shell('

Re: [fpc-pascal] Learning new things in an imperfect world

2005-11-01 Thread Inpromptu
ant problem. My program compiles fine, and works fine, in both Linux and Windows. With the SAME SOURCE CODE !!. This is the important thing, imnsho. Freepascal is an excelent compiler. I use it since 1.0.4 , and all my DOS legacy code run now on linux (dos, windows etc). Excuse my engl

Re: [fpc-pascal] Typed file problem.

2005-06-22 Thread Inpromptu
Problem solved ! Thank you very much ! > > Inpromptu wrote: > > I've found the problem... ! > > > > if the record is Myrecord=record > > MyInteger:integer; > > Mystring:string; > > end; > > > > compil

Re: [fpc-pascal] Typed file problem.

2005-06-22 Thread Inpromptu
teger) shows 4 ! Because of this, Mystring is readed wrong from the file. I think this is a trivial problem, but I don't know how to force MyInteger to be 2 bytes long inside and outside Lazarus... Or 4 bytes long ? Thanks ! > > Inpromptu wrote: > [...] > > > >

Re: [fpc-pascal] Typed file problem.

2005-06-22 Thread Inpromptu
you know where your > bug is. You must ensure that your units are always compiled with > the same options, both for console and for GUI version. > > Otherwise, I think that we could help more if you would show some > code snippets how exactly do you read/write your file. > > Mi

[fpc-pascal] Typed file problem.

2005-06-22 Thread Inpromptu
ave a lot of cgi apps (no GUI) that reads the typed files. Thanks in advance! Lazarus is great ! Inpromptu. (excuse my english...) -- ___ Surf the Web in a faster, safer and easier way: Download Opera 8 at http://www.oper

Re: [fpc-pascal] CGI question

2004-10-08 Thread Inpromptu
> > > On Fri, 8 Oct 2004, Inpromptu wrote: > > > Hi: > > > > CGI examples are very, very good. My first cgi-app is finally running ! > > > > But, I need to solve one more problem: how do I upload a file ? Is it possible > > with freepa

[fpc-pascal] CGI question

2004-10-08 Thread Inpromptu
Hi: CGI examples are very, very good. My first cgi-app is finally running ! But, I need to solve one more problem: how do I upload a file ? Is it possible with freepascal-cgi ? Thanks ! Inpromptu -- _ Web-based SMS services

Re: [fpc-pascal]Win32: converting lptstr to string

2004-04-26 Thread Inpromptu
lectDir); writeln('Please, pick a deeper dir, c:\program files\other\other\... or I will not crash...' ); end. {--end of program} Thank you very, very, very much !! Inpromptu > > > How do I convert a lptstr var (win32) t

[fpc-pascal]Win32: converting lptstr to string

2004-04-22 Thread Inpromptu
Hi How do I convert a lptstr var (win32) to a string var ? Thanks Inpromptu -- _ Web-based SMS services available at http://www.operamail.com. >From your mailbox to local or overseas cell phones. Powered by Outbl

[fpc-pascal]TSearchRec.Time to TSystemDate

2004-04-15 Thread Inpromptu
Hi Is there any function/procedure to decode from TSearchRec.Time:longint to TSystemDate ? TIA Inpromptu -- _ Web-based SMS services available at http://www.operamail.com. >From your mailbox to local or overseas cell phones. Powe

Re: [fpc-pascal]Findfirst and symbolics links

2004-03-02 Thread Inpromptu
Thanks... ! That patch can be applied to the fpc 1.0.4 source ? There is any other workaround to the problem ? > At 19:05 2-3-2004, you wrote: > >Hi > > > >How do I know if a file returned by findfirst is a real file or a symbolic > >link ? > > Use stat() (fpStat() in 1.9.x). There is a patch s

[fpc-pascal]Findfirst and symbolics links

2004-03-02 Thread Inpromptu
Hi How do I know if a file returned by findfirst is a real file or a symbolic link ? Thanks -- _ Web-based SMS services available at http://www.operamail.com. >From your mailbox to local or overseas cell phones. Powered by Outblaze _

Re: [fpc-pascal]Linux Palms and FPC?

2003-07-02 Thread Inpromptu
Hi. I´ve found a PalmOS example in the fpc 1.0.6 source code, but I can´t figure out how to compile. I have fpc 1.0.6 on a win98 machine. Thanks ! Gustavo -- http://www.operamail.com Get OperaMail Premium today - USD 29.99/year Powered by Outblaz