MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / getExecutablePathName

Function getExecutablePathName

src/misc/sysos.cpp:123–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121#endif
122
123 size_t getExecutablePathName(char* pathName, size_t pathNameCapacity) {
124 return GetModuleFileNameA(NULL, pathName, (DWORD)pathNameCapacity);
125 }
126 void * loadDynamicLibrary ( const char * fileName ) {
127 // Bare names (e.g. "msvcrt") need to flow through unchanged so
128 // LOAD_LIBRARY_SEARCH_DEFAULT_DIRS resolves them via system32.

Callers 1

getExecutableFileNameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected