delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/01/21:00:45

Mime-Version: 1.0
To: "DeHackEd" <Not DOT given AT out>, djgpp AT delorie DOT com
From: Nate Eldredge <nate AT cartsys DOT com>
Subject: Re: Question of timer routine for Allegro
Date: Mon, 1 Jun 1998 17:56:23 -0700
Message-ID: <19980602005455.AAF11858@ppp124.cartsys.com>

At 06:19  5/30/1998 -0400, DeHackEd wrote:

>>I make sure that I'd locked all variables and functions which are
>>necessary. Please help me checking it out where the problem is.
>>Thanks in advance.
>
>As I said, the only way to lock SPRINTF is rebuilding LIBC. Did you do that
too?

Not the *only* way. You can do:

#include <crt0.h>

int _crt0_startup_flags = _CRT0_FLAG_LOCK_MEMORY;

which will lock *all* your memory. But the original poster wasn't doing that
either.

Nate Eldredge
nate AT cartsys DOT com



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019