From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12445 invoked by alias); 17 Dec 2004 10:29:31 -0000 Mailing-List: contact pthreads-win32-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: pthreads-win32-owner@sources.redhat.com Received: (qmail 11793 invoked from network); 17 Dec 2004 10:29:17 -0000 Received: from unknown (HELO bgo1smout1.broadpark.no) (217.13.4.94) by sourceware.org with SMTP; 17 Dec 2004 10:29:17 -0000 Received: from bgo1sminn1.broadpark.no ([217.13.4.93]) by bgo1smout1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0I8V00MGV3KYV290@bgo1smout1.broadpark.no> for pthreads-win32@sources.redhat.com; Fri, 17 Dec 2004 11:24:34 +0100 (CET) Received: from pcgv ([80.202.228.111]) by bgo1sminn1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with SMTP id <0I8V001UY3YKFUH0@bgo1sminn1.broadpark.no> for pthreads-win32@sources.redhat.com; Fri, 17 Dec 2004 11:32:44 +0100 (CET) Date: Fri, 17 Dec 2004 10:29:00 -0000 From: Gisle Vanem Subject: Re: using mutex_lock / unlock with VS .NET 2003 To: pthreads-win32@sources.redhat.com Message-id: <013901c4e423$41a27290$0600000a@broadpark.no> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=iso-8859-1; reply-type=original Content-transfer-encoding: 7BIT References: <200412170530.iBH5UrNu026883@serrano.cc.columbia.edu> X-SW-Source: 2004/txt/msg00171.txt.bz2 "Daniel Starin" wrote: > Ahhh solved my own problem... had to turn off the "Use Managed Extensions" > configuration option... anyone care to explain why? pthreads is written in C and depends on the Win32 core API. A VS.NET 2003 program with managed extensions (written in managed C++) depends on the .NET API (Common Language Runtime etc.). These 2 don't mix allthough you can use native code in a managed program. --gv