| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Helpppp!!! |
LR> Hi, Kelly. I don't know OS/2 but it seems to me that LR> denial to write to a exe file might be denied based on not LR> having it set up with proper acess. Why should OS/2 or any LR> operating system presume what files are writeable or not. LR> Doesn't seem to make sense to me - unless OS/2 is marking LR> all .exe's as "Read Only" for some inexplicable reason. LR> Hmmmm. Regards, -= Lou =- Specifically, EXE files *that are currently running* can't be written to. This is because OS/2 is smart enough to load on demand only those parts of the executable that are needed. If you have a 2Mb .EXE file, for example, you don't want the OS to immediately consume 2Mb of physical memory and/or swap space when the program starts. Also, multiple running copies of the program would become confused if each instance could change the program on the fly. Sharing of code segments would be impossible. There is an unsupported API for loading all of a module's contents into the swap area and then unlocking the file, but it's better to keep this unsupported, since using it defeats the OS's architecture. (Lazy programmers want this kind of API to write installation programs that can overwrite in-use EXEs and DLLs.) John --- Maximus/2 2.01wb* Origin: OS/2 Shareware BBS, Fairfax, VA: 703-385-4325 (1:109/347) SEEN-BY: 12/2442 54/54 620/243 624/50 632/348 640/820 690/660 711/409 410 413 SEEN-BY: 711/430 807 808 809 934 712/353 623 713/888 800/1 @PATH: 109/347 2 1 3615/50 229/2 12/2442 711/409 54/54 711/808 809 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™.