05061628.txt 06-May-00 Subject: Code examples? From: Peter Backhaus Hello NG, i am looking for vo code examples like www.planet- source.com. Or is here enough interes to set one up? e.g. i am looking for "read/write from/to .ini file". Thanks for your help, Peter Subject: Re: Code examples? From: "Geoff Schaller" Peter, Check out Fab's classes. I am sure he has one. There is also definitely an Ini classin the VO Forum Library. Also, the VO Sample on NT Services has a very simple and very effective INI class reader/writer. It uses the windows api GetPrivateProfileString(). But in reality, INI files are old hat. These days (for 32 bit apps) you should really be using the registry. Geoff Subject: Re: Code examples? From: "Geoff Schaller" Hi Wong, No, I think there is much to admire about Unix. Back in the mid 80's I was involved with converting paper files for the Army onto Honeywell 12" optical disks. At the time all our mainframes were ICL machines on COBOL and our PCs where Prime (and so BASIC was the main lingo). The Honeywell needed a Unix controller - hence we had to learn it! And as you suggested, we could train up staff many times faster than on Prime or ICL. Everything worked to precision and everything was beautifully documented. But it also had tragically poor security (which has obviously improved since). Since then Unix has blossomed but its complexity hasn't. As a technical purist, I still admire Unix and C. It is far more intuitive to use, debug and manage. But at the end of the day it doesn't have the bells and whistles for spreadsheets, word processors and the "junk" we seem to have to live on. Also, Unix requires a degree of technical understanding in order to maximise its performance and use and this suddenly becomes the biggest stumbling block to widespread use. But my Unix skills are fading as I concentrate on Windows technology. DCOM is obviously an MS invention and so it is necessary for an MS solution but there are other ways. Hence my love- affair with sockets. Happy connecting.... Geoff Subject: Re: Code examples? From: "Geoff Schaller" Hi Wong, In my experience with Windows 9x (and I can only claim five years experience with Windows) the situation of PC's slowing down is almost always due to the immense amount of crap that users somehow seem to load on their PC. It starts with pretty screen savers, then doing icons in 80 million colors, adding desktop themes, running 12 different network protocols concurrently.... the list is endless. But if I ever get back to a PC I know is in the state I installed it 3-4 years before, it is invariably running at the same speed as its first day. I would blame "speed" problems mostly on perception. As other PC's around you get faster, it makes you think yours is getting slower. Also, upgrade from Office 95 to Office 97 - its easy to blame the slow-down on the PC when in reality its the software. I don't doubt that sometimes you get corruptions and problems, even sometimes its hardware induced. In those circumstances a good reinstall helps. NT will run for years non-stop but once in a while, a reboot will cleanse the logs, so to speak . But as to registry corruptions, you would have to agree that they are rare, as problems go. I am not saying they don't exist but I am saying that they are rare. And when they are encountered, almost half are user-induced . Geoff Subject: Re: Code examples? From: "Geoff Schaller" > I'm not really agree with you, but as usual, you win! :-) That's not fair . There is no "winning" here, just different points of view and different experiences.