Changeset 276


Ignore:
Timestamp:
Feb 18, 2005, 1:24:05 AM (21 years ago)
Author:
pr
Message:

Fixes bug 634.

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/branch-1-0/include/helpers/winh.h

    r264 r276  
    10001000    BOOL XWPENTRY winhIsClassRegistered(const char *pcszClass);
    10011001
     1002    extern BOOL32 APIENTRY WinRestartWorkplace(void);
     1003
    10021004    ULONG XWPENTRY winhResetWPS(HAB hab);
    10031005
  • branches/branch-1-0/src/helpers/winh.c

    r229 r276  
    52925292 *
    52935293 *@@added V0.9.4 (2000-07-01) [umoeller]
     5294 *@@changed V1.0.5 (2005-02-17) [pr]: replaced this with something less brutal
    52945295 */
    52955296
     
    52975298{
    52985299    ULONG ulrc = 0;
     5300
     5301#if 1
     5302    WinRestartWorkplace();
     5303#else
    52995304    // find out current profile names
    53005305    PRFPROFILE Profiles;
     
    53285333    else
    53295334        ulrc = 4;
     5335#endif
    53305336
    53315337    return ulrc;
  • trunk/include/helpers/winh.h

    r265 r276  
    10711071    BOOL XWPENTRY winhIsClassRegistered(const char *pcszClass);
    10721072
     1073    extern BOOL32 APIENTRY WinRestartWorkplace(void);
     1074
    10731075    ULONG XWPENTRY winhResetWPS(HAB hab);
    10741076
  • trunk/src/cppbase/bs_config.cpp

    r275 r276  
    15771577    }
    15781578
     1579    // V1.0.5 (2005-02-17) [pr]
     1580    // We now save the object synchronously to prevent objects getting lost if we
     1581    // restart the WPS imminently due to a class registration for example. @@fixes 634.
     1582    WinSaveObject (_hobj, FALSE);
    15791583    if (pLogFile)
    15801584    {
  • trunk/src/helpers/winh.c

    r243 r276  
    53755375 *
    53765376 *@@added V0.9.4 (2000-07-01) [umoeller]
     5377 *@@changed V1.0.5 (2005-02-17) [pr]: replaced this with something less brutal
    53775378 */
    53785379
     
    53805381{
    53815382    ULONG ulrc = 0;
     5383
     5384#if 1
     5385    WinRestartWorkplace();
     5386#else
    53825387    // find out current profile names
    53835388    PRFPROFILE Profiles;
     
    54115416    else
    54125417        ulrc = 4;
     5418#endif
    54135419
    54145420    return ulrc;
    54155421}
    5416 
Note: See TracChangeset for help on using the changeset viewer.