I have an application in Linux (Suse) to be ported in to Windows. Since the application is considerable big, instead of preferring to rewrite the code replacing Unix API calls to Windows calls, we opted for using CYGWIN.
We are able to compile simple program with Cygwin and the exe thus created runs effectively. But our application uses sybase library (.so files in Linux). We tried to compile our application with sybase .so file in CYGWIN but we have not succeeded. We tried to compile/link with sybase .dll (windows equivalent) and we are able to create the exe. but when running the exe, we are getting "STATUS_ACCESS_VIOLATION".
We tried to use a sample from sybase (EAServer) called arith.cpp. We are able to compile the code with Windows based VS IDE. but the same when compiled with CYGWIN, gives same "STATUS_ACCESS_VIOLATION" problem.
Please clarify if we can
1) link .so (sybase easerver) in CYGWIN. if so how?
2) link .dll in CYGWIN.
3) how to avoid "STATUS_ACCESS_VIOLATION"
