Hi hshatti,
Any chance to support Delphi 32-bit compiler in this library?
It generates different errors when using the library in a 32-bit process.
It looks like the problem is here
unit onnxruntime_pas_api;
interface
{$IFDEF FPC}
{$mode delphi}
{$ModeSwitch advancedrecords}
{$ModeSwitcOrtValue typehelpers}
{.$linklib onnxruntime.dll}
{$MACRO ON}
{$PACKRECORDS C}
{$PackEnum 4}
{$else}
{$Z4}
type size_t= UInt64; // delphi?
If I use UInt32 here, it works ok.
Thanks
Hi hshatti,
Any chance to support Delphi 32-bit compiler in this library?
It generates different errors when using the library in a 32-bit process.
It looks like the problem is here
If I use UInt32 here, it works ok.
Thanks