Mail Archives: cygwin/2001/10/10/16:37:56
Kris Erickson wrote:
>
> Ok, compiled it from the complete 1.3.4 version in CVS...
>
> It is on the second call to NetUserGetInfo that the signal fails...
>
> 88 strcat (strcpy (buf, "\\\\"), user.logsrv ());
> (gdb)
> 89 sys_mbstowcs (wlogsrv, buf,
> INTERNET_MAX_HOST_NAME_LENGTH + 3);
> (gdb)
> 90 ui = NULL;
> (gdb)
> 91 if (NetUserGetInfo (wlogsrv, wuser, 3,(LPBYTE *) &ui))
OK, we need to know what wlogsrv contains. It should be a Unicode
representation of the PDC/BDC that you are logged in via. I'll bet it
isn't. You can check it at line 89 in the buf variable.
John
--
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -