Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-09-2006, 04:35 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,000
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
  #2 (permalink)  
Old 08-09-2006, 04:37 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,000
Default Re:WrapperCreator - Create ActiveX wrapper classes

UI:
Reply With Quote
  #3 (permalink)  
Old 08-09-2006, 05:01 PM
Member
 
Join Date: Jul 2006
Posts: 33
Default Re:WrapperCreator - Create ActiveX wrapper classes

Greetings, it is magnificent!... I so long waited for it... ;D

And here you could not write an example of use created by means of WrapperCreator, classes.
Reply With Quote
  #4 (permalink)  
Old 08-10-2006, 04:08 AM
Junior Member
 
Join Date: Apr 2006
Posts: 13
Default Re:WrapperCreator - Create ActiveX wrapper classes

;D Great Job Guys!!!!!!!!! ;D
Reply With Quote
  #5 (permalink)  
Old 08-10-2006, 07:33 PM
Junior Member
 
Join Date: Apr 2006
Posts: 13
Default Re:WrapperCreator - Create ActiveX wrapper classes

Can you post an example calling the ADO class?
Reply With Quote
  #6 (permalink)  
Old 08-15-2006, 04:27 AM
Junior Member
 
Join Date: Apr 2006
Posts: 13
Default Re:WrapperCreator - Create ActiveX wrapper classes

anyone? ???
Reply With Quote
  #7 (permalink)  
Old 08-15-2006, 03:16 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,000
Default Re:WrapperCreator - Create ActiveX wrapper classes (Updated)

The attached sample shows how to get data from a mdb file or a xls file by using ADO.
Reply With Quote
  #8 (permalink)  
Old 08-15-2006, 04:37 PM
Member
 
Join Date: Jul 2006
Posts: 33
Default Re:WrapperCreator - Create ActiveX wrapper classes (Updated)

Quote:
Originally Posted by SWFKIT
The attached sample shows how to get data from a mdb file or a xls file by using ADO.
Big to you thanks... Now I at last have understood... ;D

The truth for any reason WrapperCreator at creation of class ADODB in _Recordset.as has written down 2 times of function: " set Source ", " set ActiveConnection " also has created function "Collect" instead of " get Collect "... And after I it have corrected all like have earned...
Reply With Quote
  #9 (permalink)  
Old 08-15-2006, 06:28 PM
Junior Member
 
Join Date: Apr 2006
Posts: 13
Default Re:WrapperCreator - Create ActiveX wrapper classes (Updated)

Quote:
Originally Posted by goblin
...

The truth for any reason WrapperCreator at creation of class ADODB in _Recordset.as has written down 2 times of function: " set Source ", " set ActiveConnection " also has created function "Collect" instead of " get Collect "... And after I it have corrected all like have earned...
Yes, I got the same error. But fixed it as well.
Reply With Quote
  #10 (permalink)  
Old 08-15-2006, 08:36 PM
Member
 
Join Date: Jul 2006
Posts: 33
Default Re:WrapperCreator - Create ActiveX wrapper classes (Updated)

Why cells with type "decimal" return value "undefined"???
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 09:44 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.