Tools Papers Open Source Blogs Contact Us 1630
Calling Cdecl Exports  
VB6 Projects
File System
Binary
Misc.
VC
VB6 & C#
C & ASM
Multi-Language
Plugins
IDA/Olly/Misc

Vb only has native support for calling _stdcall DLL exports, and can only provide _stdcall callbacks.

Through the use of custom asm thunks we can call cdecl exports and provide VB callback implementations for functions that expect cdecl callbacks.

This technique does not require intermediary dlls. Compiles Asm thunks as byte buffers and executes them with CallWindowProc.

May not work on XP-SP2 for machines with DEP compatible processors

Download
© 2013 Sandsprite.com