Reg Linking .dll file in cygwin

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Tue May 27 03:51:00 GMT 2008


Mani kandan wrote:
> Hi
> I am porting an linux based application to Windows. My
> application uses a third party library (having an sybase
> dynamic library .dll file).I can able to compile and link my code in
> cygwin using g++. But when i run the exe, i got the error msg that
> "STATUS ACCESS VIOLATION".
> 
> I have doubt that is there any way to convert .dll file to .a file.
> Becase I suspect that the .dll file is the problem??.

Why?

Generally speaking, an access violation is caused by a bug and it
is likely to be in your code.  Try building your app with '-g' and
firing it up with 'gdb'.  This will tell you where the access
violation is happening and keep you from having to guess where
the problem is.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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



More information about the Cygwin mailing list