It does include jdll.def.
extern "C" is already there. Yet for some reason VC++ just discards all of
this and still mangles the names.

Couldn't find anything on source forum. Will not post any more questions
like this here, thanks for letting me know.


On Fri, Mar 22, 2013 at 12:43 AM, bill lam <[email protected]> wrote:

> Is it? Does your source tree include the file jdll.def?  Or you
> may check if extern "C" was declared for those functions in
> header files.
>
> This thread should belong to the source forum, please search the
> forum archieve and post questions there.
>
> Пт, 22 мар 2013, Greg Borota писал(а):
> > I managed to get the source code from
> > http://www.jsoftware.com/download/j701_b_source.tar.gz to compile in
> Visual
> > Studio 2012. I successfully load the new dll into jconsole but when I
> enter
> > any sentence I get e.g.:
> >    2+2
> > |spelling error
> > |   2+2
> > |      ^
> >
> > Maybe it has to do with name mangling which I can't get VS not to do:
> > >dumpbin /exports j.dll (my newly compiled j.dll)
> >
> > 8    6 001C3E6E JDo = @ILT+7785(_JDo@8)
> >
> > while
> > >dumpbin /exports j.dll (distro j.dll)
> > 8    6 00079050 JDo
> > (notice no = mangled name)
> >
> > Any idea how to force VS not to mangle the exported function names?
> >
> > I googled all around, nothing helped.
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
>
> --
> regards,
> ====================================================
> GPG key 1024D/4434BAB3 2008-08-24
> gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to