randomnumbers
Programmer
I have some delphi code I want to use in my BCB project.
It is long and complex so I really don't want to rewrite it in C++.
I can add the .pas file to my project and it compiles with no problems.
However, I cannot for the life of me work out how to call the Delphi/Pascal functions from my BCB code, nor how to create a suitable structure to catch the variables that the Delphi/Pascal code returns.
Can anyone put me out of my misery?!
Thanks in advance,
Andy
It is long and complex so I really don't want to rewrite it in C++.
I can add the .pas file to my project and it compiles with no problems.
However, I cannot for the life of me work out how to call the Delphi/Pascal functions from my BCB code, nor how to create a suitable structure to catch the variables that the Delphi/Pascal code returns.
Can anyone put me out of my misery?!
Thanks in advance,
Andy