[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[RT] DLL for TS2000 enabling access to VB6 objects



PureBytes Links

Trading Reference Links

I wonder if there are any C/C++ or Delphi people on this list who have
created a DLL which would allow the instantiation of visual basic 6 classes
(COM classes in general) from EasyLanguage.

I think basically two functions are required for this both of which do the
same thing as the same-named functions in VB:

1) CreateObject(Class [,Servername]) which returns an integer as a handle to
the object created.
	Class and Servername are strings.
2) CallByName(Object, ProcedureName, CallType [,arguments]) which executes
the procedure (sub, function, property get/set/let)
	Object is the handle returned by CreateObject, Prcedurename, CallType etc
are strings

All objects can be destroyed when the "system" or "indicator" etc ends its
run.

Anybody done this? Sound difficult?

If you know what you're talking about and can answer "Yes" to to the first
part or "No" to the second please let me know!

Regards,

Robert