Call functions from Cygwin compiled dll.

Eliot Moss moss@cs.umass.edu
Fri Jun 24 18:07:00 GMT 2016


On 6/24/2016 3:57 AM, Azatyan, Anushavan wrote:
> Hi,
> I have build in cygwin environment my own dll which calls standard unix like functions
> (fopen, fclose, fread …). And now I would like to attach that dll to my program which is
> developed in Visual Studio environment and call some of my function from that dll.
> Or I would like to call functions from my dll in Matlab mex or in LabView vi.
>
> All my attempts up till now were unsuccessfull. Is there a way to do it ?

AFAIK, you can't really mix the cygwin Posix emulation environment and the Windows
native C environment in that way.  Why not build your library using Windows functions?
What is cygwin buying you in this case?  I'm pretty sure Windows supports functions
similar to the ones you list.

Regards -- Eliot Moss

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list