If I want to make a subclassing DLL for use in VB, do I just have to make a wrapper for SetWindowLong, like:
or do I have to do more than this?Code:#include <windows.h> int WINAPI DllMain(HINSTANCE, DWORD, PVOID) { return TRUE; } extern "C" __declspec(dllexport) LONG CALLBACK VBSetWindowLong(HWND hwnd, UINT offset, LONG dwNewLong) { return SetWindowLong(hwnd, offset, dwNewLong); } // Concludes DLL.Standard




.
Reply With Quote