We are trying to convert some old clipper 87 programs to a windows platform,
if posíbly using the original code.
Anyone knows how to do this?
The programs should run as is in a DOS box on Windows now. To be
friendly to real Windows programs, review the FAQ for the most current
version of "FT_IAmIdle".
What Windows features were you wanting access to in the program?
David A. Smith
The FAQ I refer to is at:
http://groups.google.com/group/comp.lang.clipper/msg/95c024c4eb8e8bf2
> Dear CNT LM:
>
> On Apr 26, 8:01 am, "CNT LM" <Servi...@contor.pt> wrote:
> > Hi,
> >
> > We are trying to convert some old clipper 87 programs to a
> > windows platform, if posíbly using the original code.
> >
> > Anyone knows how to do this?
>
> The programs should run as is in a DOS box on Windows now.
That is likely true -- have you tried?
> To be
> friendly to real Windows programs, review the FAQ for the most current
> version of "FT_IAmIdle".
This will likely _not_ work on S'87 code; S'87 uses a completely
different mechanism from 5.x to hog the CPU :-) I think I put my
fix for this on The Oasis many years ago -- look for nice.zip (or
nice11.zip or similar). If it's not there, please post again and
I'll upload it to my web pages and post the URL.
One more serious problem that you might have running your app is
that S'87 attempts to create its temporary files in the root
directory of the current drive, and later versions of Windows
will not let this happen. [Clipper reports an error 92 if I
recall correctly from years ago.] In order to work around this,
use the SUBST command to create a "pretend" drive, for example
C:>md s87base
C:>subst z: c:\s87base
C:>z:
Z:>md app (or whatever name you like)
and install your application and dbfs etc. to Z:\APP and run it
from there. Any temp files will now be created in Z:\ (which is
really c:\s87base, but Clipper doesn't know that!). Of course
you can put all this stuff in a batch file -- together with
nice.com -- and run it all from a shortcut.
Hope that helps,
Pete
--
"We have not inherited the earth from our ancestors,
we have borrowed it from our descendants."
> Dear CNT LM:
>
> On Apr 26, 8:01 am, "CNT LM" <Servi...@contor.pt> wrote:
> > Hi,
[snip]
Just to follow up on my earlier post, you can get the timeslice
releasing code (with source) from:
http://www.pdlhost.demon.co.uk/clipper/nice_12.zip
or
http://www.pdlhost.demon.co.uk/clipper/benice.zip
The second version allows greater flexibility but will require
changes to your application code.