6#include "Stroika/Foundation/Execution/Throw.h"
15 inline DLLLoader::operator DLLHandle ()
const
24#if qStroika_Foundation_Common_Platform_Windows
26 if (result ==
nullptr) {
27 Execution::ThrowSystemErrNo ();
31 ProcAddress addr = dlsym (fModule_, procName);
32 if (addr ==
nullptr) {
34 addr = dlsym (fModule_, procName);
36 const char* err = dlerror ();
37 if (err !=
nullptr) [[unlikely]] {
50#if !qStroika_Foundation_Common_Platform_Windows
51 inline DLLException::DLLException (
const char* message)
#define RequireNotNull(p)
String is like std::u32string, except it is much easier to use, often much more space efficient,...
nonvirtual string AsNarrowSDKString() const
static String FromNarrowSDKString(const char *from)
nonvirtual ProcAddress GetProcAddress(const char *procName) const
void Throw(T &&e2Throw)
identical to builtin C++ 'throw' except that it does helpful, type dependent DbgTrace() messages firs...