G
glenn
I have a COM Server I've written in C#. I have a client app I've written in
Delphi that is calling the C# COM Server. However, one of the functions in
the COM Server creates a form and during the creation process it receives
the Overflow or Underflow in arithmetic operation error. I have traced it
down to the section of the for where its registering the components...
this.Controls.Add(this.cmd_exit);
it doesn't matter which control it is as they all raise that error.
If I click the button to make the call a second time right after I receive
the error, it works perfectly. So the first time I call it I get the above
error, the second time I call it it works.
Can anyone tell me what I might be doing wrong. Here is the syntax that is
creating the instance of the form...
frmFingerSet frmset = new frmFingerSet();
thanks,
glenn
Delphi that is calling the C# COM Server. However, one of the functions in
the COM Server creates a form and during the creation process it receives
the Overflow or Underflow in arithmetic operation error. I have traced it
down to the section of the for where its registering the components...
this.Controls.Add(this.cmd_exit);
it doesn't matter which control it is as they all raise that error.
If I click the button to make the call a second time right after I receive
the error, it works perfectly. So the first time I call it I get the above
error, the second time I call it it works.
Can anyone tell me what I might be doing wrong. Here is the syntax that is
creating the instance of the form...
frmFingerSet frmset = new frmFingerSet();
thanks,
glenn