Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: OAS link C programm
Dim wrote:
> =
> What library to link when developing C++ programm to aviod this error:
> =
> oas2.obj : error LNK2001: unresolved external symbol "long __cdecl
> WRB_printf(void *,char *,...)" (?WRB_printf@@YAJPAXPADZZ)
> =
> I use
> - OAS 4081
> - MS Visual C++
> - NT
> =
> --
> -=Дмитрий
Somehow you are generating a mangled call to printf but you do not have anything which tells the linker to handle it as a non-mangled call. Typically this is done with extern "C" in the header file. Received on Mon Jan 24 2000 - 11:16:58 CST