Posted on 1998-02-17
I am sorry that the following problem may not have enough information but I will try my best to explain my situation.
I have written an automation object by Visual C++ 5.0 using its Class Wizard. Then, the object is used in Visual Basic. This object has several mehtods. The methods are computational type and very TIME-CONSUMING but have been tested in the Windows Console mode and can be assumed that they are error-free.
1) Now, the problem is when these methods are called by VB, it may sometimes pop out the Error Message Box "Automation Error".
2) However, sometimes it works without any error but the result is different from what I obtained in the Windows Console mode.
I'd like to know what's going on. I really have no idea and if anybofy has appropriate suggestion given, I would grant the marks.