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

World: r3wp

[Windows/COM Support]

Henrik
1-Nov-2005
[115]
time limits are mostly annoying, but doesn't hamper usage in that 
time. I don't think the GUI or other things should be obscured
Volker
1-Nov-2005
[116]
No, i thought a click-away-spashscreen and then normal app. But for 
$5-encap testing time seems best.
Robert
1-Nov-2005
[117]
Anyway, disucssion is OT. My point is, if someone can make value 
out of COM support, that getting a /Pro isn't a problem. If it's 
a problem, than I'm sure the COM support is just wanted for playing 
around. Which is OK, but doesn't fit RT's business strategy.
Volker
1-Nov-2005
[118x2]
Coding and selling are two different talents.
And its not OT, as, without Benjamin, there is no COM Support.
Henrik
1-Nov-2005
[120]
I think we could move the technicalities of remote encapping to the 
SDK group?
BrianH
1-Nov-2005
[121]
Yes, so far Benjamin's been the only one with the expertise who's 
been able to put in the time to implement COM support.
Gabriele
1-Nov-2005
[122]
an encap service as been discussed many times in the past. there 
are a number of problems in doing it.
Graham
2-Nov-2005
[123]
Benjamin, is COM how one accesses inking functions on the tablet 
pcs ?
Benjamin
2-Nov-2005
[124x2]
i dont know Graham, im working on providing a solution for those 
without /pro,
i have almost finish the utility it I'll post it as soon i finish 
the testing, the solutions is very much like reb2win it provides 
the same functionality plus COM supporting,    the cost of the license 
is in USD, is too expensive to me I'll buy it some day im sure :) 
i can barely pay my Internet connection, anyway my philosophy is 
not to buy software it doesn't matter if its windows or rebol. we 
all could doit better with free soft.
Graham
12-Nov-2005
[126]
Any progress ?
Benjamin
13-Nov-2005
[127x2]
sorry i've been out for a while, the as i said before im working 
on a solution for those who dont have the /pro license, im working 
on the security of such a client because it opens a gate on a tcp 
port, the security must be hight imagine why... the development time 
has take more than i've ever imagine ....
never the less i think it would be done in a cuple of weeks, i know 
i need to document as much as possible but i need time :( it will 
be here soon ...
Anton
2-Dec-2005
[129]
Benjamin, I would like to contribute to the COMLib project. Have 
you made any more changes ?
Anton
3-Dec-2005
[130x2]
OK, couldn't wait. I have forked Benjamin's project, and I am cleaning 
it up. Recompiled the dll successfully and ran one of the word demos 
so far.
All Ben's demos work except the Word open_save.r demo.
Robert
3-Dec-2005
[132]
Anton, what did you changed in comparision to Benjamin's versions?
Anton
3-Dec-2005
[133x2]
Lots of spelling corrections :), more official rebol style guide 
compliant, reducing unnecessary code to be more rebolish..
More cleaning to be done..
Robert
4-Dec-2005
[135]
Sounds good, any chance to get my hands on it? I have ported an Excel 
dialect to ComLib and would get it in sync than.
Anton
4-Dec-2005
[136x2]
Yes ... I could publish it, as now it is pretty much the same interface 
as Ben's. However, I plan to totally rearrange all that (probably), 
so my distro will be hard to keep up with for a while... Mmm... what 
to do... Work faster I suppose.. :)

I *could* release this version and fork again for future rearrangements, 
but I am not keen to double the work-load...
Ok, what I'll do is send you a zip of the current distro, but with 
not much promise of support. ie. that branch is marked for death. 
I will support your migrating to the new interface when that comes, 
though.
Graham
4-Dec-2005
[138x2]
I don't think Ben is working on comlib at present
What he said he was going to do was to find a way to provide comlib 
support for those without pro.
Rebolek
4-Dec-2005
[140]
I think /PRO is bad idea...but I said that many times :)
Anton
4-Dec-2005
[141]
Ben just emailed me, so good news.
Graham
4-Dec-2005
[142]
Anton, can your version do all the demos that Ben posted ?
Anton
4-Dec-2005
[143]
All except the WORD open_save.r demo. But I don't think Ben's could 
do that on my system either.
Graham
4-Dec-2005
[144x2]
what does that one do ?
I'm pretty sure most of the demos worked as advertised ...
Anton
4-Dec-2005
[146]
Don't worry, Ben and I are going to work together.
Benjamin
8-Dec-2005
[147]
Hello im back,  im sending sources and demos to Anton. he's going 
to post sources and documentations on his site.
Anton
8-Dec-2005
[148]
Excellent.
Benjamin
8-Dec-2005
[149x2]
check you'r mailbox sourcer shold be there by now
i mean sources, also i whant to thank you all for giving you'r attention 
in this project.
Anton
9-Dec-2005
[151x2]
Got it, Ben, very good.

Is there anyone who can donate webspace (say 10MB) and set up FTP 
access for Ben and I ?
Hmm, maybe Sunanda will give us a directory on rebol.org ? eg. www.rebol.org/COMLib/ 
 ?  :)
Brett
13-Dec-2005
[153x2]
Just used comlib to make Photoshop produce my xmas cards controlled 
by Rebol. Worked pretty well too. I did have a couple of problems, 
and worked around them but I'm don't know if it was PS or comlib. 
Assuming PS at the moment.
Anton, re webspace, send me an email - what do you need to do? private 
ftp space or public web and for how long?
Anton
13-Dec-2005
[155x2]
Brett, I've noticed many of the code examples have small delays in 
between each command (eg. wait 0.1) which supposedly makes it more 
reliable. Don't know if that can help you.
Thanks for your offer, but Yeksoon has kindly set up a temporary 
website for us, and will set up a more permanent one after some server 
upgrading.
Brett
14-Dec-2005
[157x4]
Just on those issues I mentioned maybe someone here knows:


Issue 1 - CreateObject won't start Photoshop but does work with Microsoft 
products like Access, Excel, Word...

>> obj_application: createObject "Photoshop.Application"
--------------------------------------------------
ERROR:
--------------------------------------------------
Member:   Photoshop.Application
Function:     CreateObject
Error In:     CreateObjectEx
Error:    %1 is not a valid Win32 application.
Code:     800700c1
Source:   Application
CODE: -2147024703
--------------------------------------------------


If I start PS by hand or use Call from REBOL then there is no problem. 
It is starting the process which is the issue.
Issue 2 - Photoshop method PrintOut only works the first time, subsequent 
calls are silently ignored.


I had a loop so my workaround was to Quit photoshop programmatically, 
then restart it with Call - bit of a sledgehammer but I generated 
my cards :)
Not a big issue for me now, but would be good to solve these for 
next time.
P.s both of these I tried at console and I think I did try a wait 
at the time.
Anton
14-Dec-2005
[161]
Yes, CreateObject assumes the application is already running. In 
the case of MS office apps, they are probably already running in 
the background somehow, or the interface supports those apps.
Brett
14-Dec-2005
[162x2]
Ok thanks for that. Is there something I can use to start the application 
apart from REBOL's Call command?
On issue 2, I've done some more testing this time with VB script 
and same result - just one print.  However, trying a different printer 
- multiple prints work using VB script and REBOL/comlib. So it may 
be the printer driver that is causing me problems.
Anton
14-Dec-2005
[164]
I don't know, I haven't discovered this yet. I will of course put 
it into a demo when / if  I do discover a way to start the app.