Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: OAS link C programm

Re: OAS link C programm

From: Kenneth C Stahl <BlueSax_at_Unforgetable.com>
Date: Mon, 24 Jan 2000 12:16:58 -0500
Message-ID: <388C890A.A642B4D@Unforgetable.com>


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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US