Welcome
Welcome to <strong>Sybase Philippines</strong>.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, <a href="/profile.php?mode=register">join our community today</a>!

Problem in compiling C++ with Sybase library in Cygwin

Updated with the latest technology, this powerful, industry-leading rapid application development tool offers tight integration between design, modeling, development and management. PowerBuilder enables developers to build anything from two-tier and Web applications to applications for a distributed architecture.

Problem in compiling C++ with Sybase library in Cygwin

Postby indianparadesi on Tue Apr 08, 2008 2:30 pm

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"
indianparadesi
 
Posts: 1
Joined: Tue Apr 08, 2008 2:25 pm

Return to PowerBuilder

Who is online

Users browsing this forum: No registered users and 0 guests

cron