ACDKX COM+ is a middleware between ACDK Objects and COM+ objects. You can use all ACDK Objects in Windows Languages, like Visual Basic, C#, VBScript, etc. You can also use all COM+ Objects in ACDK and all scripting languages like lisp, perl, tcl, python.
sub require_class($) { my ($cls) = @_; my $cl = acdk::new("acdk/lang/ClassLoader"); $cl->findClass($cls); } require_class('acdkx/com/CoObject'); $word = acdk::invoke_static('acdkx/com/CoObject', 'New', 'Word.Application'); $word->poke('Visible', 1); $doc = $word->peek('Documents')->Add(); $sel = $word->peek('ActiveWindow')->peek('Selection'); $sel->TypeText("This is "); $sel->peek('Font')->poke('Bold', 1); $sel->TypeText("ACDK"); $sel->peek('Font')->poke('Bold', 0); $sel->TypeText(" instrumenting Word through acdk_perl"); acdk::invoke_static('acdk/lang/Thread', 'sleep', 3000); $word->Quit(0); |
Private Sub Form_Load() Dim acdk As Object Set acdk = CreateObject("Acdk.Object") Dim sb As Object Set sb = acdk.New("acdk/lang/StringBuffer", "Hello ") sb.append "from VB" MsgBox sb.toString() End Sub |
Sub chapter pages: ACDKX COM+ is a middleware between ACDK Objects and COM+ objects. You can use all ACDK Objects in Windows Languages, like Visual Basic, C#, VBScript, etc. You can also use all COM+ Objects in ACDK and all scripting languages like lisp, perl, tcl, python. ACDK COM+ provides an interface from ACDK to Windows COM and vice versa. ACDK General installation notice This is a generic installation for ACDK packages. ACDK is available under the LGPL license. |