Sunday, April 27, 2014

Re: libcall E364

On Sunday, April 27, 2014 10:52:25 AM UTC+1, Yukihiro Nakadaira wrote:
> On Sun, Apr 27, 2014 at 6:10 PM, Ni Va <niva...@gmail.com> wrote:
>
>
> On Friday, April 25, 2014 10:04:57 AM UTC+1, Ni Va wrote:
>
> > Hi,
>
> >
>
> >
>
> > I compiled a dlltest.dll under windows 64bits that fails at vim libcall.
>
> >
>
> > _____________source code____________
>
> > .h
>
> > extern "C" __declspec(dllexport) int decrease(long a);
>
> >
>
> > .cpp
>
> > extern "C" __declspec(dllexport)
>
> > int decrease(long a)
>
> > {
>
> >    return (a-1);
>
> > }
>
> > ___end____of______source code____________
>
> >
>
> >
>
> >
>
> > :echo libcallnr('dlltest', 'Decrease', 5)
>
> > E364: Library call failed for "Decrase()"
>
> >
>
> >
>
> > dlltest.dll is under vim74 directory with gvim.exe.
>
>
>
> Any help?
>
>
> Maybe typo?  'Decrease' -> 'decrease'
> Or try dll full path.
>
> --
> Yukihiro Nakadaira - yukihiro....@gmail.com

Hi Yukihiro,

Already both tried. Can I send you files ?

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: