Skip Menu |
 

Download (untitled) / with headers
text/plain 2.9KiB
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

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
Show quoted text
>Release: 1.0pl1
>Environment:
Intel Pentium, WinNT 4.0, WinNT/95, krb5.lib gssapi.lib gss.exe
System: WinNT 4.0 Intel, Visual C++ 5.0


Show quoted text
>Description:
some of the libraries don't build under windows, misspelled
GWL_HINSTANCE as GWW_HINSTANCE
Show quoted text
>How-To-Repeat:
Attempt to build with VC++5
Show 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:
Subject: windows 95/NT compilation problem
Code in question is now in an "#ifndef _WIN32" block, and we don't
support WIN16 any more.

Symbol _MSDOS is no longer used.