Hi,
I have a dll writen in visual c.
Its function parameters are structs (records)
I made equal records in delphi by changing this way
C
struct{
int a
double b
unsignd char c
}
to
delphi
record=
a:smallint;
b:double;
c:byte
end;
The size are same
But I think sending parameter in pascal are c are different.And i have not source of dll to add PASCAL keyword for function
Reversing parameter order will solve my problem or not?