Re: Detecting an invalid handle in setupapi

2009-05-19 Thread Daniel Santos
oops, I meant to reply-all on this. --- On Mon, 5/18/09, Daniel Santos wrote: From: Daniel Santos Subject: Re: Detecting an invalid handle in setupapi To: "Paul Vriens" Date: Monday, May 18, 2009, 5:43 PM I'm so very glad you brought this up Paul.  I'm new to wine devel

Re: Detecting an invalid handle in setupapi

2009-05-16 Thread Juan Lang
Hi Paul, > On Windows (tested on W2K3) this will lead to a failure of > SetupFindFirstLineA with a last error of ERROR_INVALID_HANDLE. On Wine we > don't check the handle and thus the outcome cannot be predicted (mostly > crash). > > What ways do we have to detect invalid handles or better yet how

Detecting an invalid handle in setupapi

2009-05-16 Thread Paul Vriens
Hi, I'm trying to install Microsoft's MMC (W2K3) and it crashes every now and then with different symptoms. I've tracked it down to what I think is a fault in the application that triggers a bug in Wine. All inf files that are read are closed with SetupCloseInfFile but the app is still tryin