From: viktor DOT lundstrom AT mailbox DOT swipnet DOT se (Viktor Lundstrom) Newsgroups: comp.os.msdos.djgpp Subject: Re: strange error Date: Sat, 11 Apr 1998 07:03:34 GMT Organization: A customer of Tele2 Lines: 10 Message-ID: <352f1592.334722@nntpserver.swip.net> References: <352e8c65 DOT 2654329 AT nntpserver DOT swip DOT net> NNTP-Posting-Host: mn8.swip.net Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit Cache-Post-Path: mn8!s-13642 AT dialup191-1-47 DOT swipnet DOT se To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk On Fri, 10 Apr 1998 21:24:20 GMT, viktor DOT lundstrom AT mailbox DOT swipnet DOT se (Viktor Lundstrom) wrote: >I receive a General Protection Fault when calling sprintf() - but only > >if I have run another function before. Here´s the code : > I solved the problem now - I pushed and popped ES and DS... Is there really no easier way to accomplish this?