Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!yale!cmcl2!sbcs!bnlux0!cpa From: cpa@bnlux0.bnl.gov (Chris Armstrong) Newsgroups: comp.os.os2 Subject: Microsoft C 6.0 Keywords: MSC6.0 Message-ID: <1838@bnlux0.bnl.gov> Date: 2 May 90 22:40:51 GMT Organization: Brookhaven National Lab Lines: 24 I've just received my C 6.0 upgrade.... anyone know how to unpack the files without having to go through the whole installation procedure? Believe it or not some people (me!) don't like having loads of unwanted files left on their hard disk. Getting rid of unwanted files occasionally results in accidental deletions.... and I'd like to be able to get the new mouse driver off for when I am booted up under DOS. I've found my first problem with 6.0 (apart from NULL no longer being NULL, and zillions of long/short mismatch warnings being produced by char/int conversions for the first time). I hvae a program originally designed for DOS kernel mode which is ful of printf()s, puts()s and putchar()s. I've converted this program to the PM and instead of replacing every printf(), puts() and putchar() I replaced the functions with my own. This worked fine under MSC5.1, as long as remembered to undefine putchar(), using the multithread library. Not so under 6.0. puts() and printf() get by okay, but the linker throws up a "putchar() symbol defined more than once" error, in spite of the fact that I'm using /NOD and /NOE, and refuses to link. Anyone got any ideas why this should be so? I've managed to work around it by changing my putchar() to _putchar(). But this is a real nuisance as the code is designed for use on many different systems (the program is called Kermit) and it really shouldn't be necessary. Chris Armstrong.