On Fri, Apr 20, 2001 at 03:34:40PM -0700, Francois Gouget wrote:
On Fri, 20 Apr 2001, Lionel Ulmer wrote: [...]
if (lpStartupInfo->lpDesktop) FIXME("(%s,...): lpStartupInfo->lpDesktop %s ignored\n", name, lpStartupInfo->lpDesktop);
[...]
So what should we do ? Suppress the '%s' and replace it with a '%p' ? Add a check on the pointer to see if it's valid ?
Use debugstr_a?
if (lpStartupInfo->lpDesktop) FIXME("(%s,...): lpStartupInfo->lpDesktop %s ignored\n", debugstr_a(name), debugstr_a(lpStartupInfo->lpDesktop));
Well, that does not help :
Unhandled exception: page fault on read access to 0x30403416 in 32-bit code (0x4005a7d2).ed setuid root' In 32-bit mode. 0x4005a7d2 (wine_dbgstr_an+0x8a [debugtools.c:87]): movb 0x0(%edi),%cl 87 while (n-- > 0 && *src)
One should such a function that also catches exceptions :-)
Lionel