delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/30/22:21:59

From: "Jeffrey Drake" <jdrake AT lonet DOT ca>
Newsgroups: comp.os.msdos.djgpp
Subject: Attempting to make a picture button in allegro.
Date: 1 May 1997 00:32:11 GMT
Organization: iSTAR internet Incorporated
Lines: 159
Message-ID: <5k8oab$6od@nr1.toronto.istar.net>
NNTP-Posting-Host: news.lonet.ca
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

This is a multi-part message in MIME format.

------=_NextPart_000_01BC55A5.6F747840
Content-Type: multipart/alternative; boundary="----=_NextPart_001_01BC55A5.6F747840"
Content-Transfer-Encoding: 7bit


------=_NextPart_001_01BC55A5.6F747840
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

My picture button is failing to draw a bitmap because of a SIGSEGV (segment
violation) I have tried to check for NULL pointers in the datafile's
pointer but it doesn't work.

I have included an attachment for the source code:
zip file containing:
source code
data file
rhide 1.2b project file (version doesn't matter)

needed:
liballeg.a

------=_NextPart_001_01BC55A5.6F747840
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<html><head></head><BODY bgcolor=3D"#FFFFFF"><p><font size=3D2 =
color=3D"#000000" face=3D"Arial">My picture button is failing to draw a =
bitmap because of a SIGSEGV (segment violation) I have tried to check =
for NULL pointers in the datafile's pointer but it doesn't =
work.<br><br>I have included an attachment for the source code:<br>zip =
file containing:<br>source code<br>data file<br>rhide 1.2b project file =
(version doesn't matter)<br><br>needed:<br>liballeg.a<br><br></p>
</font></body></html>
------=_NextPart_001_01BC55A5.6F747840--


------=_NextPart_000_01BC55A5.6F747840
Content-Type: application/octet-stream; name="Paint.zip"
Content-Transfer-Encoding: base64
Content-Description: Paint.zip (PKZIP File)
Content-Disposition: attachment; filename="Paint.zip"

UEsDBBQAAgAIAHatnSI/FQaA5gMAAK0GAAAJAAAAUEFJTlQuREFUhVRhU9tGEH2SrZ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LvGf
G9JO07Cfh7jPc4qtC7fV1CFPVS8os37NOWi6TzZV/ZiGxDZT/c0F/9D5lbGXhy6drFAiM2mFsWP9
E0kf59M2odK/xmb173q6CXRx9MWzP8MoSZcr/Cp38QX+z8ZgpItS1R7aa/5/j3p6yOqiC/XtD/zx
VO108V9QSwMEFAACAAgAdq2dIgPULhXHAAAAKwEAAAcAAABQQUlOVC5I09dScMzJSU0vyldISSxJ
VEjLzElVyE/KSk0uUcjMS0mtSC3WUSgoyk8pTU5NUUiqVEgvSkxKSi1SKDPSM1LQ0uflAprgAtQJ
0milkGIVk5KVXlAQU5CYmVcCIfWABiOpBKoKKU1VcCwoUjCyVDAytDIxtjIxVTC0tDSHq8pXyMsv
UchIzEtRSE3JLFEES/ByKaekpmXmpSoUFwCdV1Saq4ALGMAYQMMCHH0UwPphuktScwvik0pLSvLz
sOs2RNLt5BugALUdAFBLAQIUABQAAgAIAHatnSI/FQaA5gMAAK0GAAAJAAAAAAAAAAAAIAAAAAAA
AABQQUlOVC5EQVRQSwECFAAUAAIACAA7n54iqoYahn4DAAAtCgAACAAAAAAAAAABACAAAAANBAAA
UEFJTlQuQ0NQSwECFAAUAAIACADrhp4iv8mmiqQCAACeBwAACQAAAAAAAAAAACAAAACxBwAAUEFJ
TlQuR0RUUEsBAhQAFAACAAgA64aeIlhZ6tzfCwAANSQAAAkAAAAAAAAAAAAgAAAAfAoAAFBBSU5U
LkdQUlBLAQIUABQAAgAIAHatnSID1C4VxwAAACsBAAAHAAAAAAAAAAEAIAAAAIIWAABQQUlOVC5I
UEsFBgAAAAAFAAUAEAEAAG4XAAAAAA==

------=_NextPart_000_01BC55A5.6F747840--

- Raw text -


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