Fix for Windows 98 Quiz Checking Problem

Problem: When you try to check a quiz when using Windows 98, the Viewer reports an error code 87

To fix this problem:

  1. Close the Viewer if it's running
  2. Download an updated version of the Viewer here.
  3. Locate the "viewer.exe" program on your hard disk -- it should be in the x:\descript directory, where "x:" is where you installed the workshop.
  4. Copy the updated "viewer.exe" into the x:\descript directory.

Lab 13 Fix for Microsoft Visual C++ 5.0 and later

The Windows API Programming online course was written using Microsoft Visual C++ 4.2, which had a non-standard, limited version of the Standard Template Libraries. Microsoft did upgrade their STL support in version 5.0, but their upgrade broke code written for STL in earlier versions.

To fix LAB 13 so it works with the new compiler, edit LAB13.CPP and find the code that looks like:

typedef struct
{
    char    szName[50];
    int     id;
    int     score;
} STUDENT;


Comment that code out and replace it with:

using namespace std;

class STUDENT
{
public:
    char    szName[50];
    int     id;
    int     score;
        
    boolean operator< ( STUDENT const &a ) const
    {
        return true;
    }
        
    boolean operator== ( STUDENT const &a ) const
    {
        return true;
    }
};

Then recompile and ignore any warnings about "C++ exception handling".

That should fix it up, but let us know if you have any problems or further questions. You can contact us at support@descriptor.com

Lab 10 Unresolved Reference Link Error

Problem: when you do step 5, the linker fails with unresolved link errors

To fix this problem, skip ahead and do step 17 and then rebuild. Then continue on in step 6.

Copyright (C) Descriptor Systems, 2000. All rights reserved.

All trademarks are owned by their respective companies.