UI-less Self-Extracting EXE

The most common question regarding Chilkat self-extracting EXE’s is: How do I create a silent extractor that runs a “setup” program after extracting? Answer: Here is a sample command line that creates a silent self-extracting EXE: ChilkatZipSE -u unlockCode -a -sm -sp -nowait -r setup.exe -exe a.exe a.zip The “-r” option is used to specify the name of a setup […]

Inflate from Zip to memory in C++

This example demonstrates how to inflate in-memory from a Zip in C++: CkZip zip; … // Assume we have a CkZip object and a .zip has been loaded. // It may have been loaded from a file by calling OpenZip, or from an // in-memory image of a .zip by calling OpenFromMemory. // (or any of the other CkZip.Open* methods) […]

Updating an ActiveX DLL

Question: I have several of your programs installed on many machines. The problem is that some of these are older file DLL’s that need updating. What is the easiest way to update a DLL? If I run the .msi install, I just end up with two version of the DLL when I go into add/remove programs of the DLL. Any […]

Non-English String Literals in C++ Source Code

When a C++ compiler compiles a C++ source file, it must process the bytes according to a character encoding and that is typically ANSI.  ANSI is not a character encoding, it is simply a keyword that says “Use the default multi-byte character encoding for this computer based on its current locale.”   Therefore, if your program is originally written in Poland […]

FTP Timeout trying to Connect on Port 990

Question: What is the cause of this error? ChilkatLog: Connect: DllDate: Dec 2 2008 UnlockPrefix: Anything for 30-day trial Username: <username> Component: .NET 2.0 Hostname: <hostname> Port: 990 IdleTimeoutMs: 60000 ConnectTimeout: 60 HeartbeatMs: 0 Timeout waiting to read socket or accept connection timeoutMs: 60000 Failed to read FTP response line.. initialStatus: -1 initialResponse: Failed to connect to FTP server. Here […]

SSH – Multiple Commands w/out Reconnect

Question: Hi, I’m evaluating Chilkat C++ SSH Library for My VC 9.0 Projects. I have a question: Your examples send only one command. I want to send several commands without reconnect. I experimented and found SendReqShell handles multiple commands execution, not SendReqExec. Can I have a more detailed sample about this? Answer: You may call SendReqExec multiple times on the […]

No X-UIDL header found

The following mailman methods use the X-UIDL email header as the means to identify the email to be downloaded or deleted from a POP3 server: GetFullEmail DeleteEmail DeleteBundle If no X-UIDL header is found within the email, then it is not possible to determine the sequence number of the email to be downloaded or deleted. (POP3 commands to fetch or […]