Branch: Tag:

1999-06-02

1999-06-02 21:21:39 by Marcus Comstedt <marcus@mc.pp.se>

Fixed registry-stuff for NT.

Rev: lib/master.pike.in:1.50
Rev: src/main.c:1.73

5:   \*/   /**/   #include "global.h" - RCSID("$Id: main.c,v 1.72 1999/05/08 00:38:42 hubbe Exp $"); + RCSID("$Id: main.c,v 1.73 1999/06/02 21:21:38 marcus Exp $");   #include "fdlib.h"   #include "backend.h"   #include "module.h"
105: Inside #if defined(__NT__)
   DWORD len=sizeof(buffer)-1,type=REG_SZ;    long ret;    if(RegOpenKeyEx(cat, -  (LPCTSTR)"SOFTWARE\\Idonex\\Pike\\0.6", +  (LPCTSTR)"SOFTWARE\\Idonex\\Pike\\0.7",    0,KEY_READ,&k)==ERROR_SUCCESS)    {    if(RegQueryValueEx(k,