12345678910111213141516171819202122232425262728293031 |
- #pragma once
- #include "Array.h"
- #include "Critical.h"
- #include "ReferenceCounter.h"
- namespace Framework
- {
- struct DLLDatei
- {
- Text* name;
- HINSTANCE handle;
- int ref;
- };
- class DLLRegister : public virtual ReferenceCounter
- {
- private:
- Array<DLLDatei*>* dlls;
- Critical cs;
- public:
- //! Konstruktor
- __declspec(dllexport) DLLRegister();
- //! Destruktor
- DLLEXPORT ~DLLRegister();
- //! nicht constant
- DLLEXPORT HINSTANCE ladeDLL(const char* name, const char* pfad);
- DLLEXPORT void releaseDLL(const char* name);
- };
- } // namespace Framework
|