login about faq

After installing version 9.5.0.50 compile fails.

error CS1061: 'Chilkat.MessageSet' does not contain a definition for 'LastErrorText' and no extension method 'LastErrorText' accepting a first argument of type 'Chilkat.MessageSet' could be found (are you missing a using directive or an assembly reference?)

Metadata for that object indicates that the property is no longer available, but the documentation says it should be. Has the implementation changed?

region Assembly ChilkatDotNet45.dll, v9.5.0.50

// C:TFS3Capture5.3SourceCaptureThirdPartyChilkatChilkatDotNet45.dll

endregion

using System; using System.Runtime.ExceptionServices;

namespace Chilkat { public class MessageSet : IDisposable { public MessageSet(); public MessageSet(void* impl);

    public int Count { get; }
    public bool HasUids { get; set; }

    public bool ContainsId(int id);
    public override sealed void Dispose();
    [HandleProcessCorruptedStateExceptions]
    protected virtual void Dispose(bool A_0);
    public bool FromCompactString(string str);
    public int GetId(int index);
    public void* getImpl();
    public void InsertId(int id);
    public void RemoveId(int id);
    public string ToCommaSeparatedStr();
    public string ToCompactString();
}

}

asked Jun 04 '15 at 16:00

THintz's gravatar image

THintz
11


Re-import the .NET assembly. The LastErrorText and other standard methods/properties have been removed for a few lightweight objects (for cases where the object is too simply to justify the overhead of having these standard properties/methods). The documentation will be updated..

link

answered Jun 04 '15 at 16:44

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

The lightweight Chilkat classes without LastErrorText are:

MessageSet
Mailboxes
SFtpFile
SFtpDir
Url
ZipCrc

link

answered Jun 04 '15 at 16:59

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:

×98

Asked: Jun 04 '15 at 16:00

Seen: 1,257 times

Last updated: Jun 04 '15 at 16:59

powered by OSQA