Hi there,
I am new to the group and hope someone can help me with a problem that is almost driving me crazy.
I developed a component (adaption from open source EzDICOMax) that reads and displays medical image format DICOM. Most of the time the component works fine but sometimes after compiling an application that uses this component I get a lot of EConvertion Exceptions with images that loaded without problems before. Even very "save" type convertion like CARDINAL or WORD to INTEGER raise these exceptions, in this case Integer Overflow.
example:
var
i:INTEGER;
e_len:CARDINAL;
begin
e_len := 0;
.
.
.
i := e_len - 1;
.
.
I found out, that when I unregister the component, delete the dcu's, and reregister it, everything works fine again...
This happens quite often, most of the time when I changed source of the component, but sometimes even when I did not touch the component and only worked on the parent application.
Does anybody have a clue?
regards,
Andreas
I am new to the group and hope someone can help me with a problem that is almost driving me crazy.
I developed a component (adaption from open source EzDICOMax) that reads and displays medical image format DICOM. Most of the time the component works fine but sometimes after compiling an application that uses this component I get a lot of EConvertion Exceptions with images that loaded without problems before. Even very "save" type convertion like CARDINAL or WORD to INTEGER raise these exceptions, in this case Integer Overflow.
example:
var
i:INTEGER;
e_len:CARDINAL;
begin
e_len := 0;
.
.
.
i := e_len - 1;
.
.
I found out, that when I unregister the component, delete the dcu's, and reregister it, everything works fine again...
This happens quite often, most of the time when I changed source of the component, but sometimes even when I did not touch the component and only worked on the parent application.
Does anybody have a clue?
regards,
Andreas