World: r3wp
[Windows/COM Support]
older newer | first last |
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. |
Graham 12-Jan-2006 [165] | Any updates on the comlib ? |
Anton 12-Jan-2006 [166x2] | I forked and did a lot of cleaning and rebolifying, but I think Benjamin must be real busy or on holiday, because I've been waiting for his email for a while. Also, the more I worked on it, the more I wanted to check the basis of code. Maybe there is better library than disphelper to base on ? I don't know because I didn't check yet. Anyway, I will most l likely continue with my fork as is. |
Not going to do anything on that for a few days, I think. | |
Graham 12-Jan-2006 [168] | Was there a solution to Brett's problem ? |
Anton 12-Jan-2006 [169] | no news there. |
Gregg 12-Jan-2006 [170] | Not COM related, but I had similar problems with programmtic control of Acrobat. |
Thør 4-Apr-2006 [171] | . |
[unknown: 5] 4-Apr-2006 [172] | Yes Brett - CreateProcess |
Anton 27-Jun-2006 [173] | First release of COMLib-anton (Benjamin Maggi's COMLib, reengineered) http://home.wilddsl.net.au/anton/rebol/os/windows/COMLib/ |
Graham 27-Jun-2006 [174] | What changes ? |
Anton 28-Jun-2006 [175] | To see some changes, click on Browse Files, then docs/convert-ben-to-anton.txt |
Graham 28-Jun-2006 [176] | Anton, how stable is your fork? |
older newer | first last |