delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/01/29/09:59:27

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=3.1 required=5.0 tests=AWL,BAYES_05,BOTNET
X-Spam-Check-By: sourceware.org
MIME-version: 1.0
Message-id: <4B62F7B0.3080307@cygwin.com>
Date: Fri, 29 Jan 2010 09:58:56 -0500
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-to: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0
To: cygwin AT cygwin DOT com
Subject: Re: gcc and vc compiled library problem
References: <201001290914075781322 AT techtrex DOT com>
In-reply-to: <201001290914075781322@techtrex.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 01/28/2010 08:14 PM, phil song wrote:
> Hi,cygwin!
>      pls forgive my poor english at first.
>
> I have compiled one sdk_lib dll using gcc in cygwin,and I writed a tool
> convert the dll to .lib so I can call the interface function in sdk_lib
> dll using vc. Then I wrote a application using VC2005,when  it ran at
> beginning,everything looks like ok,but when I call a function
> "tti_readfile" which call "open write close" in sdk_lib many times,The
> application exited.By debuging,I find the  it crashed  in function
> "_aclcheck" in "cygwin1.dll".  But I found the file had been write
> success,however,after the app called it,it crashed.
>
> who can tell me what cause this?How to resolve it?Can the dll(compiled by
> gcc) and app(compiled by vc) run in the same process?

<http://cygwin.com/faq/faq-nochunks.html#faq.programming.msvcrt-and-cygwin>
<http://cygwin.com/faq/faq-nochunks.html#faq.programming.msvs-mingw>

-- 
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?

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019