PicoScope 7 Software
Available on Windows, Mac and Linux
I'm getting nowhere Martyn, is there any chance I can see the DLL code ?Martyn wrote:One of the parts you will need to look closely at is 32bit addresses versus 64bit, so you need to make sure you are using the correct parts for the application you are building.
This problem seems to be hanging on exactly how many bytes are in which datatype passed to the DLL - changing to real made no difference. Did that C example actually run on real hardware ?Martyn wrote:PossiblyCode: Select all
temp_buffer : array [0..9] of real;
No, but the Windows 7 install is Win7 Pro, so that's 64bitMartyn wrote:Are you building your code for 64bit in Delphi ?
If so are you using the 64bit dll from the x64 folder, and the 64bit kernel driver from system\amd64 folder of the SDK ?
God this is hard work.Martyn wrote:4 bytes in the float as I am on 32bit
if you are using & it would be &temp_buffer[0] ie the address of the first float in the array, but the compiler knows what to do with temp_buffer