home *** CD-ROM | disk | FTP | other *** search
- Path: xs4all.nl!not-for-mail
- From: yrozijn@xs4all.nl (Yvon Rozijn)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Datatypes - Help!
- Date: 2 Jan 1996 15:55:36 GMT
- Organization: XS4ALL, networking for the masses
- Message-ID: <4cbkho$fij@news.xs4all.nl>
- References: <vreeland-0101961417240001@192.0.2.1>
- NNTP-Posting-Host: ztm03-04.dial.xs4all.nl
- X-Newsreader: TIN [AMIGA 1.3 950726BETA PL0]
-
- Robert W. Vreeland Jr. (vreeland@sfsu.edu) wrote:
- :
- :
- : Help! I'm trying to load in and display a picture using datatypes. The
- : picture is loaded in and decoded but I can't display it because I always
- : get a Bitmap pointer back of NULL. What is wrong with this code? (I can
- : display a test image just fine with multiview so I know the image and the
- : datatype are okay. The problem has to lie in my code.)
- :
- :
- : if (!DoMethodA(o,(Msg)&ilbm->dtf)) {
- ^^^^^^^^^
-
- : if (!DoMethodA(o,(Msg)&ilbm->gpl)) {
- ^^^^^^^^^
-
- You should use DoDTMethod[A] ()
-
- Yvon.
- --
- ___ _
- Q : | #| : \|/ http://www. : [_]_
- -<_>- Yvon : | ==| yrozijn@ : >WWW< xs4all.nl/ : === ) Amiga
- / \ Rozijn : `---' xs4all.nl : /|\ ~yrozijn : O 4000
-