From aidan@panix.com Wed Sep 17 18:11:07 1997
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28]) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id SAA08570 for <bugs@RT-11.MIT.EDU>; Wed, 17 Sep 1997 18:11:07 -0400
Received: from mail2.panix.com by MIT.EDU with SMTP
id AA29396; Wed, 17 Sep 97 18:11:01 EDT
Received: from juggler.nfs100.access.net (juggler.panix.com [198.7.0.31]) by mail2.panix.com (8.8.5/8.7.1/PanixM1.0) with ESMTP id SAA01827; Wed, 17 Sep 1997 18:10:32 -0400 (EDT)
Received: (from root@localhost) by juggler.nfs100.access.net (8.8.5/8.7.1/PanixN1.0) id SAA11308; Wed, 17 Sep 1997 18:10:32 -0400 (EDT)
Message-Id: <199709172210.SAA11308@juggler.nfs100.access.net>
Date: Wed, 17 Sep 1997 18:10:32 -0400 (EDT)
From: aidan@panix.com
Reply-To: aidan@panix.com
To: krb5-bugs@MIT.EDU
Cc: aidan@panix.com
Subject: windows 95/NT compilation problem
X-Send-Pr-Version: 3.99
System: WinNT 4.0 Intel, Visual C++ 5.0
GWL_HINSTANCE as GWW_HINSTANCE
*** windows/cns/cns.c.orig Wed Sep 17 17:34:19 1997
--- windows/cns/cns.c Wed Sep 17 17:34:29 1997
***************
*** 2688,2694 ****
hwnd = FindWindow(KWIN_DIALOG_CLASS, NULL);
if (IsWindow(hwnd) && IsWindowVisible(hwnd)) {
! if (GetWindowWord(hwnd, GWW_HINSTANCE) == hprevinstan
ce) {
if (name[0])
SendMessage(hwnd, WM_KWIN_SETNAME, 0, (LONG) name);
--- 2688,2694 ----
hwnd = FindWindow(KWIN_DIALOG_CLASS, NULL);
if (IsWindow(hwnd) && IsWindowVisible(hwnd)) {
! if (GetWindowWord(hwnd, GWL_HINSTANCE) == hprevinstan
ce) {
if (name[0])
SendMessage(hwnd, WM_KWIN_SETNAME, 0, (LONG) name);
*** config/windows.in.orig Wed Sep 17 17:48:29 1997
--- config/windows.in Wed Sep 17 17:48:44 1997
***************
*** 39,45 ****
#
##WIN16##CCOPTS2=/AL /Zp /G2s /Os /Zi /Od /W3 -DINTERFACE= -DINTERFACE_C= $(XTRA)
##WIN32##CCOPTS2=/Os /Zi /Od /W3 -DINTERFACE= -DINTERFACE_C= $(XTRA)
! CPPFLAGS = -I$(SRCTOP)/include -I$(SRCTOP)/include/krb5
DEFS = $(CPPFLAGS)
CFLAGS2 = $(CCOPTS2) $(DEFS)
--- 39,45 ----
#
##WIN16##CCOPTS2=/AL /Zp /G2s /Os /Zi /Od /W3 -DINTERFACE= -DINTERFACE_C= $(XTRA)
##WIN32##CCOPTS2=/Os /Zi /Od /W3 -DINTERFACE= -DINTERFACE_C= $(XTRA)
! CPPFLAGS = -I$(SRCTOP)/include -I$(SRCTOP)/include/krb5 -D_MSDOS
DEFS = $(CPPFLAGS)
CFLAGS2 = $(CCOPTS2) $(DEFS)
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28]) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id SAA08570 for <bugs@RT-11.MIT.EDU>; Wed, 17 Sep 1997 18:11:07 -0400
Received: from mail2.panix.com by MIT.EDU with SMTP
id AA29396; Wed, 17 Sep 97 18:11:01 EDT
Received: from juggler.nfs100.access.net (juggler.panix.com [198.7.0.31]) by mail2.panix.com (8.8.5/8.7.1/PanixM1.0) with ESMTP id SAA01827; Wed, 17 Sep 1997 18:10:32 -0400 (EDT)
Received: (from root@localhost) by juggler.nfs100.access.net (8.8.5/8.7.1/PanixN1.0) id SAA11308; Wed, 17 Sep 1997 18:10:32 -0400 (EDT)
Message-Id: <199709172210.SAA11308@juggler.nfs100.access.net>
Date: Wed, 17 Sep 1997 18:10:32 -0400 (EDT)
From: aidan@panix.com
Reply-To: aidan@panix.com
To: krb5-bugs@MIT.EDU
Cc: aidan@panix.com
Subject: windows 95/NT compilation problem
X-Send-Pr-Version: 3.99
Show quoted text
>Number: 472
>Category: krb5-libs
>Synopsis: windows 95/NT compilation problem
>Confidential: yes
>Severity: non-critical
>Priority: low
>Responsible: krb5-unassigned
>State: open
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Wed Sep 17 18:12:01 EDT 1997
>Last-Modified:
>Originator: Aidan
>Organization:
PANIX>Category: krb5-libs
>Synopsis: windows 95/NT compilation problem
>Confidential: yes
>Severity: non-critical
>Priority: low
>Responsible: krb5-unassigned
>State: open
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Wed Sep 17 18:12:01 EDT 1997
>Last-Modified:
>Originator: Aidan
>Organization:
Show quoted text
>Release: 1.0pl1
>Environment:
Intel Pentium, WinNT 4.0, WinNT/95, krb5.lib gssapi.lib gss.exe>Environment:
System: WinNT 4.0 Intel, Visual C++ 5.0
Show quoted text
>Description:
some of the libraries don't build under windows, misspelledGWL_HINSTANCE as GWW_HINSTANCE
Show quoted text
>How-To-Repeat:
Attempt to build with VC++5Show quoted text
>Fix:
Apply the following patch:*** windows/cns/cns.c.orig Wed Sep 17 17:34:19 1997
--- windows/cns/cns.c Wed Sep 17 17:34:29 1997
***************
*** 2688,2694 ****
hwnd = FindWindow(KWIN_DIALOG_CLASS, NULL);
if (IsWindow(hwnd) && IsWindowVisible(hwnd)) {
! if (GetWindowWord(hwnd, GWW_HINSTANCE) == hprevinstan
ce) {
if (name[0])
SendMessage(hwnd, WM_KWIN_SETNAME, 0, (LONG) name);
--- 2688,2694 ----
hwnd = FindWindow(KWIN_DIALOG_CLASS, NULL);
if (IsWindow(hwnd) && IsWindowVisible(hwnd)) {
! if (GetWindowWord(hwnd, GWL_HINSTANCE) == hprevinstan
ce) {
if (name[0])
SendMessage(hwnd, WM_KWIN_SETNAME, 0, (LONG) name);
*** config/windows.in.orig Wed Sep 17 17:48:29 1997
--- config/windows.in Wed Sep 17 17:48:44 1997
***************
*** 39,45 ****
#
##WIN16##CCOPTS2=/AL /Zp /G2s /Os /Zi /Od /W3 -DINTERFACE= -DINTERFACE_C= $(XTRA)
##WIN32##CCOPTS2=/Os /Zi /Od /W3 -DINTERFACE= -DINTERFACE_C= $(XTRA)
! CPPFLAGS = -I$(SRCTOP)/include -I$(SRCTOP)/include/krb5
DEFS = $(CPPFLAGS)
CFLAGS2 = $(CCOPTS2) $(DEFS)
--- 39,45 ----
#
##WIN16##CCOPTS2=/AL /Zp /G2s /Os /Zi /Od /W3 -DINTERFACE= -DINTERFACE_C= $(XTRA)
##WIN32##CCOPTS2=/Os /Zi /Od /W3 -DINTERFACE= -DINTERFACE_C= $(XTRA)
! CPPFLAGS = -I$(SRCTOP)/include -I$(SRCTOP)/include/krb5 -D_MSDOS
DEFS = $(CPPFLAGS)
CFLAGS2 = $(CCOPTS2) $(DEFS)
Show quoted text
>Audit-Trail:
>Unformatted:
>Unformatted: