At 14:11 25/11/2004 +0000, you wrote:

Shouldn't be too difficult to write a program which looks for and automatically patches SER or PAR to PFF I'd have thought to help users not confident of their abilities to do it in a binary editors (new QL saying: "PFF drivers do it with binary editors"!)

lbytes program into heap
use something like Turbo Toolkit's SEARCH_MEMORY to locate a "SER", "ser" or "Ser" string (think it's case sensitive)
poke the new string in at this address
redo until no more SER or PAR found
SEXEC the program to overwrite the original


It only becomes a problem if search and replace strings are different lengths I suppose

I'm sure there was a lot of such programs around 20 years ago to change MDV to FLP, though I can't remember if the strings patched were fixed or could be changed. And didn't Freddy Vachha release a program called Transfer Utility or some name like that, which did pretty much the same thing?

Just use the DP Editor, and see what is happening

RU the file,
EQ to exchange


My query regarding the intensity this subject has is how many could it possibly help ?
The survey might shed a light on the subject.


Or is it just for the hell of the challenge ?

DT

_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm

Reply via email to