Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FiveWin 1.9.2 - January 97 - <b>8.7 creating your own clipper - windows api new functions</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 8.7 Creating your own Clipper - Windows API new functions
--------------------------------------------------------------------------------

 Connecting Clipper to the Windows API is a very easy task. There are just
 two main things you should keep in 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 always use 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 is very easy!

   Contact your distributor technical support service to obtain more
   information about enhancing FiveWin. We would like you to
   send us the new extensions you build for FiveWin. We will include them
   in the next version of FiveWin with mention of your name, of course.
   Thanks!



Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson