Hello,
How could a Delphi EXE pass an array to a PB DLL? I'll need to have a couple of large two dimensional arrays and a bitmap stored in the DLL, but defined and sent by the Delphi program. The only way I know of is to use something like this:
Is there a way to pass/copy an array to the PB DLL in one operation, rather thandoing this one element at a time, with thousands of function calls?
Thanks,
Todd Wasson
Performance Simulations
Drag Racing and Top Speed
Prediction Software http://PerformanceSimulations.Com
------------------
[This message has been edited by Todd Wasson (edited January 29, 2001).]
How could a Delphi EXE pass an array to a PB DLL? I'll need to have a couple of large two dimensional arrays and a bitmap stored in the DLL, but defined and sent by the Delphi program. The only way I know of is to use something like this:
Code:
Set_Array_Size 500,500 (500 by 500 array) For X_Index = 1 to 500 For Y_Index = 1 to 500 Value = Array(X_Index,Y_Index) Set_Array_Value X,Y,Value Next Next
Thanks,
Todd Wasson
Performance Simulations
Drag Racing and Top Speed
Prediction Software http://PerformanceSimulations.Com
------------------
[This message has been edited by Todd Wasson (edited January 29, 2001).]
Comment