Problem in Developing Setup consisting of DLL

Posted on 2006-05-22
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
    LVL 48

    Expert Comment

    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

    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

    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

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

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    Join & Write a Comment

    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++ ( I described how to encrypt text and recommended that the encrypted text be stored as a series of hexadecimal digits -- because cyphertext may…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    This video discusses moving either the default database or any database to a new volume.

    746 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

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now