Jump to content

Finding a DLL

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1
Cosmet

Cosmet

    Learning Programmer

  • Members
  • PipPipPip
  • 58 posts
I'm building an application that uses an Office DLL but the user must have version 2003 or higher installed. How can I determine if the user has met the requirement and has the DLL? Basically, how do I detect a DLL?

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
One way (in C++) would be to attempt to use the DLL within a try-catch block. If it works, great, the DLL exists. If not, then you catch the exception and display an error message before exiting the program.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog