Quantcast
Channel: Chilkat Forum - latest questions
Viewing all 1061 articles
Browse latest View live

imap.search not working unless its ALL

$
0
0

Hi

New to ChilKat but hoping someone can help - I am probably doing something dumb

If I use imap.search with "ALL" as a criteria then it works fine and I can loop through the messageset and get all the info for the various emails. If however I try and be specific using SUBJECT or HEADER <field> or TEXT (or anything other than ALL) then it returns 0 messages - so in ALL I can show the subject (for example one email has a subject of Hello and I see that in the returned messageset for ALL) but if i then search SUBJECT Hello it returns 0 messages (and any other criteria does the same) - any help or thoughts appreciated! - its 9.5.0 32 bit via VBS - working ALL, non working Hello and lasterror shown below.

Not Working searchkey = "SUBJECT Hello"

          Set messageSet = imap.Search(searchkey,1)

Working searchkey = "ALL"

         Set messageSet = imap.Search(searchkey,1)
**ChilkatLog:**
  Search:
    DllDate: Mar 11 2014
    ChilkatVersion: 9.5.0.18
    UnlockPrefix: Anything for 30-day trial
    Username: SV-DLL-TRANSD02:bot_dmy
    Architecture: Little Endian; 32-bit
    Language: ActiveX
    VerboseLogging: 0
    criteria: SUBJECT Hello
    criteriaUtf8QP: SUBJECT Hello
    connectedTo: 130.4.111.90
    selectedMailbox: Inbox
    bUid: 1
    Command: aaad UID SEARCH SUBJECT Hello
    numMessages: 0
    Success.
  --Search
--ChilkatLog

Chilkat and Php 7.1..

$
0
0

Hi, Any news or Update for Chilkat library compatible whit latest release of Php 7.1?

Regards

unresolved external symbol CkCrypt2

$
0
0

Hello,

Trying to run the encription c++ example for hash. https://www.example-code.com/cpp/crypt2_md5_hash_file.asp

I created a project in MSVC 12 and added the include and lib for the crypt download from your site. I also add libs to link with to to the project crypt32.lib and advapi32.lib

Where did I go wrong ...?

I get the following errors. Assume I am missing an library to link with ...

Thanks!

The errors Error 9 error LNK1120: 8 unresolved externals C:dvjspasswordcppexample_passwordDebugexample_password.exe example_password Error 3 error LNK2019: unresolved external symbol "public: thiscall CkCrypt2::CkCrypt2(void)" (??0CkCrypt2@@QAE@XZ) referenced in function "void cdecl sample(void)" (?sample@@YAXXZ) C:dvjspasswordcppexample_passwordexample_passwordexample_password.obj example_password Error 8 error LNK2019: unresolved external symbol "public: bool thiscall CkCrypt2::UnlockComponent(char const *)" (?UnlockComponent@CkCrypt2@@QAE_NPBD@Z) referenced in function "void cdecl sample(void)" (?sample@@YAXXZ) C:dvjspasswordcppexample_passwordexample_passwordexample_password.obj example_password Error 1 error LNK2019: unresolved external symbol "public: bool thiscall CkMultiByteBase::get_LastMethodSuccess(void)" (?get_LastMethodSuccess@CkMultiByteBase@@QAE_NXZ) referenced in function "void cdecl sample(void)" (?sample@@YAXXZ) C:dvjspasswordcppexample_passwordexample_passwordexample_password.obj example_password Error 7 error LNK2019: unresolved external symbol "public: char const * thiscall CkCrypt2::hashFileENC(char const *)" (?hashFileENC@CkCrypt2@@QAEPBDPBD@Z) referenced in function "void cdecl sample(void)" (?sample@@YAXXZ) C:dvjspasswordcppexample_passwordexample_passwordexample_password.obj example_password Error 2 error LNK2019: unresolved external symbol "public: char const * thiscall CkMultiByteBase::lastErrorText(void)" (?lastErrorText@CkMultiByteBase@@QAEPBDXZ) referenced in function "void cdecl sample(void)" (?sample@@YAXXZ) C:dvjspasswordcppexample_passwordexample_passwordexample_password.obj example_password Error 4 error LNK2019: unresolved external symbol "public: virtual thiscall CkCrypt2::~CkCrypt2(void)" (??1CkCrypt2@@UAE@XZ) referenced in function "void cdecl sample(void)" (?sample@@YAXXZ) C:dvjspasswordcppexample_passwordexample_passwordexample_password.obj example_password Error 5 error LNK2019: unresolved external symbol "public: void thiscall CkCrypt2::put_EncodingMode(char const *)" (?put_EncodingMode@CkCrypt2@@QAEXPBD@Z) referenced in function "void cdecl sample(void)" (?sample@@YAXXZ) C:dvjspasswordcppexample_passwordexample_passwordexample_password.obj example_password Error 6 error LNK2019: unresolved external symbol "public: void thiscall CkCrypt2::put_HashAlgorithm(char const *)" (?put_HashAlgorithm@CkCrypt2@@QAEXPBD@Z) referenced in function "void cdecl sample(void)" (?sample@@YAXXZ) C:dvjspasswordcppexample_passwordexample_passwordexample_password.obj example_password

SSH Tunnel Delphi DLL ( parameter -C )

$
0
0

How to create a ssh tunnel by setting the parameter -C that compress the data?

Packet corrupt while trying to authenticate SSH

$
0
0

Hi,

i have a problem trying to connect with SSH. i am able to connect to SSH via the local terminal using "ssh <user>@<ipaddress> -i <privatekey>"

but when i try to connect externally i get the error below

ChilkatLog:
AuthenticatePk:
DllDate: Apr 9 2014
ChilkatVersion: 9.5.0.27
UnlockPrefix: Anything for 30-day trial
Username: <user>
Architecture: Little Endian; 32-bit
Language: ActiveX
VerboseLogging: 1
SshVersion: SSH-2.0-OpenSSH_6.6.1
sshAuthenticatePk:
sendServiceRequest:
svcName: ssh-userauth
sendMessage: SERVICE_REQUEST
SentServiceReq: ssh-userauth
--sendServiceRequest
readServiceAccept:
genRead_2:
This is the 1st block after the key exchange.
packetLen: 44
mType: DISCONNECT
Received DISCONNECT message
DisconnectReason: Packet corrupt
terminateConnection:
TCP connection cleanly closed by peer.
Cleanly terminated TCP connection.
--terminateConnection
--genRead_2
--readServiceAccept
Error reading service accept.
--sshAuthenticatePk
Socket connection lost.
Failed.
--AuthenticatePk
--ChilkatLog

do you guys have any idea where i have to look to solve this?

my knowledge about this is pretty limited and google has not yet helped.

VC2017 lib

$
0
0

Since we have a 'go live' clearence from MS we can redist VC++ project built with latest RC, but we need the static linked lib. Do you have scheduled a release for this compiler ?

TIA

Problems with QuickAppend --- extra entry after central directory found

$
0
0

Hi

I have been having problems using the QuickAppend zip function to append the contents of a new zip file to an existing one.

I've tried this with the node, python and .Net (via a colleague) versions of Chilkat, on Mac, Linux and Windows (via colleague) machines. Whichever combination I try, I seem to always end up with a zip file which has extra bytes in it. The zip file cannot be extracted using many zip tools (eg. command line zip tools, and we've also tried native Mac and PC tools to extract)

I have followed the example code exactly and am using very simple example text files and zip files to test.

I have recorded a screencast to show exactly what I'm doing and what happens. The error seems to be that there is extra data in the zip that shouldn't be there (eg. "Entry after central directory found"):

https://drive.google.com/a/tomkerswill.co.uk/file/d/0B6S93W7cxOpHdWZmUWEtRERMRXc/view

Note - I put in a forum post in April ( http://www.chilkatforum.com/questions/10132/quickappend ), but rather than resurrect that dead thread, I thought it was better to create a new one.

Chilkats upload component transfer large file as binary data to https

$
0
0

Is there a way to use your free component (or other) to upload a large file as binary data stream from a file to a https service whithout big memory consumption? ActiveX/Classic ASP

Thank you

Werner


CkZip and QuickAppend

$
0
0

I use CkZip C++ v9.5.0.58 in an application that runs on Windows. This application uses CkZip to store large numbers of small jpg files, so no compression.

Performance is important and so I have always used QuickAppend when adding new files to existing zip archives.

I am finding that when we use QuickAppend to add a small file (for example 2KB) file to a zip containing many (for example several thousand) similar small files, the file grows by an amount significantly larger than the added file.

I believe what is happening is that the central directory at the end of the existing zip file is large due to the high count of files in the zip. When the central directory is larger than the data being added, the new data only partially overwrites the old central directory. The new central directory is then appended to the end of the zip, leaving a large remnant of the old central directory. This repeats for each new added file, compounding the problem. We are seeing zip files that are 3 or 4 times larger than all the constituent files. This is bad for us because one of the reasons for using zip is to efficiently pack the files for optimal file-system storage.

If I have understood the problem correctly, is it possible to make QuickAppend add the new central directory to the end of the new file entry segment rather than at the end of the file? When adding a new file, the new central directory will always be larger than the previous one, ensuring that the old data is completely over-written, leaving the end of central directory record correctly at the end of the file.

Has anyone else seen this problem and found a solution?

I can supply an example zip file showing the problem if needed.

How to load rsa keys from pem file and encrypt/decrypt string

$
0
0

Hello, I am unsure how to correctly load a pem file I generate and saved to disk. I want to load the public key, encode a string and load the private key from another pem file to decrypt the string. I did try with LoadPem as no Password is given, but can not get it to work.

I am currently generating and writing the pem files as follows (works very well):

<?php
include("chilkat_9_5_0.php");

$rsa = new CkRsa();

$success = $rsa->UnlockComponent("using my key");
if ($success != true) {
    print 'RSA unlock failed' . "\n";
    exit;
}
$success = $rsa->GenerateKey(2048);
if ($success != true) {
    print $rsa->lastErrorText() . "\n";
    exit;
}

$publicKeyXml = $rsa->exportPublicKey();
print "public: ".$publicKeyXml . "\n";

$privateKeyXml = $rsa->exportPrivateKey();
print "private: ".$privateKeyXml . "\n";

//  Save the private key in PEM format:
$privKey = new CkPrivateKey();
$success = $privKey->LoadXml($privateKeyXml);
$success = $privKey->SaveRsaPemFile('privateKey.pem');

//  Save in PEM format
$pubKey = new CkPublicKey();
$success = $pubKey->LoadXml($publicKeyXml);
$success = $pubKey->SaveOpenSslPemFile('publicKey.pem');

?>

SFTP Failed to get address info

$
0
0

I'm able to connect to this SFTP site on the same PC I'm writing this code on using FileZilla using all default settings

Using the host name, I get the below error

ChilkatLog:
  Connect_SFtp(31ms):
    DllDate: Nov 12 2016
    ChilkatVersion: 9.5.0.64
    UnlockPrefix: *********
    Architecture: Little Endian; 64-bit
    Language: .NET 4.6 / x64
    VerboseLogging: 1
    SftpVersion: 0
    Component successfully unlocked using purchased unlock code.
    connectInner(31ms):
      hostname: *****.***.***
      port: 22
      sshConnect(16ms):
        connectSocket(16ms):
          domainOrIpAddress: *****.***.***
          port: 22
          connectTimeoutMs: 5000
          connect_ipv6_or_ipv4(16ms):
            Multi-threaded domain to IP address resolution
            resolveHostname6(16ms):
              getAddressInfo(16ms):
                Failed to get host address info. (3)
                SocketError: Error 0x2afb
                Check to make sure the connection is not blocked by a firewall or anti-virus port filtering.
                hostOrIpAddr: *****.***.***
                port: 22
                Versions of Windows earlier than Windows XP are limited to handling IPv4 only
                On Windows Server 2003 and Windows XP, IPv6 addresses are returned only if IPv6 is installed on the local computer.
              --getAddressInfo
            --resolveHostname6
            Domain to IP address resolution failed.
          --connect_ipv6_or_ipv4
        --connectSocket
        Failed to establish initial TCP/IP connection
      --sshConnect
    --connectInner
    Failed.
  --Connect_SFtp
--ChilkatLog

If I use the IP address, I get a different error

ChilkatLog:
  Connect_SFtp(31ms):
    DllDate: Nov 12 2016
    ChilkatVersion: 9.5.0.64
    UnlockPrefix: 
    Architecture: Little Endian; 64-bit
    Language: .NET 4.6 / x64
    VerboseLogging: 1
    SftpVersion: 0
    Component successfully unlocked using purchased unlock code.
    connectInner(16ms):
      hostname: ***.***.***.***
      port: 22
      sshConnect(16ms):
        connectSocket(16ms):
          domainOrIpAddress: ***.***.***.***
          port: 22
          connectTimeoutMs: 5000
          connect_ipv6_or_ipv4:
            This is an IPV4 numeric address.
            Domain to IP address resolution not needed.
            connecting to IPV4 address...
            ipAddress: ***.***.***.***
            createSocket:
              ai_family: 2
              ai_socktype: 1
              ai_protocol: 0
              SocketError: WSAEINVAL An invalid argument was supplied.
            --createSocket
            Failed to create socket for connecting.
          --connect_ipv6_or_ipv4
        --connectSocket
        Failed to establish initial TCP/IP connection
      --sshConnect
    --connectInner
    Failed.
  --Connect_SFtp
--ChilkatLog

Using FileZilla, I do have to click through a warning box stating that the server's host key is unknown - Is that the error SFTP is running into? If so I need to bypass it - I trust the site

Thoughts?

blank email body using mht sql server

Self Extracting Zip creation file size limit?

$
0
0

I've been creating a Self Extracting Zip using Zip-2-Secure-Exe, and I quite like the program. But I do run into a particular problem: it seems that overly large files throw errors when they are being zipped.

I've been trying to zip up all of the Runtimes that my setup file will use alongside my setup file, but one of them (about 80 MB) always throws this error:

appendToSimpleArchive:
WindowsError: The process cannot access the file because it is being used by another process.
failedToDeleteFilepath: .\ckz_6G8N.tmp
--appendToSimpleArchive
Failed to append Nth file/directory to EXE.
fileOrDirName: Runtimes/32 bit/CRRuntime_32bit_13_0_11.msi

Is there any limitation on file size that is getting in the way, or is it something else entirely?

Bcrypt passwords

$
0
0

Hello,

We are planning to use bcrypt in our next multiplatform (php, c#, cocoa/swift) application. Is it supported by Chilkat? I did not find it in the references.

It is possible to write the code without Chilkat but it would be very good (and easy) to use the same code all in the applications.

Thank you!

AES Encryption using ECC Pem Keys Pub/Priv

$
0
0

Have a really good working version of AES and RSA keypairs with Chilkat. However we'd like to implement new keys based on ECC keys.

We've got nice and fast working examples of ECC creation and can generate the PEM's for Priv/Public keys.

However i can't see any examples of using these for encryption AES keys or encryption? Could someone share some examples if possible?


Reverse DNS lookup

$
0
0

Quoting the CkSocket C++ Reference Documentation (here):

TCP socket component with SSL capability. Supports both asynchronous connect, accept, send, and read operations in all programming languages. The ActiveX and .NET socket components also include heartbeat, completion, and other events when blocking methods are called. DNS and reverse DNS is support in both synchronous and asynchronous modes. Supports the ability to abort all operations: connect, accept, send, receive, DNS lookups, etc. prior to completion.

However, I don't see any Reverse DNS methods listed in the documentation. Is reverse DNS lookup supported or am I missing something?

Ftp2 ActiveX GET downloads zero length files

$
0
0

Hi,

Downloaded files from one of our operators are always empty. I have tried active/passive modes, GET/MGET, ascii or binary to no avail. What is curios is that I can download the files from command prompt!

Currently I use ChilkatAx-9.5.0-win32.dll version 9.5.0.64.

Has anybody else had the same problem?

Thanks,

Dan

Here is a part of the dump file created (older dll):

MGetFiles:
    DllDate: Mar 11 2016
    ChilkatVersion: 9.5.0.56
    UnlockPrefix: xxxxxxxx
    Username: DCEPROSPED01:xxxxx
    Architecture: Little Endian; 32-bit
    Language: ActiveX
    VerboseLogging: 1
    ProgressMonitoring:
        enabled: yes
        heartbeatMs: 0
        sendBufferSize: 65536
        (leaveContext)
    pattern: *.*
    localDir: D:\Digia\Ajastetut_Test\DigiaFTP2\TEMP\
    fetchDirListing:
        fetchDirListing2:
            setupDataConnection:
                setupPassiveDataSocket:
                    sendCommand:
                        prepControlChannel:
                            (leaveContext)
                        sendingCommand: PASV
                        (leaveContext)
                    readCommandResponse:
                        replyLineQP: 227 Entering Passive Mode (82,199,234,18,216,2)
                        (leaveContext 63ms)
                    dataConnect:
                        hostname: 82.199.234.18
                        port: 55298
                        socket2Connect:
                            connect2:
                                hostname: 82.199.234.18
                                port: 55298
                                ssl: 0
                                connectSocket:
                                    domainOrIpAddress: 82.199.234.18
                                    port: 55298
                                    connectTimeoutMs: 30000
                                    connect_ipv6_or_ipv4:
                                        This is an IPV4 numeric address.
                                        Domain to IP address resolution not needed.
                                        getAddressInfo:
                                            (leaveContext)
                                        connecting to IPV4 address...
                                        ipAddress: 82.199.234.18
                                        createSocket:
                                            Setting SO_SNDBUF size
                                            sendBufSize: 262144
                                            Setting SO_RCVBUF size
                                            recvBufSize: 4194304
                                            (leaveContext 15ms)
                                        connect:
                                            Waiting for the connect to complete...
                                            ck_getsockname_ipv4:
                                                (leaveContext)
                                            myIP: 10.61.208.110
                                            myPort: 54423
                                            socket connect successful.
                                            (leaveContext 63ms)
                                        (leaveContext 78ms)
                                    (leaveContext 78ms)
                                (leaveContext 78ms)
                            (leaveContext 93ms)
                        socketOptions:
                            SO_SNDBUF: 262144
                            SO_RCVBUF: 4194304
                            TCP_NODELAY: 0
                            SO_KEEPALIVE: 0
                            (leaveContext)
                        dataConnectSuccess: 1
                        (leaveContext 93ms)
                    (leaveContext 156ms)
                (leaveContext 156ms)
            sendCommand:
                prepControlChannel:
                    (leaveContext)
                sendingCommand: LIST
                (leaveContext)
            readCommandResponse:
                replyLineQP: 150 Binary data connection for  (10.231.32.220,21558) (0 bytes).
                (leaveContext 63ms)
            readFtpDataChannel:
                numBytesRequested: 4096
                Connection closed by peer.
                passiveClose:
                    Passive socket closing complete.
                    (leaveContext)
                dirListSize: 115
                (leaveContext)
            rawListingQP:   00000398   2       6024  29.11 2016 15.22.39  testi-0398=0Ad        0  28=

          0  28.11 2008 14.24.09  valmiit=0A
            CWAY directory listing
            CWAY directory listing
            readCommandResponse:
                replyLineQP: 226 Binary Transfer complete.
                (leaveContext)
            ListTimeMS: 234
            (leaveContext 234ms)
        (leaveContext 234ms)
    fileCount: 1
    totalByteCount: 6024
    filename: testi-0398
    downloadToFile:
        localFilename: D:\Digia\Ajastetut_Test\DigiaFTP2\TEMP\testi-0398
        openForReadWriteWin32:
            (leaveContext)
        downloadToOutput:
            ensureCorrectMode:
                simpleCommand:
                    sendCommand:
                        prepControlChannel:
                            (leaveContext)
                        sendingCommand: TYPE A
                        (leaveContext)
                    readCommandResponse:
                        replyLineQP: 200 Type set to A.
                        commandResponse: 200 Type set to A.
                        statusCode: 200
                        (leaveContext 63ms)
                    (leaveContext 63ms)
                (leaveContext 63ms)
            setupDataConnection:
                setupPassiveDataSocket:
                    sendCommand:
                        prepControlChannel:
                            (leaveContext)
                        sendingCommand: PASV
                        (leaveContext)
                    readCommandResponse:
                        replyLineQP: 227 Entering Passive Mode (82,199,234,18,216,5)
                        (leaveContext 63ms)
                    dataConnect:
                        hostname: 82.199.234.18
                        port: 55301
                        socket2Connect:
                            connect2:
                                hostname: 82.199.234.18
                                port: 55301
                                ssl: 0
                                connectSocket:
                                    domainOrIpAddress: 82.199.234.18
                                    port: 55301
                                    connectTimeoutMs: 30000
                                    connect_ipv6_or_ipv4:
                                        This is an IPV4 numeric address.
                                        Domain to IP address resolution not needed.
                                        getAddressInfo:
                                            (leaveContext)
                                        connecting to IPV4 address...
                                        ipAddress: 82.199.234.18
                                        createSocket:
                                            Setting SO_SNDBUF size
                                            sendBufSize: 262144
                                            Setting SO_RCVBUF size
                                            recvBufSize: 4194304
                                            (leaveContext)
                                        connect:
                                            Waiting for the connect to complete...
                                            ck_getsockname_ipv4:
                                                (leaveContext)
                                            myIP: 10.61.208.110
                                            myPort: 54425
                                            socket connect successful.
                                            (leaveContext 78ms)
                                        (leaveContext 78ms)
                                    (leaveContext 78ms)
                                (leaveContext 78ms)
                            (leaveContext 78ms)
                        socketOptions:
                            SO_SNDBUF: 262144
                            SO_RCVBUF: 4194304
                            TCP_NODELAY: 0
                            SO_KEEPALIVE: 0
                            (leaveContext)
                        dataConnectSuccess: 1
                        (leaveContext 78ms)
                    (leaveContext 156ms)
                (leaveContext 156ms)
        sendCommand:
            prepControlChannel:
                (leaveContext)
            sendingCommand: RETR testi-0398
            (leaveContext)
        readCommandResponse:
            replyLineQP: 150 ASCII data connection for testi-0398 (10.231.32.220,63602) (0 bytes).
            (leaveContext 62ms)
        RETR_reply: 150 ASCII data connection for testi-0398 (10.231.32.220,63602) (0 bytes).
        expectedSize64_2: 0
        This file is known to be 0 bytes in length.
        ftpServerGreeting: 220 edibasic-cway1 FTP server (CWAY Ver 1.0, UNIX(r) SVR4.0) ready.
        ftpServerSyst: UNIX Cway
        readCommandResponse:
            replyLineQP: 226 ASCII Transfer complete.
            (leaveContext)
        (leaveContext 343ms)
    downloadToOutput: Elapsed time: 359 millisec
    MDTM is not supported by this FTP server.
    Cannot maintain the last-modified date/time automatically.
    (leaveContext 359ms)
elapsedTimeInSeconds: 0
(leaveContext 608ms)

Understanding IMAP Email Attachments

$
0
0

I’ve noticed that when choosing not to download attachments when requesting an IMAP email, calling GetEmailNumAttach returns the incorrect number of attachments. If an email has no attachments then the number returned generally seems to be 2. The attachment information stored within the eml file itself appears to be correct.

Also, as the attachment information is stored in the eml data, is there a specific reason why this information is acquired via the CkoImap object and not through the CkoEmail object directly?

I’m using the latest iOS libraries (v9.5.0.51).

Problem sending mail

$
0
0

Language: Visual Foxpro Controls: Chilkat_9_5_0.MailMan And Chilkat_9_5_0.Email

With these controls i solved many problems with SSL and TLS post office systems, but now i have a problem sending mail with a server with no authentication and no security protocol....simple on port 25 (seems so)...

This is the error message i receive:

ChilkatLog: SendEmail: DllDate: Jun 13 2016 ChilkatVersion: 9.5.0.58 UnlockPrefix: ACUTITMAILQ Architecture: Little Endian; 32-bit Language: ActiveX VerboseLogging: 0 sendEmailInner: renderToMime: createEmailForSending: xSigningAlg: sha1 Auto-generating Message-ID --createEmailForSending renderToMime: Elapsed time: 0 millisec --renderToMime sendMimeInner: progressTotal: 690 ensureSmtpSession: ensureSmtpConnection: SmtpHost: mail.intred.it SmtpPort: 25 SmtpUsername: giusteri.ufficio@intred.net SmtpSsl: 0 StartTLS: 0 smtpConnect: smtpHostname: mail.intred.it smtpPort: 25 connectionIsReady: Need new SMTP connection --connectionIsReady smtpSocketConnect: socketOptions: SO_SNDBUF: 262144 SO_RCVBUF: 4194304 TCP_NODELAY: 1 SO_KEEPALIVE: 1 --socketOptions --smtpSocketConnect smtpGreeting: readSmtpResponse: SmtpCmdResp: 421 Cannot connect to SMTP server 62.97.32.43 (62.97.32.43:25), connect error 10060 --readSmtpResponse Failed SMTP greeting response code. --smtpGreeting Failed to get initial SMTP response.. Will re-try one time... smtpSocketConnect: socketOptions: SO_SNDBUF: 262144 SO_RCVBUF: 4194304 TCP_NODELAY: 1 SO_KEEPALIVE: 1 --socketOptions --smtpSocketConnect smtpGreeting: readSmtpResponse: SmtpCmdResp: 421 Cannot connect to SMTP server 62.97.32.43 (62.97.32.43:25), connect error 10060 --readSmtpResponse Failed SMTP greeting response code. --smtpGreeting Failed to get initial SMTP response again. --smtpConnect --ensureSmtpConnection --ensureSmtpSession --sendMimeInner --sendEmailInner Failed. --SendEmail --ChilkatLog

Find out C++ Memory Usage in Code?

$
0
0

Does you C++ implementation have a tool to ask the current memory usage by you components?

I have a situation where I fetch about 1 MB of data from a database and feed it into the CkEmail component.

This results in an increase from 7MB to 300MB memory for the process in Windows.

So I would like to determine how much of this 300MB is from the Chilkat component and how much comes from my own code and/or other libraries.

Viewing all 1061 articles
Browse latest View live