[Last Call] Learn how to a build a cloud-first strategyRegister Now


Problem in Developing Setup consisting of DLL

Posted on 2006-05-22
Medium Priority
Last Modified: 2010-04-24
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
Question by:HanuSoftware
  • 2
LVL 48

Expert Comment

ID: 16734841
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?

Author Comment

ID: 16735009
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.
LVL 48

Accepted Solution

AlexFM earned 500 total points
ID: 16735043
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.
LVL 15

Assisted Solution

lakshman_ce earned 500 total points
ID: 16798363
>> 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.


Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The following diagram presents a diamond class hierarchy: As depicted, diamond inheritance denotes when two classes (e.g., CDerived1 and CDerived2), separately extending a common base class (e.g., CBase), are sub classed simultaneously by a fourt…
In Easy String Encryption Using CryptoAPI in C++ (http://www.experts-exchange.com/viewArticle.jsp?aid=1193) I described how to encrypt text and recommended that the encrypted text be stored as a series of hexadecimal digits -- because cyphertext may…
Integration Management Part 2
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question