Hello all.

I'm still trying to solve problems with PageMaker and thunking...

Assuming, that problems arise with using QT_Thunk/SMapLS_IP_EBP_8/SUnMapLS_IP_EBP_8
functions (i.e. Win95 thunks), I guessed that -winver nt40 will solve at least some
part of the problem. But PM always used Win95 thunks: with nt40 or win95. Traces
showed, that PM uses GetProcAddress to decide, which type of thunking to use.
After commenting mentioned above functions in kernel32.spec, it confirmed my guess,
and PM now opens and actually draws the whole page layout! Though some problems
persist (with Syslevel locking in PlayMetaFile for instance), but progress is here!

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.

What to do?

Dmitry.


Reply via email to