Re: [VB6] Call Functions By Pointer (Universall DLL Calls)
Dear Lavolpe,
Swapping of vtables of member functions works fine provided we find their correct vtable offset.Regarding
offsets you helped a lot to find out offset of member functions using zProbe for which I am thankful to you.
But when I try to replace vtables of member functions with different protrotypes with different parameters and different return types the application crashes.
Can you provide me
1.a generic example code of how to handle this issue without crashing the application.
2.how to handle different calling conventions _cdecl in VB without crash when I replace the vtable member function with module function. You can help me using my old class_vs_forms_vtable.zip which I am attaching.
It is a standard exe project with member functions having same prototype.
Thanking you once again.
regards,
Jsvenu