diff --git a/ipch/ifc22_dll-bcfc6a06/ifc22-2c428702.ipch b/ipch/ifc22_dll-bcfc6a06/ifc22-2c428702.ipch deleted file mode 100644 index 0ea6d1b..0000000 Binary files a/ipch/ifc22_dll-bcfc6a06/ifc22-2c428702.ipch and /dev/null differ diff --git a/source/DLLmain.cpp b/source/DLLmain.cpp index 94f705d..94284f2 100644 --- a/source/DLLmain.cpp +++ b/source/DLLmain.cpp @@ -31,25 +31,11 @@ class CImmDevice public: _declspec(dllexport) static CImmDevice * CreateDevice(HINSTANCE__ *, HWND__ *) { - typedef void (*LPINITT2DLL)(void); - HINSTANCE hDLL = NULL; - LPINITT2DLL lpinitT2DLL = NULL; - hDLL = LoadLibrary(L"t2dll.dll"); // AfxLoadLibrary is probably better. - - if (hDLL == NULL) - return 0; // The DLL doesn't exist - else - lpinitT2DLL = (LPINITT2DLL)GetProcAddress(hDLL, "_Z9initT2Dllv"); // Attempt to load our entry point - - if (lpinitT2DLL == NULL) - return 0; // Unable to load entry point - else - lpinitT2DLL(); // The function was loaded, call TribesNext and move on to postTN Startup - + // Insert Code Here return 0; - } + } - _declspec(dllexport) int UsesWin32MouseServices(int) { return 4; } + _declspec(dllexport) int UsesWin32MouseServices(int) { return 4; } }; class CImmProject