|
|
|
|
- Principle
- Constants
- Functions
Commands of the external interface
You will find below the description of the functions accessible in C language to interface your WINDEV modules inside a C source code. The parameters expected by each command are presented in details as well as the specific features. The functions that return an int indicating the result of the command use the following constants (defined in wdextern.h): | | | Name | Value | Meaning |
---|
WDERROR_OK | 0 | Success | WDERROR_VERSION | 1 | Incompatible version number | WDERROR_DLLLOAD | 2 | Problem loading the DLL | WDERROR_WDLLOAD | 3 | Problem loading the WDL | WDERROR_DLLCPL | 4 | Compilation DLL not found | WDERROR_CPLERROR | 5 | Compilation error | WDERROR_MEMORY | 6 | Out of memory | WDERROR_TYPE | 8 | Non-convertible type | WDERROR_INIT | 9 | External language not initialized | WDERROR_EXECUTION | 10 | Runtime error | WDERROR_ERROR | 11 | Previous error not processed | WDERROR_COMMAND | 12 | Command of nWDExecute too long | WDERROR_INITPROJECT | 13 | The project initialization code was already run | WDERROR_UNKNOWNELEMENT | 14 | Unknown element |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|