BCOUNT DLL

BCOUNT.DLL outputs the counter image. This counter is a change of WWW Homepage Access Counter of the Mr. Muhammad A Muquit making to DLL of a thread-safe .
The Counter method of BASP21 DLL uses this API. It is possible to use from VC++ and Visual Basic.

Last Update August 22,1999

Binary Down Load!
Source Down Load!VC++ 6.0 Build format(Please defrost the file with the directory in the lha x command. )

Feature

Function used from C++

Use example :
extern "C"
int Counter(LPCSTR p,long value,BYTE *vbuf);

	BYTE data[9999]; 
        char szPara[] = "dd=f,ft=18,frgb=255;255;255";
	int len = Counter((LPCSTR)szPara,123,data);
    // len = Length of image
    // data = image data

Function used from Visual Basic


Counter Option

To customize the display image of the counter, the counter option is specified. These parameters are combined and used when actually using. The delimitation of the parameter uses the comma. Please do not include blanking before and behind the parameter and between. The main option is introduced here.

character style Use "dd=x" . The English small letter is set from a to h in x.
If nothing is specified, dd=a is selected.
ParameterImage
dd=a
dd=b
dd=c
dd=d
dd=e
dd=f
dd=g
dd=h

Thickness of frame Use "ft=". The unit is a pixel value. "0" can be set by minimum value, and, in this case, the frame is not displayed. If nothing is specified, it is six.
ParameterImage
ft=0
ft=18

Number of display digits Use "md=". between from 5 to 10. If nothing is specified, it is six.
ParameterImage
dd=f,ft=18,md=10

Left Padding with 0s Use "pad=0|1" . Padding is done by 0.
ParameterImage
dd=g,ft=8,pad=0

Display comma after every 3rd digits Use "comma=1". It is possible to use only with dd=a and dd=b.

ParameterImage
dd=a,comma=1
dd=b,comma=1

Change a color image Use "srgb=rrggbb" and "prgb=rrggbb" and "chcolor=y".
ParameterImage
srgb=0;255;0,prgb=255;0;0,chcolor=y
srgb=0;255;0,prgb=255;255;255,chcolor=y

Frame Color Use "frgb=rrggbb".
ParameterImage
frgb=0;255;255,ft=14,dd=f
frgb=255;0;255,ft=14,dd=f

Transparency On/Off use "tr=t".
ParameterImage
tr=t,ft=8,dd=h

Rotate X degree Use "degrees=n". n specifies either of 90,180,270,360 in the angle.
ParameterImage
degrees=90

Date Use "display=date". It is possible to use only with dd=a and dd=b.
ParameterImage
display=date,dd=b

Clock Use "display=clock". It is possible to use only with dd=a and dd=b.
ParameterImage
display=clock,dd=a

WWW Homepage Access Counter Copyright

Copyright 1995-1999 by Muhammad A Muquit. Permission to use, copy, modify and distribute this program is hereby granted without fee, provided that this copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. If the source code of the program is modified or enhanced, the source code must be made public and it must be clearly mentioned in the documentation what was modified.

THIS PROGRAM IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY. THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL THE AUTHOR Muhammad A. Muquit BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTUOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

Important Note of BABAQ Free Soft


Home


Copyright 1999 Tatsuo Baba All rights reserved.