• 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.

Regards,
Mayank Srivastava
0
HanuSoftware
Asked:
HanuSoftware
  • 2
2 Solutions
 
AlexFMCommented:
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?
0
 
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.
0
 
AlexFMCommented:
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.
0
 
lakshman_ceCommented:
>> 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.

Read more at
http://support.installshield.com/kb/view.asp?articleid=Q111120
0
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