Mail Archives: djgpp/1999/04/25/05:19:49
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 -