X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f Message-ID: <20020218123955.90091.qmail@web20808.mail.yahoo.com> Date: Mon, 18 Feb 2002 13:39:55 +0100 (CET) From: =?iso-8859-1?q?cesar=20tejeda?= Subject: Re: Allegro Timers To: djgpp AT delorie DOT com In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk And if you try: install_int ((void (*)())fps,1000); LOCK_FUNCTION ((void (*))fps); ???? Does it work? > : LOCK_FUNCTION (fps); > : LOCK_VARIABLE (last_fps); > : LOCK_VARIABLE (frame_counter); > : install_int (fps,1000); > : } > > : Error messages I get: > : test.h:29: cannot convert `void (*)(...)' to > `void*' for argument `1' to > : `int_go32_dpmi_lock_code(void*, long unsigned > int)' > : test.h:32: cannot convert `void (*)(...)' to `void > (*)()' for argument `1' > : to `int install_int(void (*)(), long int)' > > Try using C instead of C++. Allegro is C, not C++, > unless it has > changed. > > > Right, > > MartinS _______________________________________________________________ Do You Yahoo!? Yahoo! Messenger Comunicación instantánea gratis con tu gente. http://messenger.yahoo.es