Hi everybody
All right?
I am one doubt about the speed of calls to DLL from Lazarus.
In my project i have one DLL developed in C/C++. I have made all portings of headers, function calls (cdecl) and more to Lazarus. Really it's complicated to translate C to Pascal from my experience (macros, pointers, variable pass ...).
Ok, all performs right. There is no problem but .....
1.- The functions called from Lazarus (the execution) are more slow than C.
2.- If I compile the same calls in C/C++ then the execution is fast. (one simple "for do begin end")
I think that the guilty of the slow execution of Lazarus is for the CDECL calling convention. I fact, Lazarus has to convert Register calls to Cdecl calls.
Is that right?, is this correct?
Regards