cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

chainik
Journeyman III

New Cat.11.8 runtime crashes when is used from Delphi code

See the minimal console app code below (checked on both Delphi 7 and latest Delphi XE). It produces the following error (at least under Win7 x64):

Application Name: console.exe
Application Version: 0.0.0.0
Application Timestamp: 4e69d25b
Fault Module Name: aticaldd.dll
Fault Module Version: 6.14.10.1523
Fault Module Timestamp: 4e31cf88
Exception Code: c0000090
Exception Offset: 0023b9b6
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 1049
Additional Information 1: b1ea
Additional Information 2: b1ea3de7fd055910793b2fc46c03ff19
Additional Information 3: 1a92
Additional Information 4: 1a92221526ebabf6ab7e308626326208

 

There were no problems with Cat.11.7 and earlier, and any C/C++ app compiled with VC or gcc/mingw are working with 11.8 too, so I think the problem is in some strange interference between delphi and 11.8 runtimes.

program console; {$APPTYPE CONSOLE} function clGetPlatformIDs(num_entries:Integer; platforms:Pointer; num_platforms:Pointer): Integer; stdcall; external 'opencl.dll'; var num:Integer; begin clGetPlatformIDs(0,nil,@num); end.

0 Likes
0 Replies