Click here to Skip to main content
15,892,697 members
Articles / Desktop Programming / MFC

The Win32 Foundation Classes (WFC) - Version 45

Rate me:
Please Sign up or sign in to vote.
4.93/5 (40 votes)
16 May 2000 469.5K   12.7K   280  
The Win32 Foundation Classes (WFC) are a library of C++ classes that extend Microsoft Foundation Classes (MFC) beyond mere GUI applications, and provide extensive support for system and NT specific applications
#if ! defined( WINVER )
#define WINVER 0x401
#endif

#include <wfc.h>

/*
** Author: Samuel R. Blackburn
** Internet: wfc@pobox.com
**
** You can use it any way you like.
**
** $Workfile: TEST.H $
** $Revision: 12 $
** $Modtime: 5/16/00 5:50p $
*/

// Standard testing functions

typedef BOOL (*TEST_FUNCTION)( CString&, int& );

BOOL test_CBase64Coding( CString& class_name, int& test_number_that_failed );
BOOL test_CByteArray( CString& class_name, int& test_number_that_failed );
BOOL test_CDataParser( CString& class_name, int& test_number_that_failed );
BOOL test_CDWordArray( CString& class_name, int& test_number_that_failed );
BOOL test_CPtrArray( CString& class_name, int& test_number_that_failed );
BOOL test_CString( CString& class_name, int& test_number_that_failed );
BOOL test_CUIntArray( CString& class_name, int& test_number_that_failed );
BOOL test_CWordArray( CString& class_name, int& test_number_that_failed );
BOOL test_CQueue( CString& class_name, int& test_number_that_failed );

void CQueue_stress_test( void );
void memory( void );
void ReportError( DWORD error_code );
void test_CBitArray( void );
void test_CEventLog( void );
void test_CFileTransferProtocol( void );
void test_CJulianDate( void );
void test_CLZFile( LPTSTR lz_file_name );
void test_CNetResource( void );
void test_CNetSession( LPCTSTR machine_name );
void test_CNetwork( LPCTSTR machine_name );
void test_CNetWorkstation( LPCTSTR machine_name );
void test_CNetworkConnections( LPCTSTR machine_name );
void test_CNetworkFiles( LPCTSTR machine_name );
void test_CNetworkShares( LPCTSTR machine_name );
void test_CNetworkUsers( LPCTSTR machine_name );
void test_CRandomNumberGenerator( void );
void test_CReedSolomonErrorCorrectionCode( void );
void test_CRegistry( void );
void test_CRAS( void );
void test_CSerialFile( void );
void test_CServer( LPCTSTR machine_name );
void test_CServiceControlManager( void );
void test_CSystemTime( void );
void test_CTape( UINT tape_drive_number_starting_at_zero );
void test_CUUCoding( void );
void test_CUniformResourceLocator( void );
void test_CXMLDocument( void );

LPTSTR BigNumToString( LONG lNum, LPTSTR string );



By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
United States United States
I'm just a simple little NT programmer. Most of the work I do is remote controlling equipment in real time. I started out using Windows 3.0. Then came 3.1 and then NT. I started using NT but unfortunately, Microsoft didn't. I started using MFC but unfortunately, Microsoft didn't (and still doesn't) put any real support for NT into MFC so I wrote a bunch of C++ classes to make my life easier. Like all class libraries, mine grew. Now I'm giving it away, I call it Win32 Foundation Classes.

Check out Sam's homepage at www.SamBlackburn.com/wfc/.

Comments and Discussions