www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/02/01:16:03

From: ptwitche AT eznet DOT net (Ryan Twitchell)
Newsgroups: comp.os.msdos.djgpp
Subject: pointers 'n stuff in Allegro
Date: Tue, 02 Jun 1998 01:37:41 GMT
Message-ID: <3573548e.23288993@news.eznet.net>
NNTP-Posting-Host: dialup078.roc-tc5n.eznet.net
Lines: 12
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hello,
I'm getting an interesting error in Allegro. I'm trying to call
Allegro functions (textout, text_length, etc.) with pointers to
variables in GUI dialogs as some of the arguments. The variables in
the dialogs are of different types than the types specified in the
function prototypes. The error messages are something like: "no
matching function call to 'textout(BITMAP *&, FONT *&, void *&, int &,
int &, int &)"
I don't understand what I have to do to correct this, type conversion
or something else?
Please help,
	Ryan Twitchell

- Raw text -


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