kianusch@ghost.UUCP (Kianusch Sayah-Karadji) (12/30/90)
Hi there, I'm using MSC 6.0 ... one of my programes dies when it is run after any another program has been run before it. When running it right after booding the computer it runns fine, most of the time at least. Tracing through the program with CodeView ... it looks like it's hanging inside a 'malloc' call ... so I have not yet gotten the last upgrade from MicroSoft ... does anybody know of a bug in the malloc call from MicroSoft? Or is it my programming which screwes up? Thanx Kianusch -- Kianusch Sayah-Karadji srhqla!unigold!ghost!kianusch kianusch@ghost.UUCP uunet!moon!ghost!kianusch
mpledger@cti1.UUCP (Mark Pledger) (01/01/91)
kianusch@ghost.UUCP (Kianusch Sayah-Karadji) writes: >Hi there, > I'm using MSC 6.0 ... one of my programes dies when it is run > after any another program has been run before it. > When running it right after booding the computer it runns fine, > most of the time at least. > Tracing through the program with CodeView ... it looks like it's > hanging inside a 'malloc' call ... so I have not yet gotten the > last upgrade from MicroSoft ... does anybody know of a bug in > the malloc call from MicroSoft? Or is it my programming which > screwes up? This may seem like a silly question but did you #include <malloc.h> at the top. I use MSC and I have forgotten to include that header file only to have my program lock up before. Hope it helps. -- Sincerely, Mark Pledger -------------------------------------------------------------------------- CTI | (703) 685-5434 [voice] 2121 Crystal Drive | (703) 685-7022 [fax] Suite 103 | Arlington, VA 22202 | mpledger@cti.com --------------------------------------------------------------------------