login about faq

Hi All, Downloaded the latest library “chilkat-9.5.0-armv6-linux.tar.gz” 30 days trial version. I am trying to use class CkByteData and its methods getData and getSize.

Coded it like: CkByteData *binaryData = NULL; binaryData->preAllocate(200000);

But got errors: Invalid use of incomplete type class CkByteData binaryData->preAllocate(20000); In file included from client.cpp:10:0: /include/CkMime.h:17:7: error: forward declared of class CkByteData

Will you please guide me how to use the object? Appreciates help.

Thanks, Prashant

asked Dec 06 '15 at 02:37

Prashant's gravatar image

Prashant
51


The .h header for a Chilkat class must be included if that class is used.

Add this at the top of your source file:

#include "CkByteData.h"
link

answered Dec 07 '15 at 09:11

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

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:

×6

Asked: Dec 06 '15 at 02:37

Seen: 607 times

Last updated: Dec 07 '15 at 09:11

powered by OSQA