r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[Windows/COM Support]

Benjamin
14-Oct-2005
[48x2]
Im atending to CaFeLUG it's an open source 3 days long conference 
with various speakers and discutions, yesterday we have ms "maddog" 
hall, and today i get the chance to listen Roberto Di Cosmo, many 
french and italian people may know im, its has been a truly eye opening 
experience, i guess Argentina like many other countrys who use Privative 
Soft like MS windows (only because we can make the copy) its going 
to make a switch, the ability to copy windows will no longer exist, 
and the only real option is Open source because of the $$$ right 
now i think this will happen in no more than 5 years from now, i 
do not agree with the general idea o MS but i found COM to be a quite 
intresting thing its to sad to see how it's bloated by VB or C# but 
any whay its a nice thing they have. 

So in conclution its a good idea to have COM yes and no... yes because 
it will open a door for rebol and many programers (maybe) and no 
because the thecnology could become useless in 5 years (at least 
to me and people around me) 

I think it will take a few changes to make rebol COM compatible so 
it isn't a great deal programing it for a couple of years it may 
be a good thing to have.

But today there are some great things to do imagine REBOL's capabilityes 
integrated in the desktop a true desktop not the rebol one, REBOL 
stands in the middle between documents messaging information exchange 
etc... etc... just because it can integrate COM ....
BTW i found the rebol desktop verry userful in some tasks its geat 
i IOS is even better but the leack ability of interaction with aplications 
and elements out there make it a bit "closed" to my taste, dont get 
me wrong here, i just mean it for those people we use to call "useres" 
the weenies :-) we dont need that :-)
Benjamin
20-Oct-2005
[50]
i've found a nasty bug on the rebol code, it avoided objects to be 
passed now looks much nicer and works... im working on some pritty 
examples WORD EXEL and more just the one's you can see on MSDN for 
VBS but workin in REBOL !!! wow comming soon ! you cant imagine all 
things you can do with this baby apart from crashing the system :-)
Graham
20-Oct-2005
[51]
Ahh ... can't wait to try this all out :)
Benjamin
20-Oct-2005
[52]
did the printing code worked graham ?
Graham
20-Oct-2005
[53]
I won't have a chance to try it out till tomorrow when I get a printer 
attached.
Benjamin
20-Oct-2005
[54x3]
examples are ready let me upload them
All in one zip: (MS word only untill now incude some bug fixes)
• Add a Formatted Table to a Word Document.
• Add a Picture to a Microsoft Word Document.
• Add Formatted Text to a Word Document.
• Append Text to a Word Document.
• Apply a Style to a Table in a Word Document.
• Create a New Word Document.
• Create and Save a Word Document.
• Open and Print a Word Document.
• Save a Microsoft Word Document as an HTML File.
Download from:
http://www.geocities.com/benjaminmaggi/data/COMLib_Word_exmp.zip
i've download abiword because my office don't have the engish dictionary 
:) i corrected some errors http://www.geocities.com/benjaminmaggi/doc/comlib.html

and the plain text version is here http://www.geocities.com/benjaminmaggi/doc/com4rebol.txt
Graham
20-Oct-2005
[57x2]
exaptionThrown -< exceptionThrown
retriveObject -> retrieveObject 

that is. if you wish to use the correct spelling.
Benjamin
20-Oct-2005
[59]
yes i've to change all that in the examples, it will take some time 
... :(  and it will generate some erros im shure
Graham
20-Oct-2005
[60]
better to get it all right now ...
Benjamin
20-Oct-2005
[61]
yes
Benjamin
21-Oct-2005
[62x2]
Today's roadmap: make an exel example, almost done, not using safearray 
:( 

WMI, i need to write a couple of function in the C source, also i 
need to make a "foreach" custom function in order to work with collections 
a bit hard i any one have some ideas....
I found some problems when i try to use windows WMI so i added a 
couple of functions and update the wrapper, exel examples are now 
working well the source is http://www.geocities.com/benjaminmaggi/data/COMLib_Exel_exmp.zip
Benjamin
22-Oct-2005
[64]
Tested some WMI found some leacks but the thing worked well, 2 new 
functions added enumerate (start a collection) and enumNextObject 
to retrieve net object in a collection (Many COM object uses collection 
so it whas a top ten upgrade) im uploading the new sources soon i 
need to upgrade the doc too !
Graham
22-Oct-2005
[65x2]
That's very impressive Benjamin.
You should announce this project on the mailing list as well .. I'm 
sure that there will be a lot of interest.  This channel isn't web-public.
Benjamin
22-Oct-2005
[67]
on rebol.org ?
Graham
22-Oct-2005
[68]
no, the mailing list.
Davide
22-Oct-2005
[69]
this is a G R E A T lib !!!! ^________^
Benjamin
23-Oct-2005
[70]
thanks, im now working on the documentation the other big half missing 
:)
Benjamin
29-Oct-2005
[71]
tutorial: using word tables: http://www.geocities.com/benjaminmaggi/doc/word_tables.htm

also im thinking about XPCOM i found it to be a more open technology 
approved by many companies and products, adding support for this 
technlogy would be great and the sources are out there for free.
Graham
29-Oct-2005
[72x3]
where's docs on xpcom?
Ahh.. so this would be cross platform?
So, xpcom can be used to control mozilla.
Benjamin
30-Oct-2005
[75]
yes in a sense,  pekr i think pointed out this article http://www-128.ibm.com/developerworks/webservices/library/co-xpcom.html
a good read !
Robert
30-Oct-2005
[76x2]
BTW: I'm currently the excel dialect Gregg and I made to COMLib. 
Works good so far.
currently = currently porting
Benjamin
30-Oct-2005
[78]
those are good news, btw im going to make a program for those who 
dont have rebol/pro, using a TCP port, just like i've see in other 
projects, if any one can point me to some sources it would be great.
Volker
30-Oct-2005
[79x2]
You could do the tcp it in /pro? encap what you have know, together 
with handling of tcp? Then free rebols can contact.
Job for rugby or beer.
Benjamin
30-Oct-2005
[81]
most rebol users have the plain rebol/view it would be nice to offer 
this lib to them too the best solution i found is to create a program 
to serve the comlib function via tcp
Volker
30-Oct-2005
[82]
if any one can point me to some sources it would be great.

 what sources? i thought you wanted to write the proxy in another 
 language.
Benjamin
30-Oct-2005
[83]
i have to do it that whay
Volker
30-Oct-2005
[84]
But thinking more, i guess you planned to offer an encapped rebol-proxy.
Benjamin
30-Oct-2005
[85]
i dont have the sdk :(
Volker
30-Oct-2005
[86]
Oh. a real plain /pro? But sure somebody else can encap? Just build 
a tcp-proxy and they encap it?
Benjamin
30-Oct-2005
[87]
i saw some examples using this technique R2Win  - version 1.5.1  
J. Colineau used for topwindows.r
Volker
30-Oct-2005
[88]
(dont have all that office-stuff for testing. Hmm, are there fre 
programms which i could use?
Benjamin
30-Oct-2005
[89]
i think Graham encap it
Volker
30-Oct-2005
[90]
R2Win Colineau
 gives some googles, but all links are death. cache too.
Benjamin
30-Oct-2005
[91x3]
yes links are dead :(
well im going to start by scrach
i whant to finish the doc first
DideC
31-Oct-2005
[94]
I can ask Jocko (Joseph Colineau) for its R2Win stuff, if you like 
?
Robert
31-Oct-2005
[95]
IMO if people really have a use for this COM stuff (which is by using 
dialects on top of it), I think it's OK for them to get a /Pro version. 
If it's of value than $99 isn't that much.
Maarten
31-Oct-2005
[96]
I have rhe SDK and Rugby: want me to build it for you?
Robert
31-Oct-2005
[97]
The available format specifies should be added to the docs.