123456789101112131415161718192021222324252627282930313233343536 |
- #ifndef DLLDateien_H
- #define DLLDateien_H
- #include <Text.h>
- #include <Array.h>
- using namespace Framework;
- struct DLLDatei
- {
- Text *name;
- HINSTANCE handle;
- int ref;
- };
- class DLLDateien
- {
- private:
- Array< DLLDatei* > *dlls;
- CRITICAL_SECTION cs;
- int ref;
- public:
- // Konstruktor
- DLLDateien();
- // Destruktor
- ~DLLDateien();
- // nicht constant
- HINSTANCE ladeDLL( char *name, char *pfad );
- void releaseDLL( char *name );
- // Reference Counting
- DLLDateien *getThis();
- DLLDateien *release();
- };
- #endif
|