LoadDLLThrow Function (tigcc.a)

dll.h

void LoadDLLThrow (const char *VarName, unsigned long ID, unsigned short Major, unsigned short Minor);

Loads a DLL into memory, throwing an error if not successful.

LoadDLLThrow calls LoadDLL, and throws an error if the result is not DLL_OK. This is useful if you want to display an error message on the Home Screen.


Uses: LoadDLL


See also: LoadDLL, UnloadDLL, error.h