cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1999/04/25/05:19:49

Date: Sun, 25 Apr 1999 12:17:41 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: a2o1 AT my-dejanews DOT com
cc: djgpp AT delorie DOT com
Subject: Re: Exported Assembly Functions
In-Reply-To: <7ftr9a$3mf$1@nnrp1.dejanews.com>
Message-ID: <Pine.SUN.3.91.990425121720.9117r-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Sun, 25 Apr 1999 a2o1 AT my-dejanews DOT com wrote:

> > Did you declare it like this?
> >
> > extern "C" int DrawBitmap ...
> > ^^^^^^^^^^
> Well no, but I changed it, and recompiled it and it still gives me the same
> error.

You didn't explain where did you put the ``extern "C"'' thing.  It
needs to be in the prototype declaration of the DrawBitmap function
(all functions you write in NASM, actually) and that prototype should
be seen by the compiler when it compiles the functions that call
DrawBitmap.

- Raw text -


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