On Sun, Apr 27, 2014 at 7:24 PM, Ni Va <[email protected]> wrote:

> On Sunday, April 27, 2014 11:19:25 AM UTC+1, Yukihiro Nakadaira wrote:
> > On Sun, Apr 27, 2014 at 7:07 PM, Ni Va <[email protected]> wrote:
> >
> > 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 <[email protected]> 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 - [email protected]
> >
> >
> >
> > Hi Yukihiro,
> >
> >
> >
> > Already both tried. Can I send you files ?
> >
> >
> > I don't have 64bit Windows PC.
> >
> > gvim.exe and dlltest.dll are both 64bit version?
> >
> > --
> > Yukihiro Nakadaira - [email protected]
>
>
> gVim 64bits
> dll is 32bits compiled
>

I think 64bit dll will work.

-- 
Yukihiro Nakadaira - [email protected]

-- 
-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to