After linking this dll ...
.h
extern "C" __declspec(dllexport) char * decrease(int * a);
.cpp
extern "C" __declspec(dllexport)
char * decrease(int * a)
{
*a = - *a;
return NULL;
}
...I call it from gvim with this command
echo libcall("dlltest.dll", "decrease", "5")
but I get the E364 error
--
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
No comments:
Post a Comment