delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/08/10:34:43

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Originating-IP: [62.245.182.10]
From: "Viviana Cotirlea" <vcotirlea AT hotmail DOT com>
To: cygwin AT cygwin DOT com
Subject: question about cygdrive flags string in the registry (Win 2000)
Date: Fri, 08 Nov 2002 17:34:30 +0200
Mime-Version: 1.0
Message-ID: <F4SxzW234xOjIL2jpWk000007be@hotmail.com>
X-OriginalArrivalTime: 08 Nov 2002 15:34:31.0179 (UTC) FILETIME=[54E3ADB0:01C2873C]

Hi,

I ported a database application on Windows 2000 using cygwin. For testing 
reasons I put on a clean (no cygwin installed) Windows 2000 machine the 
generated app.exe and the cygwin1.dll. For some reason the dbopen() call 
failed when trying to read the created before database.
After trying to investigating the problem, I found out that it is working if 
in the registry the following data exists:
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
cygdrive flags 22

If this is missing the dbopen() call will fail.

My question is: Because at one point I would like to distribute the product 
to others also, and I don't want to obligate them to install the cygwin, I 
would like to know why this string is required, and if my only solution 
would be to add that key in the registry if the cygwin is not already 
installed on that machine?

Thanks a lot,
viv

_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE* 
http://join.msn.com/?page=features/junkmail


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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