LCL:error on close. when dll(.so) used in project
Original Reporter info from Mantis: >8<
-
Reporter name: Bug Import
Original Reporter info from Mantis: >8<
- Reporter name: Bug Import
Description:
//The test lib
library testlib;
uses Classes,SysUtils;
function lib_test(a,b:integer):integer;cdecl;
begin
result:=a+b;
end;
exports
lib_test;
begin
end.
//test_interface.pas
unit test_interface;
interface
function lib_test(a,b:integer):integer;cdecl;
implementation
function lib_test;external 'libtestlib.so';
begin
end.
in console application all works OK.
in lcl application when I add to uses test_interface (no more code) I get on app close.
An unhandled exception occurred at 0x00000000 :
EAccessViolation : Access violation
$00000000
An unhandled exception occurred at 0x00000000 :
EAccessViolation : Access violation
$00000000
...
in indefenet loop.
when dll(so) or testApplication compiled in Kylix3 then all OK.
Additional information:
Imported information
--------------------
Name: SergKam
Mail: sergkam (at) rambler.ru
Mantis conversion info:
- Mantis ID: 655