login about faq

I use version of ActiveX Chilket library (ChilkatAx-9.5.0-win32.dll).

When I try to get in my code the NextTarFile Event of a Chilkat.Tar object I get the error:

Function marked as restricted or uses a type not supported in Visual Basic

The call is made like this one (I've readed documentation before):

Private Sub mObjTar_NextTarFile(ByVal path As String, ByVal fileSize As Long, ByVal isDirectory As Long, skip As Long)
        ' my code
End Sub

Is this event not callable in VB6?

asked Jul 22 '15 at 04:22

griseri's gravatar image


I'd try with the latest version - I recall a similar issue with another method in another Chilkat class in an older version of the library, so there's a good chance it has been fixed. If it still fails, then Chilkat will have to update it as I believe the solution would require a recompile.

Here's the thread describing the same error message...ULONG used instead of LONG


answered Jul 22 '15 at 08:03

jpbro's gravatar image

jpbro ♦

I'd try to install the last version but the problem is the same. I think we must wait Chilkat solution.


answered Jul 22 '15 at 08:19

griseri's gravatar image


Your answer
toggle preview

Follow this question

By Email:

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



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



Asked: Jul 22 '15 at 04:22

Seen: 2,027 times

Last updated: Jul 22 '15 at 08:19

powered by OSQA