public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* df.exe gives me an error message...
@ 1997-08-18 21:16 Panos Platon Tsapralis
  1997-08-19 20:07 ` Eric Britten
  0 siblings, 1 reply; 3+ messages in thread
From: Panos Platon Tsapralis @ 1997-08-18 21:16 UTC (permalink / raw)
  To: 'Herry'; +Cc: 'Cygnus GNU Programming Environment'

	I tried to use the df.exe file that you sent to me, attached to your last message, and it gives me the following message in the command line of BASH :

bash.exe: /GNUWIN32/B18/H-I386-CYGWIN32/BIN/df.exe: (null)

while, at the same time a dialog box appears on-screen, with a caption "Error Starting Program", a "OK" button and a message that says :

"The DF.EXE file is linked to missing export KERNEL32.DLL:GetDiskFreeSpaceExA.

What am I missing ?

+----------------------------------------------+
| Panos Platon Tsapralis,Software Engineer,    |
| M.I.S.Applications Manager - TeleStet,       |
+----------------------------------------------+
| E-mail Address   = pan@hol.gr,               |
| Home Address     = 3 Aishylou Str., 15234,   |
|                    Halandri, Athens,         |
|                    Attica, GREECE,           |
| Home Phone No.   = (00301)68.58.298,         |
| Bysiness Address = 60 Kifissias Ave., 15125, |
|                    Amaroussion, Athens,      |
|                    Attica, GREECE,           |
| Office Phone No. = (00301)61.86.013,         |
| Mobile Phone No. = (003093)23.90.13.         |
+----------------------------------------------+
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: df.exe gives me an error message...
  1997-08-18 21:16 df.exe gives me an error message Panos Platon Tsapralis
@ 1997-08-19 20:07 ` Eric Britten
  0 siblings, 0 replies; 3+ messages in thread
From: Eric Britten @ 1997-08-19 20:07 UTC (permalink / raw)
  To: 'Cygnus GNU Programming Environment'

Panos Platon Tsapralis wrote:

>         I tried to use the df.exe file that you sent to me, attached
> to your last message, and it gives me the following message in the
> command line of BASH :
>
> bash.exe: /GNUWIN32/B18/H-I386-CYGWIN32/BIN/df.exe: (null)
>
> while, at the same time a dialog box appears on-screen, with a caption
> "Error Starting Program", a "OK" button and a message that says :
>
> "The DF.EXE file is linked to missing export
> KERNEL32.DLL:GetDiskFreeSpaceExA.
>
> What am I missing ?

It looks like you are using the wrong version of Windows or df should
have been written to use GetDiskFreeSpaceA if GetDiskFreeSpaceExA
doesn't exist.  GetDiskFreeSpaceExA is available in Windows 95
OSR2(System Properties will say "Microsoft Windows 95" "4.00.950 B" if
the B is not there you do not have OSR2).  Windows NT 4.0 does support
the GetDiskFreeSpaceExA function.  Thus your OS must be Windows 95.

The df utility should be rewritten to use GetDiskFreeSpaceA if
GetDiskFreeSpaceExA doesn't exist.  Its not too hard.  Use
LoadLibrary/LoadLibraryEx to load Kernel32.dll, then GetProcAddress to
find GetDiskFreeSpaceExA.  If it is not present, use GetDiskFreeSpaceA.
Unfortunately GetDiskFreeSpaceA may return incorrect information on the
size of the disks.

Eric Britten

>
>
> +----------------------------------------------+
> | Panos Platon Tsapralis,Software Engineer,    |
> | M.I.S.Applications Manager - TeleStet,       |
> +----------------------------------------------+
> | E-mail Address   = pan@hol.gr,               |
> | Home Address     = 3 Aishylou Str., 15234,   |
> |                    Halandri, Athens,         |
> |                    Attica, GREECE,           |
> | Home Phone No.   = (00301)68.58.298,         |
> | Bysiness Address = 60 Kifissias Ave., 15125, |
> |                    Amaroussion, Athens,      |
> |                    Attica, GREECE,           |
> | Office Phone No. = (00301)61.86.013,         |
> | Mobile Phone No. = (003093)23.90.13.         |
> +----------------------------------------------+
> -
> For help on using this list (especially unsubscribing), send a message
> to
> "gnu-win32-request@cygnus.com" with one line of text: "help".



-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: df.exe gives me an error message...
@ 1997-08-27  7:06 Bartlee Anderson
  0 siblings, 0 replies; 3+ messages in thread
From: Bartlee Anderson @ 1997-08-27  7:06 UTC (permalink / raw)
  To: pan, herry; +Cc: gnu-win32

Another reply to something like this was that the ExA is the NT
version.
You need to rebuild the executable so that it is linked to the ..A
(sans Ex) as I seem to recall. And to steal somebodies one liner...

If memory serves me right... it would be the first time. ;)

From gnu-win32-owner@cygnus.com Sat Aug 23 20:58:07 1997
>Received: from cygnus.com (cygnus.com [205.180.230.20])
>          by yooper.switch.rockwell.com (8.8.5/8.8.4) with ESMTP
>	  id WAA03641 for <banders@switch.rockwell.com>; Sat, 23 Aug 1997 
22:57:52 -0500 (CDT)
>Received: (from daemon@localhost)
>	by cygnus.com (8.8.5/8.8.5) id MAA05021
>	for gnu-win32-outgoing; Mon, 18 Aug 1997 12:08:23 -0700 (PDT)
>Received: from prometheus.hol.gr (root@prometheus.hol.gr 
[194.30.220.120])
>	by cygnus.com (8.8.5/8.8.5) with ESMTP id MAA05013
>	for <gnu-win32@cygnus.com>; Mon, 18 Aug 1997 12:08:11 -0700 (PDT)
>Received: from panos ([194.30.193.9])
>	by prometheus.hol.gr (8.8.5/11.4.0) with SMTP id WAA14581;
>	Mon, 18 Aug 1997 22:05:04 -0200 (GMT)
>Posted-Date: Mon, 18 Aug 1997 22:05:04 -0200 (GMT)
>Received: by panos with Microsoft Mail
>	id < 01BCAC23.D7422380@panos >; Mon, 18 Aug 1997 22:12:39 +-300
>Message-ID: < 01BCAC23.D7422380@panos >
>From: Panos Platon Tsapralis <pan@hol.gr>
>To: "'Herry'" <herry@asan.com>
>Cc: "'Cygnus GNU Programming Environment'" <gnu-win32@cygnus.com>
>Subject: df.exe gives me an error message...
>Date: Mon, 18 Aug 1997 22:12:10 +-300
>MIME-Version: 1.0
>Content-Type: text/plain; charset="us-ascii"
>Content-Transfer-Encoding: 8bit
>X-MIME-Autoconverted: from quoted-printable to 8bit by cygnus.com id 
MAA05015
>Sender: owner-gnu-win32@cygnus.com
>Precedence: bulk
>
>	I tried to use the df.exe file that you sent to me, attached to your 
last message, and it gives me the following message in the command line 
of BASH :
>
>bash.exe: /GNUWIN32/B18/H-I386-CYGWIN32/BIN/df.exe: (null)
>
>while, at the same time a dialog box appears on-screen, with a caption 
"Error Starting Program", a "OK" button and a message that says :
>
>"The DF.EXE file is linked to missing export 
KERNEL32.DLL:GetDiskFreeSpaceExA.
>
>What am I missing ?
>
>+----------------------------------------------+
>| Panos Platon Tsapralis,Software Engineer,    |
>| M.I.S.Applications Manager - TeleStet,       |
>+----------------------------------------------+
>| E-mail Address   = pan@hol.gr,               |
>| Home Address     = 3 Aishylou Str., 15234,   |
>|                    Halandri, Athens,         |
>|                    Attica, GREECE,           |
>| Home Phone No.   = (00301)68.58.298,         |
>| Bysiness Address = 60 Kifissias Ave., 15125, |
>|                    Amaroussion, Athens,      |
>|                    Attica, GREECE,           |
>| Office Phone No. = (00301)61.86.013,         |
>| Mobile Phone No. = (003093)23.90.13.         |
>+----------------------------------------------+
>-
>For help on using this list (especially unsubscribing), send a message 
to
>"gnu-win32-request@cygnus.com" with one line of text: "help".
>


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1997-08-27  7:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-08-18 21:16 df.exe gives me an error message Panos Platon Tsapralis
1997-08-19 20:07 ` Eric Britten
1997-08-27  7:06 Bartlee Anderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).