Implementing wtmpnam in msvcrt

Tim Holy holy at wustl.edu
Sat Nov 29 10:38:40 CST 2008


Hi Juan,

Thanks again---that did the trick (it wasn't so much a typo as I didn't know 
what I was doing...)

So wtmpnam seems to work. Sadly, another line in the output indicates there's 
another error:
err:listview:LISTVIEW_WindowProc unknown msg 3e9d wp=0032ef78 
lp=00000000
and that prevents the program from executing. Any ideas?

At what point & how should the wtmpnam patch (or does my last email + your 
suggestion about the _ effectively do that?)

Thanks,
--Tim

On Saturday 29 November 2008 10:30:20 am Juan Lang wrote:
> 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.
> --Juan




More information about the wine-devel mailing list