From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,ce37c95571e5f88 X-Google-Attributes: gid1164f8,public From: john@iastate.edu (John Hascall) Subject: Re: Is ladebug sane?! Date: 1998/01/27 Message-ID: <6aldhf$d64$1@news.iastate.edu>#1/1 X-Deja-AN: 319750698 References: <34C4B69B.6E1AF936@cgocable.net> Organization: Iowa State University, Ames, Iowa USA Newsgroups: comp.sys.dec Marc Lepage wrote: }Perhaps someone can explain this to me? nCount is the short parameter. }(ladebug) next }stopped at [void ALocalFile::WriteBlock(VARIANT*, short):899 0x6e1e53e4] } 899 int nCount2 = nCount; }(ladebug) print nCount }31 }(ladebug) print sizeof(nCount) }2 }(ladebug) next }stopped at [void ALocalFile::WriteBlock(VARIANT*, short):900 0x6e1e53e8] } 900 m_Stream->write((char *)pVar,nCount2); }(ladebug) print nCount2 }1857749023 Note. 1857749023 is 0x6EBB001F 31 is 0x0000001F Either: a) your program compiled wrong (there really is crap in the top half of 'nCount2' b) ladebug is confused. I should think inserting an fprintf/cout/... as line 900 should tell you which it is. John -- John Hascall, Software Engr. Shut up, be happy. The conveniences you ISU Computation Center demanded are now mandatory. -Jello Biafra mailto:john@iastate.edu http://www.cc.iastate.edu/staff/systems/john/welcome.html <-- the usual crud