At 07:52 PM 8/28/00 +0800, you wrote:
>Now I'm in embarrassment: to really continue hacking PageMaker, I need to choose
>some way: either try to solve problems with Win95-type thunking (but nobody except
>Andreas Mohr actually tried to help me with absolutely unknown for me subject), or
>try to implement some sort of hack around GetProcAddress to simulate presence and
>absence of the bunch of functions. The latter is very obscured idea and I don't
>like it.
A suggestion : if you can't solve the thunking problem, maybe adding a general system
to invalidate a function could be acceptable by Alexandre Julliard. IMO thunking
functions are
not so interesting that they deserve a priority now.
Something with a syntax like snoop and relay :
wine -removefunction:QT_Thunk:SMapLS_IP_EBP_8:SUnMapLS_IP_EBP_8 pagemaker.exe
This should not be extremely difficult to implement too, just lookup the function name
in a table
and return NULL :-) (see SNOOP_GetProcAddress).
Just seen Patrick's answer, could be done too.
HTH
Gerard