MCPcopy Create free account
hub / github.com/AgoraIO/API-Examples / GetExePath

Function GetExePath

windows/APIExample/APIExample/stdafx.cpp:414–422  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

412}
413
414CString GetExePath()
415{
416 TCHAR szPath[MAX_PATH] = { 0 };
417 GetModuleFileName(NULL, szPath, MAX_PATH);
418
419 CString strPath = szPath;
420 int pos = strPath.ReverseFind(_T('\\'));
421 return strPath.Mid(0, pos );
422}
423
424unsigned int generateUid()
425{

Callers 8

OnInitDialogMethod · 0.85
OnInitDialogMethod · 0.85
OnInitDialogMethod · 0.85
StartPlayMethod · 0.85
InitAgoraMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected