Date: Sun, 25 Apr 1999 12:17:41 +0300 (IDT) From: Eli Zaretskii 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: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk 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.