Quote:
> It is well documented on the net that oleaut32.dll and vb32 are not fully
> compatible. oleaut32.dll comes with ms office 97, MS Internet Explorer
3.0
> etc.
> In my problem, Code (Using Recordset object) which has previously worked
> with vb4 now fails producing message:
> VB32 caused an invalid page fault in
> module OLEAUT32.DLL at 0137:65346a23.
>..................
Hi Peter,
Did you run Regclean? May be the sequence of installing W32 apps makes a
difference (VB4.0 installed on top of the stack). As a last resort if
nothing else works, reinstall Win95, VB4.0 and the rest. Apparently
problems could come from many sources like upgrades, new installs.
If MS Word and IE3.0 uninstalled fixes your problem, then the difference in
states between (VB4.0 & MS Word & IE3.0 installed) and (VB4.0 & less [MS
Word & IE3.0] installed) is the problem/solution. To get to the root of
trouble, if there would be an easy way to track and record changes in the
Registry settings and changes in OS components catalogue or versions of all
relevant system files in the two instances, then that difference would
point to the flaw.
The two instances being: 1) when you have MS Word & IE3.0 installed, and
2) when they are uninstalled. The recorded difference would tell where the
flaw was introduced. This recorded difference would consist of: new
versions of old OS files, new OS files/patches, different registry
settings. There would be some 'candidate' differences that that would be
harmless. But one or more difference(s) would certainly be the one(s) that
did cause the problem. (To make a program do this automatically sounds
like a good shareware project.;)
I also had trouble with OLEAUT32.DLL. My VB4.0 was paralyzed by the error
message: "VB32 caused a stack fault in module OLEAUT32.DLL at
0137:65356ebe" when I tried to open References from Tools menu in VB4.0.
I had a few software upgrades and installs lately. Suspected that my
registry was in err, I tried to run Regclean, but was blocked by an almost
identical message: "Regclean caused a stack fault in OLEAUT32.DLL at
0137:6535ebe"
Then I uninstalled most of my apps one by one. And when noting helped, I
uninstalled Win95, then reinstalled Win95, VB4.0, etc., less excess
baggage. Now they all work fine.
Being only a hobby programmer, I don't use OLE automation every day in
VB4.0, and I don't know exactly which app spoiled my registry. Just like
in your case, my VB4.0 worked fine before. I can not prove the reason for
my OLEAUT32.DLL problem. Just only guess that because W32 apps liberally
use the registry, and install their own brand of *.DLLs, etc, perhaps here
is where the trouble comes from. Under some circumstances OLEAUT32.DLL can
not to 'talk' to other OS family components because of wrong module version
is registered/overwritten during upgrades and installs.
Curious to now how did you solve your problem.
Regards,
Endre