[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: Implementing wtmpnam in msvcrt
From:       "Juan Lang" <juan.lang () gmail ! com>
Date:       2008-11-29 16:46:59
Message-ID: 3a768c550811290846y2b0c6ab8ybc86d48bbfe83dda () mail ! gmail ! com
[Download RAW message or body]

Hi Tim,

> 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?

Sorry, don't know about this one.  What program is this?  Perhaps you
could open a bug?

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

Missing a verb here.  I assume you're asking at what point you should
send your wtmpnam patch?  That should be sent to wine-patches.  One
style suggestion I'd make though:
+extern int CDECL MSVCRT_swprintf( MSVCRT_wchar_t *str, const
MSVCRT_wchar_t *format, ... );  /* Defined in wcs.c */

This is ugly.  Possible approaches that aren't as jarring:
1. Add this declaration to msvcrt.h
2. Use MSVRT_vsnwprintf instead, since it's already declared in msvcrt.h
3. Use sprintfW instead.

--Juan


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic