Zip Component, Email Component, Encryption Component ActiveX Control for Zip Compression .NET Components for ASP.NET
ActiveX and .NET Components for Zip Compression, Encryption, Email, XML, S/MIME, HTML Email, Character Encoding, Digital Certificates, FTP, and more ASP Email ActiveX Component

Index of Chilkat Blog Posts

December 18, 2007

Embedding .zip in a DLL

I downloaded your software for eval. The ActiveX Zip component is what I’m evaluating. I’m testing the ability to embed a zip file in an EXE, which works great. But what I really need is to embed the zip into a DLL. I tried and it will embed, but OpenMyEmbedded fails when it is a DLL. Is that something easily resolved, or does the format of a DLL make it impossible? Obviously I don’t program at the level to know the answer.

I think the problem is that OpenMyEmbedded calls the GetModuleFilename (, which is the MS Platform SDK method to return the EXE filename of the calling process. Therefore, OpenMyEmbedded is opening the .exe of the calling process, but not the DLL. I think you’ll have to call OpenEmbedded instead, and pass the DLL filepath to it.
Hopefully that will work. :-)

Privacy Statement. Copyright 2000-2011 Chilkat Software, Inc. All rights reserved.
Send feedback to

Components for Microsoft Windows XP, 2000, 2003 Server, Vista, Windows 7, and Windows 95/98/NT4.