Subj : Re: Linker says: 32-bit record found in module.asm To : borland.public.cpp.borlandcpp From : Evariste HORNECKER Date : Mon Jan 31 2005 03:48 pm I think you have mixed 16 bits / 32 bits code. Your xlib.asm has been compiled for WIN32, and you try to build an application for Windows 3.11 (16 bits). In order to link with 32 bits code, your whole application must be compiled with this mode. Hope it helps "Szakats Istvan" a écrit dans le message de news: 41fb7453$1@newsgroups.borland.com... > Hello > > I am trying to use a 32-bit dos protected mode library > with my application in Borland C++ 3.1. I linked an example > program (supposedly made specifically for BC++) with the > library. > The compilation goes fine but the linker complains: > '32-bit record encountered in module xlib.asm' > My first thought is that this should be normal as that > is supposed to be it's purpose (to give the ability to use > 32-bit pointers in protected mode). > Another big problem is that i don't actually have that > .asm file as it's linked into a .lib file. (so why does > it say .asm, i wonder ?). This being the case i am unable > to modify the library's source code. > > Is there anyway i can tell the compiler to ignore that > error ? Or is there some other trick that should be done? > > Thanks in advance > > Steven .