Export Wrapper Problem
I have written a few wrappers in c++ for applications also written in c++.
I wanted to see if I could hook some functions in a visual basic executable.
Here is how my hook works:
You make a dll and include all the exports (msvbvm60.dll) has. Like in my def file below. Now for hooking I do what I always do and in this case it would be something like
rtcMsgBox = myBox
The def file looks like this:
LIBRARY nadewrap.dll
EXPORTS
rtcMsgBox = MSVBVM60.rtcMsgBox
EXPORTSBASIC_CLASS_AddRef = MSVBVM60.BASIC_CLASS_AddRef
BASIC_CLASS_GetIDsOfNames = MSVBVM60.BASIC_CLASS_GetIDsOfNames
BASIC_CLASS_Invoke = MSVBVM60.BASIC_CLASS_Invoke
..
I tried only to put in the functions that the program needs. The program didn't start up.
My error:
http://img229.imageshack.us/img229/3245/errormn5.jpg
I tried putting all the functions that msvbvm60 has and I still get the same error.
I tried removing the hook so it just 'fowards' the exact functions to msvbvm60.dll
Putting all the in depth stuff aside. Does msvbvm60.dll serve more purpose than just exporting functions?

