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
1
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

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

3
REST / HTTP / HTTPS / POST to URL?
« 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:
 
https://testserver.com:443/rest/site/raffletest/pinGeneratorService/reqPin?requestId=123&terminalId=%22term1%22&amount=2000

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,

4
.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 http://cknotes.com/chilkat-net-assemblies-matching-visual-studio-versions-to-net-framework-versions-to-vc-runtime-versions/

Here's the error from Microsoft:
Code: [Select]
Ausnahme beim Aufrufen von "LoadFile" mit 1 Argument(en): 
"Die Datei oder Assembly "ChilkatDotNet2, Version=9.5.0.71, 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


5
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

6
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/libchilkat.so already loaded in another classloader

This is the code to load the library:
Code: [Select]
static {
try {
    System.load("/home/chilkatjava-9.5.0-jdk7-x86_64-linux/libchilkat.so");
    } catch (UnsatisfiedLinkError e) {
      System.err.println("Native code library failed to load.\n" + e);
    }
}

7
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.

8
I get the following in the LastErrorText for a call to CompressString:
Code: [Select]
ChilkatLog:
  CompressString:
    DllDate: Nov 27 2017
    ChilkatVersion: 9.5.0.70
    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 http://www.chilkatsoft.com/p/p_463.asp)
    Failed.
  --CompressString
--ChilkatLog

9
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

10
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.

11
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\"

Then,

extension=chilkat_9_5_0.dll

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 : https://chilkatdownload.com/9.5.0.69/chilkat-9.5.0-php-7.0-nts-x64.zip

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

12
Ruby / Using Chilkat with Bundler
« on: November 17, 2017, 09:45:52 AM »
Specifically, I can use the Ruby 2.0 version for Mac (it works very well), but when I try to do a 'bundle install' with the 1.9.3 64-bit version for Linux, Bundler complains that we need Ruby 2.4.

We deploy this (older) app on Centos using Ruby 1.9.3, and moving the app to a newer version of Ruby would be quite painful.

Am I doing something wrong with the 1.9.3 version?

13
General Discussion / MOVED: Clearing an E-mail
« on: November 03, 2017, 12:43:52 PM »

14
FTP / Async methods for FTP GetFilename, GetSize, etc.?
« on: November 02, 2017, 09:37:16 AM »
Quick question please. I want to get the contents information of a directory asynchronously (FTP object). From what I’ve seen in your documentation you have the method GetFilename, GetSize, etc (https://www.example-code.com/objc/ftp_listDirectory.asp). I was wondering if you could suggest a way to get the fileName, size, isDirectory (Yes or No) and the itemPermission asynchronously.

15
I get “An Error Has Occurred! Your session timed out while posting. Please go back and try again.”

When I attempt to log into the new forum
It worked for a few days after I registered, and saved the username and password in Chrome.
I have cleared cache and Cookies…..

Removed saved/stored password and attempted fresh, but I get the same error?

Pages: [1] 2