Problem casting variable.

Hello everyone,
thanks in advance for the answers.
Use Visual Express 2013 on W7.
Libraries: DevIL, OpenGL.
This is the line of code that gives me the problem: ILboolean success = ilLoadImage (path.c_str ());
The error is: can not convert argument 1 from 'const char *' to 'const wchar_t *'

This isn't an OpenGL question. Websearch "casting from char to wchar".

Normally seen that opengl can not upload images using support libraries as a devil, but it is not strictly a natural consequence of opengl!
In google I found that my solution is correct ... but it seems to work anyway.