login about faq

Hello, i want to use Chilkat in CLI mode, but when i compile application, i get this error. "I add reference DLL .NET for Chilkat too".

http://prntscr.com/bbe5jo

How to fix this?

Thanks

asked Jun 02 at 07:28

BAILANDO's gravatar image

BAILANDO
32


I created a simple C++/CLR app in VS2012, add a reference to the Chilkat .NET assembly (by browsing to it), then wrote this code:

#include "stdafx.h"

using namespace System; using namespace Chilkat;

int main(array<System::String ^> ^args) { Console::WriteLine(L"Hello World");

Chilkat::Crypt2 ^crypt = gcnew Chilkat::Crypt2();
Console::WriteLine(crypt->Version);

return 0;

}

link

answered Jun 02 at 10:07

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

edited Jun 02 at 10:08

it's working now. thanks, but i have one question, i planning about buying a bundle pack and i need to ask a question, bundle contain all modules of chilkat? like zip, crypt2, gzip, mail, etc? Thanks

link

answered Jun 02 at 10:22

BAILANDO's gravatar image

BAILANDO
32

Thanks. Yes, that is correct. The Bundle includes all existing classes, in all supported programming languages, operating systems, etc. New version updates are included while support is not expired. The Bundle can be purchased with 1YR or 2YR support, and support can be optionally renewed. (Your existing unlock codes for existing versions would never expired -- only support expires and the ability to update to newer versions.)

link

answered Jun 02 at 10:28

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

Thanks for fast answer. Then when i buy this bundle, then i need to use obtained unlockcode everytime in C++ programs with for example crypt->UnlockComponent("UnlockCode");. Right?

link

answered Jun 02 at 10:39

BAILANDO's gravatar image

BAILANDO
32

Yes, that is correct. But with a Bundle unlock code, it's easier to instantiate a Chilkat::Global object at the beginning of your program, and call Global::UnlockBundle once. The Chilkat::Global object instance can be garbage collected/discarded after calling UnlockBundle.

link

answered Jun 02 at 10:43

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

Thanks a lot, and one question out of theme, i can for example encrypt file succesfully and then decrypt this file, but can i encode string with specify key and then decrypt it only with this key? i try encodestring(str^, "utf8", "hex"), but i want encode string with my predefined key. Thanks for help.

link

answered Jun 02 at 14:51

BAILANDO's gravatar image

BAILANDO
32

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×8

Asked: Jun 02 at 07:28

Seen: 300 times

Last updated: Jun 02 at 14:51

powered by OSQA