Problem with LoadLibrary( 'outlook.exe' ), error 1157

  • Thread starter Thread starter Kay-Viktor Stegemann
  • Start date Start date
K

Kay-Viktor Stegemann

Hi out there,

I have a strange problem with Outlook 2000 which occurs on several
Win98 systems.

When I start Outlook as an application, everything seems fine.

But when I try to load Outlook as a library, as in

LoadLibrary( '...\Outlook.exe' )

I get an error 1157 (a lib could not be found). The problem is, I
cannot find out WHICH!!!! lib cannot be found. How can I force this
piece of essential information out of the dumb system? (sorry)

The exe itself cannot be the problem. It is there. The path is
correct.

Can anyone help me?

Please note, the LoadLibrary call is used in a third party tool we are
using. Changing this technique is not an option. Anyway, it runs fine
with Win2000 or Win XP, so there should be a way to make it run in
Win98.

Is there any way to find out which component might be the problem
here? Has anyone seen this before? Any suggestions are welcome.

TIA
Kay-Viktor
 
Back
Top