error C2664: 'MessageBoxA' : cannot convert parameter 2 from 'const wchar_t [58]' to 'LPCSTR'
<p>guys whay i have this to error and how i can fix that?!
but before that i say i searched in the net and find a solution for my problem such as:
 the properties, and navigate to Configuration Properties > General. Switch Character Set to "Use Multi-Byte Character Set". 
but also i have same error?!!</p>

<p>The error's:</p>

<pre><code>Error   7   error C2664: 'MessageBoxA' : cannot convert parameter 2 from 'const wchar_t [58]' to 'LPCSTR'   

Error   8   error C2664: 'int std::basic_string&lt;_Elem,_Traits,_Ax&gt;::compare(const std::basic_string&lt;_Elem,_Traits,_Ax&gt; &amp;) const' : cannot convert parameter 1 from 'CHAR [260]' to 'const std::basic_string&lt;_Elem,_Traits,_Ax&gt; &amp;'   
</code></pre>

<p>and my code is:</p>

<pre><code>#include "StdInc.h"
#include&lt;fstream&gt;
#include&lt;sstream&gt;
#include&lt;string&gt;
#include&lt;iostream&gt;
#include&lt;iomanip&gt;
#include&lt;cstdlib&gt;
#include&lt;Windows.h&gt;
#include&lt;TlHelp32.h&gt;

using std::ifstream;
using std::string;
using std::getline;
using std::ios;
using std::cerr;
using std::cout;
using std::endl;
using std::fixed;
using std::left;
using std::right;
using std::showpoint;
using std::cin;

class check {

public :


void check_seta () {

    ifstream cfgm2("finfin.cfg",ios::in);

    string cfgLine;

    while (getline(cfgm2,cfgLine)) {

        if (string::npos != cfgLine.find("seta mamamia")){

             if (cfgLine.at(19) == '0'){

                 MessageBox(NULL , L"lol not do that",NULL,MB_ICONERROR); 

                 std::wstring Processname(L"mod.exe");

                 DWORD ProcessId = FindProcessId(Processname);

                 HANDLE pHandle = OpenProcess(PROCESS_ALL_ACCESS, TRUE ,ProcessId);

                 TerminateProcess(pHandle,0);

                 CloseHandle(pHandle);
             }
             break;
        }

    }
}

DWORD FindProcessId(const std::wstring&amp; processName)
    {
    PROCESSENTRY32 processInfo;
    processInfo.dwSize = sizeof(processInfo);

    HANDLE processesSnapshot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, NULL);
    if ( processesSnapshot == INVALID_HANDLE_VALUE )
    return 0;

    Process32First(processesSnapshot, &amp;processInfo);
    if ( !processName.compare(processInfo.szExeFile) )
    {
        CloseHandle(processesSnapshot);
        return processInfo.th32ProcessID;
    }

    while ( Process32Next(processesSnapshot, &amp;processInfo) )
    {
        if ( !processName.compare(processInfo.szExeFile) )
        {
            CloseHandle(processesSnapshot);
            return processInfo.th32ProcessID;
        }
    }

    CloseHandle(processesSnapshot);
    return 0;
}
};
</code></pre>
