I'm having troubles to use some of the functions of a C-dll.
I have to pass a record to the function.
This is the function in the C-dll :
INT WINAPI SCP_send ( INT, USHORT, char *);
The 3rd parameter should be a record, so I use a pointer to
the record and pass this pointer to the C-function. The result is that the C-funtion returns me a neg. number, which probably means that it has a bad parameter (can't be anything else then the record pointer) I also used the PChar declaration and even Typecasting -> still nothing...
Who can help me ?