[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
Creating your own Clipper - Windows API new functions
--------------------------------------------------------------------------------
Conecting Clipper to Windows API it is a very easy task. There are just two
main things you should keep on mind:
* Clipper uses its own variables stack system. In order to obtain Clipper
parameters from C, you have to use Clipper _par...() functions. This is
the extend system of Clipper.
Also, for returning values from C to Clipper, you have to use _ret...()
functions.
* Clipper uses PASCAL symbols as identifiers and 10 characters is the
maximum length of its symbols. So, if you are going to use a Windows
identifier with 10 or less characters, it may generate duplicated
symbols.
We have renamed all Windows symbols with 10 characters length or less
to _name. Check the name of the Windows API function you are going to
use is inside WinTen.h and then use always the following headers order:
#include <WinTen.h>
#include <Windows.h>
#include <ClipApi.h>
We provide WinTen.h and ClipApi.h. Your C compiler will provide Windows.h.
We use Borland C++ compiler:
BCC -c -ml func.c
or
TCC -c -ml func.c
When you register we will send you all the C source code, where you will
find many, many examples to develop your own routines. Get a C compiler
if you haven't got one. Using Clipper + C + Windows API it is very easy!
Contact your distributor technical support service to obtain more
information about enhancing FiveWin. We would like very much if you
send us the new extensions you build for FiveWin. We will include them
in next versions of FiveWin with mention to your name. Thanks!
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson