delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/21/17:48:12

Date: Tue, 21 Oct 1997 12:53:14 -0600
From: joseanmo AT unex DOT es
Subject: Absurd error in printf sentences
Newsgroups: comp.os.msdos.djgpp
Message-ID: <877455508.12195@dejanews.com>
Organization: Deja News Posting Service
Lines: 16
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I´ve compiled a program with several printf sentences in standard
output without any error or warnings, but in execution, before a
simple printf sentence the program chashes with the next messages:
   - Exit code 255 (000ff) in a Rhide window
   - The contents of register in stderror window
   - In Rhide message window:
         Call frame traceback:
         in function printf+27
         ptest(123) in function main
         in function __crt1_startup+138
I´m not an Djgpp programmer, but it´s a rare error for me, if
someone can help me, mail me please (joseanmo AT unex DOT es), i can´t
continue with my work. Thanks.

-------------------==== Posted via Deja News ====-----------------------
      http://www.dejanews.com/     Search, Read, Post to Usenet
e ALLEGRO bitmap only if know where each line of data 
is stored and what format it is stored in.

A quick read of the ALLEGRO documentation with particular reference to 
the bmp_write_line() function should answer all of your questions. For 
example, if the bmp was in 8-bits-per-pixel format, as mine are, and your 
bitmap was simply the same.... then calling bmp_write_line to get the 
address of the first line of data in the bitmap, then moving your data 
into that position, would do the job nicely.

Hope this helps.

- Raw text -


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