Demo entry 6362500

main

   

Submitted by anonymous on May 09, 2017 at 06:07
Language: C++. Code size: 447 Bytes.

void AppRuntimeModule::closeGame(const QString &gameName)  
{  
    if (m_LoadBNNEDll && m_LoadBNNEDll->m_Monitor_ptr){  
  
        wstring wstr = QTranscode::QStringToWString(gameName);  
  
        VARIANT vGameName;  
        vGameName.vt = VT_BSTR;  
        vGameName.pbstrVal = (BSTR*)wstr.c_str();  
  
        m_LoadBNNEDll->m_Monitor_ptr->closeGame(vGameName);  
    }  
          
    g_Helper.KillProcess(gameName);  
}  

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).