This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Call functions from Cygwin compiled dll.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]