I have a Visual Basic app that runs fine on my Win2000 machine.
However, when I run it on our Win98 machine it bombs.
The problem is a call to a function in the "oleacc.dll".
The error I'm getting is "48 File not found 'oleacc'".
The declare statement is:
Declare Function ObjectFromLresult Lib "oleacc" (ByVal lResult As Long, riid As UUID, ByVal wParam As Long, ppvObject As Any) As Long
I verified that the file exists on my Win98 machine at "c:\Windows\System\oleacc.
I changed the declare statement to:
Declare Function ObjectFromLresult Lib "c:\Windows\System\oleacc.
dll" (ByVal lResult As Long, riid As UUID, ByVal wParam As Long, ppvObject As Any) As Long
And I still get the same message (file not found).
When I tried to re-register the dll, I get the following message:
Run: regsvr32 oleacc.dll
"LoadLibrary ("oleacc.dll") failed. GetLastError returns 0x0000045a"
I tried UN-registering this dll using "regsvr32 /u" and got the same message.
I'm aware of the KnowledgeBase article:
But I don't know if this has anything to do with it.
Any thoughts out there?