Link to home
Start Free TrialLog in
Avatar of wombat032397
wombat032397

asked on

Encounter Ole Automation Error when about run application

I have encounter this Ole Automation runtime error with the
message "runtime error -2147418113 [8000ffff]. Ole Automation Error." when I click on my application.exe.

my olepro32.dll version is 5.0.4055 and oleaut32.dll version is 2.20.4049. And I am not using any Ole Automation Server objects.

Any idea how I can solve this or how this error can be generated?
ASKER CERTIFIED SOLUTION
Avatar of MikeP090797
MikeP090797

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rantanen
rantanen

Can't help making this comment. One MS document says this error code means "Catastrophic failure" :-)

But seriously, are you by any change using RichTextBox in your app?

Could you give a little bit more information.
Avatar of wombat032397

ASKER

The VB version I am using is VB4.0 (32-bit). And this error came
out when I click on my application.exe

There are no RichTextBox being use in the application.

Both my olepro32.dll and oleaut32.dll should have been the most
updated version cause it was installed be microsoft office 97.

btw, what does this 2 dll files actually does?
Those dlls are ole support for your apps. As I said, try to remove everything that has something with OLE if you can in the References, and then recompile.
BTW: I think there were already two service packs release for Office97, so it doesn't nesseaserly means you have the msot updated version. As I said, I have a newer one