| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | HELPPPP!!! |
-=> Quoting Jon Guthrie to Carl Forester <=- JG> 11 Aug 94, Carl Forester writes to All: > I'm writing a os/2 text mode full screen app. I'm trying to get the > .EXE file to write to itself. When I try this I get a "Permission > denied" error. The same routine works great in dos. JG> OS/2 is not DOS. When OS/2 loads an executable program, it opens it JG> in a sharing mode that prevents anyone from writing to it. That means JG> that a program can't write to its own executable file. JG> Not only that, but writing programs that save configuration JG> information in their exe's hasn't been a good idea for a half-dozen JG> years. How do you handle a LAN environment where multiple people want JG> to share the same executable, but want to configure it differently? JG> My advice is to use an external configuration file. Thanx for the answer to my question, but! This program will never be run on a LAN, so I don't see the problem with it writing to itself. Not all applications are made to or are run on a LAN. For that matter, there lots of programs with cfg files that won't run properly on LAN's. The world doesn't revolve around LAN's. -Carl- ~~~ PGPBLUE 2.9 *BETA* ... ///\oo/\\\ There are no more bugs. ///\oo/\\\ ///\oo/\\\ --- Blue Wave/Max v2.20f Beta* Origin: The Wild! Blue BBS -=* Home of The Blue Wave *=- (1:2240/176) 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: 2240/176 234/100 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™.