Avoiding the Pitfalls
Memory Allocation concerns
Math Library (Floating Point) Routine compatibility
Compatibility With Other C Compilers
C Language Debugger Support with Clipper
Linking Issues
Calling Clipper functions from C
Important Design Considerations
Isolate the C function from the Clipper Extend System
Make the memory allocation generic
Table 1 - C Compiler Compatibility Table
Example 1
Example 2
Example 3
Example 4
Notes