I seem to be having an issue with this function. I wish to convert a char* to a wchar_t*, and have found that mbrtowc(...) seems to be what I want. However, when I try to compile my application when using this function, it cannot link to the method. It compiles the individual file fine but then the linker complains. I have included <wchar.h> at the top of my code but still no luck.
I'm using VS.NET.. has anyone else had issues with this? Have they managed to find out what the problem is?