[ros-kernel] Problem in cmd.exe dir command. Spotted on NT 4
andMSVC
Hartmut Birr
hartmut.birr at gmx.de
Sun Dec 14 22:55:43 CET 2003
Hi,
I think thats a problem of the call to pGetFreeDiskSpaceEx in
GetUserDiskFreeSpace. Two of the parameters are NULL. Can you change
this and test it again?
- Hartmut
> -----Original Message-----
> From: ros-kernel-bounces at reactos.com
> [mailto:ros-kernel-bounces at reactos.com] On Behalf Of Steven Edwards
> Sent: Sunday, December 14, 2003 10:16 PM
> To: ros-kernel at reactos.com
> Subject: [ros-kernel] Problem in cmd.exe dir command. Spotted
> on NT 4 andMSVC
>
>
> Hello,
> When running a dir from ReactOS command compiled with mingw under
> Windows NT I always get a crash running dir. I have not had a
> chance to
> really debug the problem but when playing around with
> building parts of
> ros with MS_VC and the PSDK I found that this line
>
> typedef BOOL STDCALL
> (*PGETFREEDISKSPACEEX)(LPCTSTR, PULARGE_INTEGER, PULARGE_INTEGER,
> PULARGE_INTEGER);
>
> throws MS_VC for a loop. If I remove the STDCALL and compile then my
> cmd.exe crashes the same way under Windows 2000.
>
> Any takers?
>
> Thanks
> Steven
>
>
More information about the Ros-kernel
mailing list