Re: WMI question
Kim Gräsman <[email protected]>
| Newsgroups | gmane.comp.windows.off-topic |
|---|---|
| Message-ID | <[email protected]> |
Hi John, On Fri, Dec 3, 2010 at 21:49, John Smith <[email protected]> wrote: > > > I'm wondering if the information I am querying for (i.e. Win32_AccountSID) > in this case, is returning information that is not what the wcslen( ) is > expecting... Why else would the 'eos' pointer incrementation cause the > access violation? Any ideas? > Yeah, that's probably it. wcslen is a function to get the length of a zero-terminated wide-character string, usually of type "const wchar_t*" or "LPCWSTR" -- what are you passing to it? - Kim