[comp.sys.ibm.pc] help capturing btrieve calls from a tsr

GTI@PSUVM.PSU.EDU (07/10/90)

Here is what i want to do.
 
I want to be able to catch all btrieve calls, and look at each
one and determine if it is a getposition function, if it is
to save the buffer length, and and then call the normal btrieve
functions, and then have btrieve return back to me, where i can
replace the returned buffer length with the one that i have saved
and then return back to the applicatioon. The reason i need to do
this, is because i have an application that we have bought that
can't handle me doing a get position in the sub programming environment
that this application provides. This is just a temp fix, until (if ever)
the company that wrote the program get's their act together.
 
                                         tia
                                          leon