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: Generating DLLs from Pro-C files

Re: Generating DLLs from Pro-C files

From: <alifiemylarder1_at_hotmail.com>
Date: Thu, 16 Jan 2003 11:52:20 GMT
Message-ID: <3E269BCC.5B21CD2E@hotmail.com>


check http://www.orafaq.net/msgboard/context/messages/99.htm or search sqlcxt in google

Lee Christensen wrote:

> I am writing this as a newbie and a transient in both the Oracle and
> Windows worlds.
>
> I have written a C++ program, precompiled it with the Pro C utility
> that came with my 8.1 oracle installation, and attempted to compile it
> into a DLL using Visual C++ 5.0 (shows you how infrequently I dust off
> this environment). When I generate a static library, everything works
> just fine. When I attempt to generate a DLL, however, I get the
> following linker message:
>
> Linking...
> Creating library Debug/mplus_parse_oracle.lib and object
> Debug/mplus_parse_oracle.exp
> mplus_parse_oracle.obj : error LNK2001: unresolved external symbol
> "void __cdecl sqlcxt(void * *,unsigned long *,struct sqlexd *,struct
> sqlcxp const *)" (?sqlcxt@@YAXPAPAXPAKPAUsqlexd@@PBUsqlcxp@@@Z)
> Debug/mplus_parse_oracle.dll : fatal error LNK1120: 1 unresolved
> externals
> Error executing link.exe.
>
> My workspace includes just the single source file, my export defs file
> and the library oraSQX8.lib.
>
> Any thoughts or suggestions are appreciated.
>
> Thanks,
>
> Lee Christensen
> IHC Corporation
Received on Thu Jan 16 2003 - 05:52:20 CST

Original text of this message

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