search for: outway

Displaying 1 result from an estimated 1 matches for "outway".

Did you mean: outlay
2004 Nov 09
0
How to : C++ DLLs
...39; so that the main source will call into the loaded DLL (otherwise it will not even compile). Now that you only have two simple "C" style exports the SPEC file that Winelib uses will be easy to setup. There will of course be an extra jmp because of the virtual table, but the benefits outway the cost. Main Source: #include <dll.hpp> int main() { DllClass *(new_DllClass*)(); //func ptr to new_DllClass void (delete_DllClass*)(DllClass *); //func ptr to delete_DllClass DllClass *myClass; LoadDLL(); new_DllClass = GetProcAddress("new_DllClass"); delete_DllC...