Changeset 1877 for trunk/src


Ignore:
Timestamp:
Nov 29, 1999, 8:22:55 AM (26 years ago)
Author:
phaller
Message:

Fix: cause for WSAAsyncSelect problem identified

Location:
trunk/src/wsock32/new
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wsock32/new/makefile

    r1807 r1877  
    1 # $Id: makefile,v 1.1 1999-11-22 08:18:04 phaller Exp $
     1# $Id: makefile,v 1.2 1999-11-29 07:22:54 phaller Exp $
    22
    33#
     
    2828$(TARGET).dll: $(OBJS) $(TARGET).def
    2929        $(LD) $(LDFLAGS) -Fm -Fe$@ $(OBJS) $(TARGET).def \
    30               pmwsock.lib $(PDWIN32_LIB)\kernel32.lib \
     30              dapwsock.lib $(PDWIN32_LIB)\kernel32.lib \
    3131              $(PDWIN32_LIB)/odincrt.lib OS2386.LIB $(RTLLIB_O)
    3232        $(CP) $@ $(PDWIN32_BIN)
  • trunk/src/wsock32/new/wsock32.cpp

    r1851 r1877  
    1 /* $Id: wsock32.cpp,v 1.3 1999-11-26 21:46:36 phaller Exp $ */
     1/* $Id: wsock32.cpp,v 1.4 1999-11-29 07:22:55 phaller Exp $ */
    22
    33/*
     
    13431343  int iError;
    13441344 
     1345  /* @@@PH: our source window doesn't seem to have an anchor block.
     1346            Docs suggest we've missed to call WinInitialize on the
     1347            caller thread.
     1348           
     1349            Cause however is the Open32 handle is (of course!) invalid
     1350            in plain PM Window Manager! -> use DAPWSOCK
     1351           
     1352            Unfortunately, DAPWSOCK calls WinQueryAnchorBlock(hOpen32), too.
     1353            So, we're stuck until I resolve hWnd to it's valid PM
     1354            counterpart.
     1355   */
     1356 
     1357 
    13451358  rc = WSAAsyncSelect(s,
    13461359                      hWnd,
Note: See TracChangeset for help on using the changeset viewer.