View Single Post
  #1 (permalink)  
Old 08-09-2006, 04:35 PM
SWFKit SWFKit is offline
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default WrapperCreator - Create ActiveX wrapper classes (Updated)

WrapperCreator - Create ActiveX wrapper classes

WrapperCreator is a tool to create ActiveX wrapper classes so that you can call the ActiveX components directly in Action Script(Flash 8 + SWFKit 3). The UI of this tool is shown as the following image:

Package Name - Specify the package name to create. If you leave it to blank, it will use the name of the ActiveX component.

Output Directory - Specify the output directory to create the wrapper classes

Select a typelib file - Select a file that contains the typelib of an ActiveX Component, the file can be a .dll, .ocx, or .tlb file. For example, to create wrapper classes for Windows media player, you can choose the "c:\windows\system32\wmp.dll"; to create wrapper classes for ADO, you can choose either "C:\Program Files\Common Files\System\ado\msado15.dll" or "C:\Program Files\Common Files\System\ado\msado26.tlb".

The wrapper classes created by this tool may have some small problems, e.g two set functions for a property, or get function of a property misses the "get" keyword. In this case, you would have to modify the classes manually.

The WrapperCreator is updated, some bugs are fixed.
Reply With Quote