www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/23/12:07:30

From: aho450s AT nic DOT smsu DOT edu (Tony O'Bryan)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Quick question re: Allegro BITMAPs
Date: Thu, 22 May 1997 08:44:33 GMT
Organization: Southwest Missouri State University
Lines: 11
Message-ID: <338405ac.1670120@ursa.smsu.edu>
References: <33832989 DOT 12988254 AT news DOT cis DOT yale DOT edu>
NNTP-Posting-Host: forseti.i60.smsu.edu
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On Wed, 21 May 1997 17:20:11 GMT, quacci AT vera DOT com (jon) wrote:

>"void *dat" seems key... but in my lack of comprehension, I don't know
>how to get at it! In the system I am used to, I would expect it to be
>buffer[0]. But I don't think it is that simple.

You are correct that "void *dat" is the key.  Assuming  unsigned char *Buffer:

Buffer = (unsigned char *)MyBitmap -> dat;


- Raw text -


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