TIP: Click on subject to list as thread! ANSI
echo: locuser
to: Frank Malcolm
from: Bob Lawrence
date: 1996-10-18 08:14:24
subject: Cheep ewe for you, too

BL> When calling its EXEC() procedure. It requires the full name of
 BL> the EXE file. It's the only one I know that does.

 FM> That would be because it uses the DOS int$21, AH=$4b call.
 FM> Which can be used to load (& relocate, etc) *anything* into
 FM> memory. It's used for example to load overlays, which could
 FM> have any name.

 FM> Anything else you've used must have either appended the .EXE or
 FM> done the full path search like I've put in my wrapper function.

  That's what I said... using vastly fewer words and trying to avoid
anything that would set Paul off again, but I think what Paul meant was 
that int21,4B ignores the .EXE extension and checks the file directly.
DOS can't append the EXE (not knowing if I mean com, exe or bat), so
it checks the file header instead.

  Pascal is different; one of the many Pascal sillies done for no apparent 
reason or advantage to make things difficult.

Regards,
Bob
___ Blue Wave/QWK v2.12
@EOT:

---
* Origin: Precision Nonsense, Sydney (3:711/934.12)
SEEN-BY: 711/934 712/610
@PATH: 711/934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.