Embed C1 DLL files in Exe

Posted by: nitin on 9 July 2020, 6:26 pm EST

  • Posted 9 July 2020, 6:26 pm EST

    Hi,

    I want to Embed/Merge the different C1 DLL files in Main EXE file. The main intention is to keep the hackers/competitors away from our software.

    If it is achievable by readymade Obfuscator Tools (like Babel, .Net Reactor etc), we can use that. Please suggest so.

    Also, is it necessary to keep these DLL files in the same folder where the Main EXE file is kept?
  • Replied 12 July 2020, 5:41 pm EST

    Hello,

    >I want to Embed/Merge the different C1 DLL files in Main EXE file. The main intention is to keep the hackers/competitors away from our software. If it is achievable by readymade Obfuscator Tools (like Babel, .Net Reactor etc), we can use that. Please suggest so.
    Merging the assemblies through third party tools like ILMerge would throw nag screen pop ups upon execution. So, I am sorry to say that it is a limitation, that is, ComponentOne does not support merging of its assemblies.

    >Also, is it necessary to keep these DLL files in the same folder where the Main EXE file is kept?
    Yes, the assembly(s) referred by the executable while building are needed in the same folder.

    Regards,
  • Replied 12 July 2020, 6:44 pm EST

    Can we keep in System Folder?
  • Marked as Answer

    Replied 14 July 2020, 12:58 am EST

    The assemblies are needed to present in the build folder. You may try to refer the following page to dynamically load the assembly from a specific folder but this is generic and not specific to ComponentOne: https://stackoverflow.com/questions/8928528/dynamically-load-a-dll-from-a-specific-folder

    Regards,
    Ruchir
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels