question about cygdrive flags string in the registry (Win 2000)

Viviana Cotirlea vcotirlea@hotmail.com
Fri Nov 8 07:34:00 GMT 2002


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/



More information about the Cygwin mailing list