From: buffalo276 AT aol DOT com (Buffalo276) Newsgroups: comp.os.msdos.djgpp Subject: error on putpixel? Lines: 41 NNTP-Posting-Host: ladder05.news.aol.com X-Admin: news AT aol DOT com Date: 03 May 2000 18:44:11 GMT Organization: AOL Bertelsmann Online GmbH & Co. KG http://www.germany.aol.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <20000503144411.18540.00001011@ng-fo1.aol.com> To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com hy, sorry for my english, it isn't very well.. I'm using RHIDE and i wrote this small test-program int main () { BITMAP bmp = screen; allegro_init; set_gfx_mode(GFX_AUTODETECT,1024,768,0,0); set_color_depth(8); putpixel(bmp,21,21,3); } but when i run it i always get a message box (error code 255) and this Shutting down Allegro Exiting due to signal SIGSEGV General Protection Fault at eip=00000000, error=55e4 eax=00000001 ebx=0000830f ecx=00000001 edx=00000000 esi=00000000 edi=0004c0bc ebp=001f1fe0 esp=001f1fa8 program=C:\GNU\BIN\A.EXE cs: sel=00a7 base=83990000 limit=00231fff ds: sel=00af base=83990000 limit=00231fff es: sel=00af base=83990000 limit=00231fff fs: sel=00c7 base=00000000 limit=0010ffff gs: sel=00c7 base=00000000 limit=0010ffff ss: sel=00af base=83990000 limit=00231fff App stack: [001f2000..00172000] Exceptn stack: [0004c014..0004a0d4] Call frame traceback EIPs: 0x00000000 0x00029b72 i don't know what is wrong.. please help me, thanks Yannick Schäfer