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

  • Thread starter Kay-Viktor Stegemann
  • 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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top