• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 238
  • Last Modified:

Problem in Developing Setup consisting of DLL

Dear Experts,

We have developed an application which requires DLL's. In making the Set Up for our application, We have changed the property of DLL to SelfRegister.

After installation on client side the application crashes on using module which requires DLL.

Kindly let us know how we can make the Set Up so that our application runs succesfully and also doesn't requires registering DLL on Client Side.

Mayank Srivastava
  • 2
2 Solutions
It depends on Dll type. If this COM Dll, it must be required. If this is unmanaged non-COM Dll, it should be in directory available from client:
executable directory, current directory, system and Windows directories, directory listed in the PATH environment variable.
Managed Dll is searched by the same way as unmanaged, and it can be also placed into Global Assembly Cache.

What is your Dll type?
HanuSoftwareAuthor Commented:
Its a not a com-dll its a c++ dll(lame_encoder.dll) available free on net.When we are going to register it displays an message lame_encoder.dll was loaded but the DllRegsiterServer Entry point was not found.
Non-COM Dll doesn't require registering. You must ensure that client can find it at runtime, see list of directories from my first post.
>> We have changed the property of DLL to SelfRegister.

Your DLL must export the functions DllRegisterServer and DllUnregisterServer if it has to be self registered. If they are not exported, you should uncheck the self register option and this will allow the windows installer to register your dll.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now