java problem with builtin msvcrt.dll (need debugging help)

Eric Pouech eric.pouech at
Sat Jan 20 07:00:44 CST 2007

Stefan Leichter a écrit :
> Hello,
> i found a problem with java (1.4.2_05) and builtin msvcrt.dll. The attached 
> java code exhibits the problem. It produces an exception with builtin dll. As 
> difference i identified the call to 
> java._Java_java_io_WinNTFileSystem_getLength, what is basicaly a wrapper 
> around msvcrt._(w)stati64. I have compared the result (dumped struct _stat) 
> from _stati84 running with builtin and native version of msvcrt.dll. The 
> result is the same.
> I tried winedbg, but i was not able to place a breakpoint neither in 
> _Java_java_io_WinNTFileSystem_getLength nor msvcrt._stati64.
> Can someone please tell me either 
> - how to place breakpoint in this functions
the actual function name is MSVCRT__stati64 (the MSVCRT_ prefix is used 
to tell the difference between msvcrt's and glibc's implementation)
so setting the bp on MSVCRT__stati64 should work

More information about the wine-devel mailing list