Archived Forum Post

Index of archived forum posts


Diference between ChilkatMailMan and ChilkatMailMan2

Sep 12 '14 at 11:01

I have the entire package ChilkatAx-9.5.0-win32.dll version I am using VB6. Your examples shows always

Dim mailman As New ChilkatMailMan2

This get an error "Userdefined Type not defined".

Dim mailman As New ChilkatMailMan2


The component is referrenced correct.

Thanks for a quick answer.


The new 9.5.0.x single-DLL ActiveX, and all future versions, will use "ChilkatMailMan" and not "ChilkatMailMan2". This is for consistency in naming with the API's in other languages such as C++, C#, Objective-C, etc.

Objects that drop the "2" from the name include: ChilkatMailMan2, ChilkatEmail2, ChilkatEmailBundle2, ChilkatCharset2, ChilkatZip2, ChilkatZipEntry2.

For the objects that don't drop the "2", it's because the naming is consistent across all languages: such as ChilkatFtp2, ChilkatCrypt2. The online reference documentation shows the correct object-creation statements for the v9.5.0 single-DLL ActiveX. If in doubt, look there.