Implementing wtmpnam in msvcrt

Juan Lang juan.lang at
Sat Nov 29 10:30:20 CST 2008

Hi Tim,

> Many thanks for your help. This compiles now. I think I must not have
> something else defined, though, because when I run the program I still get a
> message saying wtmpnam is not implemented. Do I have to do something
> else to "register" the function?

No, you've just got a typo:
> -@ stub _wtmpnam #(ptr)
> +@ cdecl wtmpnam(ptr) MSVCRT_wtmpnam
You removed an underscore from the _wtmpnam function.  Don't, and the
function should be called.

More information about the wine-devel mailing list