home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Tool Box
/
SIMS_2.iso
/
vb_code1
/
generic
/
genfun.c
< prev
next >
Wrap
Text File
|
1993-04-23
|
751b
|
26 lines
//---------------------------------------------------------------------------
// Copyright (C) 1993, Microsoft Corporation
//
// You have a royalty-free right to use, modify, reproduce and distribute
// the Sample Custom Control Files (and/or any modified version) in any way
// you find useful, provided that you agree that Microsoft has no warranty,
// obligation or liability for any Custom Control File.
//---------------------------------------------------------------------------
// gener.rc
//---------------------------------------------------------------------------
#include <windows.h>
#include "genfun.h"
int FAR PASCAL GenStrlen(LPSTR lpString)
{
int i = 0;
while (*(lpString++))
i++;
return (i);
}