I've been given permission to release an old Archive-based program (Cocktails Waiter) as freeware.
Unfortunately, the only copy available uses the Runtime Archive with a protected BOOT_PRO program. Does anyone know how to make this load into a standard Archive, so that I can supply the unprotected code with the program? (The databases themselves are ok, it is just a problem with the boot_pro file) A short Superbasic program like this will unprotect normal protected Archive _pro object files, although it doesn't seem to work for runtime Archive files: 100 REMark unprotect an Archive _pro file 110 CLS : CLS #0 120 INPUT #0,'Enter name of Archive _pro program to unprotect > ';ip$ 130 OPEN #3,ip$ 140 BGET #3\6,byte 150 IF byte = 0 THEN 160 PRINT #0,'Already unprotected.' 170 CLOSE #3 : STOP 180 END IF 190 BPUT #3\6,0 200 CLOSE #3 210 PRINT #0,ip$;' now unprotected.' But this does not seem enough. The boot_pro will run in the Archrtm runtime module but not in standard Archive - that gives an "error reading file" so there is obviously something in the file format which makes it unreadable by standard Archive or by Xchange. Anybody know how to unlock or convert the object program to allow it to be loaded into standard Archive and saved as a _prg file? -- Dilwyn Jones _______________________________________________ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
