CrystalSpace

Public API Reference

CS::Platform::Win32::CacheDLL Class Reference

Small helper to avoid repeated loading/unloading of DLLs loaded at runtime. More...

#include <csutil/win32/cachedll.h>

List of all members.


Detailed Description

Small helper to avoid repeated loading/unloading of DLLs loaded at runtime.

Loads a DLL when needed and unloads it on destruction. Usage example:

 static CS::Platform::Win32::CacheDLL hKernel32 ("kernel32.dll");
 if (hKernel32 != 0)
 {
   ...
 }

Definition at line 46 of file cachedll.h.


The documentation for this class was generated from the following file:

Generated for Crystal Space 2.1 by doxygen 1.6.1