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 […]

SFTP Permission Denied on OpenFile

Question: I’m getting error after sftp.OpenFile() call OpenFile: DllDate: Nov 27 2008 UnlockPrefix: Anything for 30-day trial Username: chilkat Component: .NET 2.0 SshVersion: SSH-2.0-5.3.3.56 SSH Tectia Server SftpVersion: 3 hcCurDate: Fri, 28 Nov 2008 09:53:46 +0200 hcExpire: 1/2009 filename: sftp_test.txt access: writeOnly createDisposition: openOrCreate v3Flags: 0xa Sent FXP_OPEN [SSH] Received IGNORE message StatusCode: 3 ErrorMessage: Permission denied, file: sftp_test.txt SshLog: […]

VB6 Variant vs Byte Array

In Visual Basic 6.0, a Variant containing a byte array is different than a byte array. For example, examine this code: ‘ Assume mime is a ChilkatMime object… Set mimePart = mime.GetPart(1) thefile = FreeFile() ‘Get the attachment filename FileName = mimePart.FileName ‘Get the attachment Dim mBody As Variant mBody = mimePart.GetBodyBinary If Len(mBody) > 0 Then Open FileName For […]