Hello,
what exactly causes the Error Message 'Unassigned Code'?
How I can get additional information about the Error-Message?
Background: I've changed a Project with the IBX-Migration Wizard.
Most of the code works fine, but in some cases I've got the EIBCError.
Where I can find information how the code has be changed going from IBX to IBDAC? Thank you very much for answer!
Michael
EIBCError - Unassigned Code
-
AndreyZ
-
josecarlos
- Posts: 36
- Joined: Sat 30 Jul 2011 18:35
- Location: Brazil
- Contact:
I am having this problem, just after I upgrade to XE2 ( ibdac 4.1.4 ).
I have a machine running FB 2.5 and FB 1.5 ( this one as application ).
When I run my application with FB 2.5 it is ok, but if I try to connect to the FB 1.5 all query on the close event fires this 'Unassigned Code'.
It seems to be some Firebird issue, but it was working before, with the same firebird installation.
Cheers,
Jose Carlos.
I have a machine running FB 2.5 and FB 1.5 ( this one as application ).
When I run my application with FB 2.5 it is ok, but if I try to connect to the FB 1.5 all query on the close event fires this 'Unassigned Code'.
It seems to be some Firebird issue, but it was working before, with the same firebird installation.
Cheers,
Jose Carlos.
-
AndreyZ
-
josecarlos
- Posts: 36
- Joined: Sat 30 Jul 2011 18:35
- Location: Brazil
- Contact:
I still have this problem, but only a customers is having this, all others are ok, the same configuration FB 2.5.1, IBDAC 4.1.4 and XE2 update 3
I am using Firebird 2.5.1 and Firebird 1.5.6 installed in my PC.
To have the same behavior I have to connect with FB 1.5 on my machine and I got this unsigned error on every form when I close the form.
If I connect with 2.5.1, everything works fine.
I find out that, if I commit the transactions on the form close I have no error. So with this CODE below, the unsigned error disappear.
I think this error is related to the transaction, I usually handle myself the trasaction, and I have IBCconnection.autocommit = FALSE
And the IBCQuery.autocommit = true ( because it is the default value I never changed it ).
Am I doing something wrong?
Thanks in advance,
Jose Carlos.
I am using Firebird 2.5.1 and Firebird 1.5.6 installed in my PC.
To have the same behavior I have to connect with FB 1.5 on my machine and I got this unsigned error on every form when I close the form.
If I connect with 2.5.1, everything works fine.
I find out that, if I commit the transactions on the form close I have no error. So with this CODE below, the unsigned error disappear.
Code: Select all
procedure TfrmProducts.FormClose(Sender: TObject;
var Action: TCloseAction);
var
idx : integer;
begin
for idx := 0 to ComponentCount - 1 do
begin
if Components[idx] is TIBCTransaction then
begin
if TIBCTransaction( Components[idx] ).Active then
TIBCTransaction( Components[idx] ).Commit;
end;
end;
end;
I think this error is related to the transaction, I usually handle myself the trasaction, and I have IBCconnection.autocommit = FALSE
And the IBCQuery.autocommit = true ( because it is the default value I never changed it ).
Am I doing something wrong?
Thanks in advance,
Jose Carlos.
-
AndreyZ