mbsrtowcs link errors

I'm using mbsrtowcs to convert a char[] to a wide, and I'm getting link errors I can't comprehend.  The actual code is in a C++ library, which compiles OK, but when I use this library in a C or C++ exe I get unresolved external symbols __imp__mbsrtowcs and void __stdcall _com_issue_error(long)" ( _com_issue_error@@YGXJ@Z).

Can anyone explain what is happening here

Thanks!


Answer this question

mbsrtowcs link errors

  • Robin H. Sanner

    Could you send a repro of the problem   Feel free to send it to: kanggatl@microsoft.com.

    Thanks,

    Kang Su Gatlin
    Visual C++ Program Manager

  • glenmaclarty

    Thanks for this.  E-mail to follow.

    Thanks,

    Alan Lodge

  • mbsrtowcs link errors