winefile: Use the msvcrt provided _tsplitpath instead of reimplementing it.

Detlef Riekenberg wine.dev at web.de
Tue Jun 26 11:10:28 CDT 2007


On Di, 2007-06-26 at 13:00 +0200, Alexandre Julliard wrote:
> > splitpath.c appeared with the
> > initial import of the winefile source code.
> 
> Winefile cannot import msvcrt because it has support for accessing
> Unix files too.

What about dynamic loading?

hdll = LoadLibrary("msvcrt.dll");
_wsplitpath = (void*) GetProcAddress(hdll, "_wsplitpath");


-- 
 
By by ... Detlef





More information about the wine-devel mailing list