| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: profile |
-=> On 15 May 96 19:33:02 Tom Brown said to Jonathan de Boyne Pollar <=- TB> Hi Jonathan: JP> Applications should only ever store one value in the user INI JP> file : the location of their private INI file. TB> 1) I like to use an environment variable instead of an INI entry to TB> point to my .INI file. This way, I can install my applications by TB> simply copying files and editing the config.sys. As would most other programmers. TB> 2) I much prefer to use text mode .INI files for easier editing. I wish IBM had done this ... its about the only good feature of 'some competetitive products'. TB> The thing that has been bugging me about point 1 is that it requires TB> me to boot my PC. I'm getting to the point where I get really annoyed TB> whenever I have to boot my PC. The user INI file would allow me to TB> solve this problem, but feel weird about messing with it. I am told that much of the data could be re-digensted by a restart of the desktop. I would like to see docs on (a) what needs a truye reboot and what jsut needs PM restarted. (b) how to restart PM manyually and from an Ap. TB> My problem with point 2 is that the code I wrote to handle this (3 C++ TB> classes: Profile, ProfileSection, and ProfileEntry) really bloat out TB> my code. The first 2 classes inherit from ISequence, which makes them TB> fairly expensive in terms of code size. The OS/2 API adds roughly TB> nothing to my executible size and probably executes faster. BTW, I TB> would be happy to share this code with anyone who is interested. Perhaps you could offer it to the DevCon program. I have written this as plain old C instead of C++ and it takes very little space, but in its present form is (C) my clients. When the contract is finished, I may do a total re-write and submit it. TB> It would be great if there were standards, or at least prefered method TB> outlining this sort of thing in detail by a source of authority. Submitting to DevCon would make your stuff the 'Dev Facto' standard, since few programmers would not have access to it. Andrew ... Error: Brain destruct at or near: line 1, col 1 --- Blue Wave/Max v2.12 OS/2 [NR]* Origin: Me/2 (2:254/259) SEEN-BY: 50/99 270/101 620/243 711/401 409 410 413 430 808 809 934 955 SEEN-BY: 712/407 515 517 628 713/888 800/1 @PATH: 254/259 442/403 25/10 255/1 440/4 141/209 270/101 712/515 711/808 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™.