You are not logged in.

OlimilO

Intermediate

  • "OlimilO" is male
  • "OlimilO" started this thread

Posts: 277

Date of registration: Jan 18th 2009

Location: Germany

Occupation: software engineer

  • Send private message

1

Saturday, October 17th 2009, 10:38am

Using ActiveXdlls in Jabaco with the Help of JACOB and TyTex

Hi @ll
maybe you have already noticed that JACOB by Dan Adler is very helpful, when you want to use objects out of ActiveXdlls in Jabaco.
Former threads already showed how to use JACOB. The first one was posted by StefanSchnell.
How to use JavaCOMBridge (JaCoB) with Microsoft Word

There is only one hard thing left:
you have to write much Code and you have to know the names of the classes and methods. You could dig the internet or look into the objectbrowser of VB6 or OLEView.
Now we have another possibility: TyTex
Download it from below, it comes as VB6-sourcecode and also with the binary file.
What it does: It generates VB and Java-Code out of every type library. Every COM-dll like ActiveXdlls, olb, ocx has a typelibrary inside it's resources. This type library holds the following informations:
Enums, Type-definition, Class-definition, Interfaces-definition, Events, Methods, Helpstrings, Aliases and even Unions.
TyTex uses the tlbinf32.dll to extract this information definition and converts it to either Jabaco or Java-code
TyTex does not generate JACOB-code until now, but with this feature it could be possible to produce automated ActiveX-support for Jabaco

have fun with Jabaco!
OlimilO
OlimilO has attached the following image:
  • TyTex.png
OlimilO has attached the following file:
  • TyTex.zip (48.44 kB - 618 times downloaded - latest: Apr 9th 2024, 7:12am)

This post has been edited 1 times, last edit by "OlimilO" (Oct 17th 2009, 10:51am)


axtens

Trainee

  • "axtens" is male

Posts: 37

Date of registration: Mar 16th 2009

Location: Perth, WA, Australia

Occupation: Software/Test Engineer

Hobbies: be a husband and a dad, play ukulele, sing

  • Send private message

2

Saturday, October 17th 2009, 12:18pm

Woo hoo! This sounds great. I've downloaded it already and can't wait to fiddle!

Thanks, OlimilO!

Rate this thread
WoltLab Burning Board