July 09, 2002
"Gisle Vanem" <giva@bgnett.no> wrote in message news:...
> I'm having problems linking with external assembly modules. It looks as if
> external assembly routines are never called despite being called from C.
> I'm using the latest compiler 8.29.5 and Borland's tasm v.3.2.
> ..
> .MODEL FLAT,C

Bummer, I changed this to ".MODEL SMALL,C" and everything works now.

Gisle V.


July 09, 2002
"Gisle Vanem" <giva@bgnett.no> wrote in message news:ageqv1$2so8$1@digitaldaemon.com...
> "Gisle Vanem" <giva@bgnett.no> wrote in message news:...
> > I'm having problems linking with external assembly modules. It looks as
if
> > external assembly routines are never called despite being called from C.
> > I'm using the latest compiler 8.29.5 and Borland's tasm v.3.2.
> > ..
> > .MODEL FLAT,C
>
> Bummer, I changed this to ".MODEL SMALL,C" and everything works now.

The DOSX memory model has 3 separate segments, and so is not flat.