X-Spam-Check-By: sourceware.org Message-ID: <45493BB9.2050106@cygwin.com> Date: Wed, 01 Nov 2006 19:28:41 -0500 From: "Larry Hall (Cygwin)" Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060916 Fedora/1.5.0.7-1.fc4.remi Thunderbird/1.5.0.7 Mnenhy/0.7.4.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Possible to use pinvoke to call DLL built with cygwin References: <4548FF03 DOT 50403 AT cygwin DOT com> <01b501c6fdef$f199aff0$a501a8c0 AT CAM DOT ARTIMI DOT COM> <6bd5d4070611011411h6e6161d5w874871663a2140b AT mail DOT gmail DOT com> In-Reply-To: <6bd5d4070611011411h6e6161d5w874871663a2140b@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Sammy Yu wrote: > Hey guys, > Thanks for the quick response. I've tried calling the > cygwin_dll_init method but I'm still getting the same error. I think > it's because of the 4K scratch space on stack size limitation > mentioned here: > http://sourceware.redhat.com/cygwin/faq/faq-nochunks.html. Is this > correct? Being relative new to C#, I am not aware of anyway of > changing the stack size. This is probably wrong news group to ask, > but has anybody ported over the winsup.api code into a C# version? > Not that I know of, no. You can always call into C code to do what's necessary if C# can't do what's needed. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 -- 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/