Basically, RR needs is own Dispatch Driver and IConnectionPoint external.  I would 
recomend however that RR developers implement a GetProcAddress and LoadLibrary 
fuctionality (cross-platform).  This will facilitate Win32 calls as well as glibc 
(CoCreateInsyance, CreateThread, CoMarshall, fork and many more) it would also 
increase the capibilities of the tool significantly.


NOTE: All COM and ActiveX interfaces are called via standard Win32 DLL.  Of course on 
*nix systems CORBA, PVM and many other libraries would finally be easily available.

Kevin




-==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=-
Disclaimer:

Any resemblance between the above views and those of my
employer, my terminal, or the view out my window are purely
coincidental. 
Any resemblance between the above and my own views is non-deterministic.

 The question of the existence of views in the absence of anyone to hold
them
is left as an exercise for the reader. The question of the existence of
the reader
 is left as an exercise for the second god coefficient. 
(A discussion of non-orthogonal, non-integral polytheism is beyond the
scope of this article.)



 --- On Mon 08/09, Chipp Walters < [EMAIL PROTECTED] > wrote:
From: Chipp Walters [mailto: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Mon, 09 Aug 2004 16:56:46 -0500
Subject: ActiveX and RR

Spent some talking with Chris today about ActiveX controls inside of 
RunRev.<br><br>Some on the list here have posited the notion that RR can't be taken 
<br>seriously as a tool until (among other things) it has ActiveX support. <br>While 
this may indeed be true, it is worth examining what really *is* <br>ActiveX support 
and how does a product like RB 'support' it?<br><br>(Note: I expect this argument may 
also be true for Director, though I'm <br>not positive. Perhaps Troy can shed some 
light).<br><br>Regarding ActiveX (from Chris):<br><br>1) He believes it's easy to add 
(in fact, we have a ActiveX instantiator <br>in our XConnector code for Hemingway) 
with the following caveats:<br><br>a) You would need to know the CLSID of the ActiveX 
control you wanted to <br>add (this could probably be done inside of RR using a 
Registry browser <br>function).<br><br>b) You could display the ActiveX control/player 
easily on a card<br><br>c) You could set properties and call methods (assume 
 you know the <br>correct syntax)<br><br>All this is well and good...and in fact is 
how RB deals with them. The <br>two major hard parts are:<br><br>1) 'event trapping' 
or sending events back and forth across the RR boundary.<br><br>2) 'type marshalling' 
or converting RR strings to the appropriate <br>Windows API type.<br><br>The first can 
be done thru custom code in an external or an engine <br>modification. Type 
marshalling is a bit more difficult and would make <br>sense to have an engine 
modification in order to do this properly. <br>Things like pointer handles and arrays 
are most difficult. This would <br>mean we would need some way to convert strings to 
variants. Plus, <br>there's the whole issue of unicode which makes things even 
harder...<br><br>Chris' opinion is that RB provides a subset of ActiveX support and 
<br>doesn't handle the 'events' completely-- and that is why they have their <br>'own' 
grids, tables, etc and don't use standard ActiveX ones (I assume <br>the
  same is true for Director and 'Xtras'). It is also the reason why <br>altBrowser is 
a custom external and not just an instantiatiated ActiveX <br>wrapper.<br><br>So, to 
recap, it appears it would be fairly easy to have an 'ActiveX' <br>wrapper external 
which could call ActiveX DLLs. But, the DLL it calls <br>would not actually 'trap' 
events, but rather only have props set and <br>methods called. How functional is this? 
Well, for one it could work as a <br>player for different 'players' like Flash, IE, 
Acrobat,Excel, as long as <br>you don't need callbacks...which is of limited use 
because most <br>programmers want to 'get' the event messaging.<br><br>In fact, if one 
peruses the RB list, you will find instances of users <br>being able to 'call' to the 
Windows Media Player and start playing a <br>video. But, to able to respond to the 
video via callbacks, etc, is not <br>supported.<br><br>Interesting, in talking with 
Jerry Daniels and Chris about this, the <br>very first quest
 ion they had was "What do you want to do which isn't <br>currently supported?" Ken 
Ray has offered some good suggestions <br>regarding existing ActiveX tables, grids and 
treeLists. But, to my <br>knowledge, adding the full functionality of these ActiveX 
controls are <br>difficult (if not impossible) both in RB and RR (and I assume 
Director <br>as well).<br><br>Lastly, for those who have gotten this far:-) and think 
of ActiveX <br>support a 'have2have' feature, I am wondering...How much would you 
<br>consider paying for it? Or would you expect it to be in the 'Enterprise' 
<br>version of 
RR?<br><br>-Chipp<br>_______________________________________________<br>use-revolution 
mailing list<br>[EMAIL 
PROTECTED]<br>http://lists.runrev.com/mailman/listinfo/use-revolution<br>

_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to