Results 1 to 40 of 63

Thread: [VB6] Call Functions By Pointer (Universall DLL Calls)

Threaded View

  1. #15
    Hyperactive Member
    Join Date
    Apr 2015
    Posts
    356

    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
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width