Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - Chilkat

Pages: [1] 2
This forum is closed.  Post instead to with tag "chilkat"

This forum is closed.  Post instead to with tag "chilkat"

What happens if I have one CkRest connection and generate two or more FullRequestNoBodyAsync CkTask's, and then start them all together with Run?

Will they be processed one after another in a queue?

REST / HTTP / HTTPS / Write an HTTP Server using Chilkat?
« on: February 28, 2018, 09:13:28 AM »
I need to write a small http server to get remote access to my application. I tried to find anything that I could use to write a http server in the Chilkat library. Didn’t find anything, but just wanted to be sure that I haven’t missed anything before finding another simple solution.

Digital Signatures / S/MIME Signature without Certificate?
« on: January 10, 2018, 07:57:42 AM »
I have an S/MIME question.

One of our communication partners incorrectly builds the email.
It does not integrate its certificate into the e-mail, but only that of the certificate manufacturer.

If I check the signature with mime.verify in MFC, of course, I get the message that it was signed incorrectly.

The communication partner says he does not have to pass his certificate in S/MIME, we should record it ourselves.
But I cannot pass a certificate to the Verify function either.

All other partners integrate your certificate correctly in the S/MIME.

So I'm pretty sure that the communication partner makes a mistake. Do you agree with me?
Or do I understand something wrong?

Thank you in advance and many greetings

How can I send a simple HTTP  x-www-form-urlencoded POST with a JSON query parameter?

« on: January 04, 2018, 01:38:26 PM »
I want to send a simple HTTP POST and I am a little bit lost in all your functions.
For example, I want to send:

How can I do that ?  I already tried your JSON, REST functions, etc. with not a lot of success.
Do you have any example in C language,

.NET / Chilkat .NET Error: HRESULT: 0x800736B1, MethodInvocationException
« on: January 03, 2018, 05:23:46 AM »
The following error can occur if the vcredist_x64.exe (the VC redist for a given version of Visual Studio) is not up to date.  The solution is to download and install the latest from Microsoft.  See

Here's the error from Microsoft:
Code: [Select]
Ausnahme beim Aufrufen von "LoadFile" mit 1 Argument(en): 
"Die Datei oder Assembly "ChilkatDotNet2, Version=, Culture=neutral, PublicKeyToken=eb5fc1fc52ef09bd"
oder eine Abhängigkeit davon wurde nicht gefunden. Diese Anwendung konnte nicht gestartet werden, da die Side-by-Side-Konfiguration ungültig ist.
Weitere Informationen finden Sie im Anwendungsereignisprotokoll. Weitere Detailskönnen auch mit dem Befehlszeilentool sxstrace.exe
angezeigt werden. (Ausnahmevon HRESULT: 0x800736B1)"

Bei C:\Admin\Skripte\xyz\xyz.ps1:81 Zeichen:32

+ [Reflection.Assembly]::LoadFile <<<< ("C:\Admin\Skripte\xyz\chilkatdotnet2-9.5.0-x64\ChilkatDotNet2.dll")
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : DotNetMethodException

When I compile/link using Chilkat with C++ Builder, I get the following link errors:
Code: [Select]
    [ilink32 Error] Error: Unresolved external '__InitExceptBlockLDTC' referenced from c:...\MyProject\CHILKATXE4.LIB|CkCrypt2

    [ilink32 Error] Error: Unresolved external '_CatchCleanup()' referenced from c:...\MyProject\CHILKATXE4.LIB|ChilkatCritSec

    [ilink32 Error] Error: Unresolved external 'CkCrypt2::{1173}...'' referenced from c:...\MyProject\WIN32\DEBUG\MyProj.OBJ

public class XMPMetaData {
I have a Java web application using Liferay, and the following code results in the error: 
Code: [Select]
Native code library failed to load.
java.lang.UnsatisfiedLinkError: Native Library /home/liferay/chilkatjava-9.5.0-jdk7-x86_64-linux/ already loaded in another classloader

This is the code to load the library:
Code: [Select]
static {
try {
    } catch (UnsatisfiedLinkError e) {
      System.err.println("Native code library failed to load.\n" + e);

TLS / TCP Sockets / What is TLS? How can I force TLS 1.1?
« on: December 08, 2017, 02:39:30 PM »
What is TLS and how is it used?  I’ve googled it but not quite sure what is means.  If you can give me a brief sentence or two I would appreciate it.

I get the following in the LastErrorText for a call to CompressString:
Code: [Select]
    DllDate: Nov 27 2017
    UnlockPrefix: xxx
    Architecture: Little Endian; 64-bit
    Language: .NET 4.6 VS2017 / x64
    VerboseLogging: 0
    Character encoding conversion failed.
    Charset: windows-1252
    ConvertedToNumBytes: 4573
    Set the Charset property equal to an appropriate charset (see

PHP / PHP Errors after apt-get install
« on: December 02, 2017, 10:23:35 AM »
Installing the Chilkat PHP extension via apt-get seemed to work fine.  However, when I try to use Chilkat in a PHP script, I get the following error:
Code: [Select]
PHP Warning:  include(chilkat_9_5_0.php): failed to open stream: No such file or directory in /home/chilkat/temp/chilkat-9.5.0-php-7.1-x86_64-linux/x/test.php on line 3
PHP Warning:  include(): Failed opening 'chilkat_9_5_0.php' for inclusion (include_path='.:/usr/share/php') in /home/chilkat/temp/chilkat-9.5.0-php-7.1-x86_64-linux/x/test.php on line 3
PHP Fatal error:  Uncaught Error: Class 'CkCrypt2' not found in /home/chilkat/temp/chilkat-9.5.0-php-7.1-x86_64-linux/x/test.php:5
Stack trace:
#0 {main}
  thrown in /home/chilkat/temp/chilkat-9.5.0-php-7.1-x86_64-linux/x/test.php on line 5

REST / HTTP / HTTPS / HTTP Internal Retry after Lost Connection Discovered
« on: November 29, 2017, 09:05:43 AM »
We are having issues where the remote host is forcibly closing our connection and ChilkatHttpRequest is then retrying (retryAfterLostConnectionDiscovered2).

We need to be able to stop this retry happening, or for a predefined period (we need to exceed 4 seconds before a retry), as the remote system cannot cope (it’s not a Firewall issue, the host has a poorly designed processor).

Please let me know how this can be implemented.

I got a problem to load your php DLL, with this configuration :

Windows Server 2012 64Bits / Apache 2.4.25 / PHP Version 7.0.17

My php.ini Extension setting is pretty simple :

extension_dir = "c:\php\ext\"



Every extension enabled in my php.ini are loading correctly, except chilkat_9_5_0.dll

-->   PHP Warning:  PHP Startup: Unable to load dynamic library 'c:\\php\\ext\\chilkat_9_5_0.dll' - The specified module could not be found.\r\n in Unknown on line 0

The version file I used for your lib is that one :

Thanks in advance for any help or tips on my issue!

Pages: [1] 2