help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Linker won't find dll


From: jjones7947
Subject: Re: Linker won't find dll
Date: Thu, 28 Aug 2008 05:04:05 -0700 (PDT)
User-agent: G2/1.0

On Aug 27, 10:12 am, Paul Pluzhnikov <ppluzhnikov-...@gmail.com>
wrote:
> jjones7...@comcast.net writes:
> > The export table for summarizer37.dll is:
> > ?delete_summarization@inxight@@YAXPAVsummarization_interface@1@@Z (Ordinal: 
> > 1, Entry Point RVA: 2960h (10,592))
>
> There you go. Above code was compiled with MS VisualStudio, and is
> not usable by code compiled with g++.
>
> > The names are indeed mangled. This is usually something that has to be
> > resolved between C/C++ and Java JNI.
>
> The names are always mangled in C++, except for 'extern "C"' functions.
> More info here:http://en.wikipedia.org/wiki/Name_mangling
>
> The problem isn't that they are mangled; it's that they are mangled
> *differently* by different compilers (on purpose).
>
> > Most importantly, what can I do to be able to use this library under a
> > JNI wrapper?
>
> You *have* to use Microsoft compilers for that.
> Note that the free VisualStudio 
> Express:http://www.microsoft.com/express/vc/should be all you need.
>
> Cheers,
> --
> In order to understand recursion you must first understand recursion.
> Remove /-nsp/ for email.

Thanks very much


reply via email to

[Prev in Thread] Current Thread [Next in Thread]