Wednesday, January 6, 2010

cygwin dll for gvim win32's libcall()?

He vimmers:

Is it possible for win32 gvim.exe to do libcall() for dll created by cygwin?

I've created a simple dll make with cmake 2.6.4 + cygwin 1.7.

The dll works great inside cygwin, i.e. I use cygwin console vim doing
libcall() of the dll works great.

However, when I load the dll from within win32 gvim.exe, the gvim hangs
up (not responding to any user action). I had checked that the dll has
the correct path and cygwin1.dll in the correct position and PATH has
been set.

To study the problem, I had made the dll as simple as "hello world". So
the content of the dll should not be a problem, anyway it works great
inside cygwin console vim.

Any hint? Thanks.

No comments: