Thread overview | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
April 12, 2005 interface idispatch | ||||
---|---|---|---|---|
| ||||
I am trying to call D classes from jscript.
The problem is that my knowledge in COM programming is null.
I have read some information and I guess that I have to implement the
interface IDispatch.
Where can I get more information?
Can anyone give me a clue of how to do it...
Thanks.
--
Miguel Ferreira Simões
|
April 12, 2005 Re: interface idispatch | ||||
---|---|---|---|---|
| ||||
Posted in reply to Miguel Ferreira Simões | Miguel, Here is a post from a few months back... "http://www.digitalmars.com/drn-bin/wwwnews?digitalmars.D/19426" I don't know what happened to it. But, if you get any where with this, I would love to see your work. I have a few JSCript that I would love to transfer to D. I could provide you with some of those, but again, they are JSCript programs. buena suerte! josé Miguel Ferreira Simões says... > >I am trying to call D classes from jscript. >The problem is that my knowledge in COM programming is null. >I have read some information and I guess that I have to implement the >interface IDispatch. > >Where can I get more information? >Can anyone give me a clue of how to do it... > >Thanks. > >-- >Miguel Ferreira Simões > > |
April 13, 2005 Re: interface idispatch | ||||
---|---|---|---|---|
| ||||
Posted in reply to jicman | I will take a look. Obrigado! Miguel |
April 16, 2005 Re: interface idispatch | ||||
---|---|---|---|---|
| ||||
Posted in reply to jicman | jicman wrote: > Miguel, > > Here is a post from a few months back... > > "http://www.digitalmars.com/drn-bin/wwwnews?digitalmars.D/19426" > > I don't know what happened to it. But, if you get any where with this, I would > love to see your work. I have a few JSCript that I would love to transfer to D. > I could provide you with some of those, but again, they are JSCript programs. Yeah, it looked like Carlos was making progress getting generic ActiveX and/or COM to work. I suspect he either ran into an obstacle or just got side-tracked into another project. It also looked like John C understood the method Carlos was using. I was looking into getting it to work for myself, but I started running into missing Windows headers and I wasn't in the mood to hunt for them or recreate them. > > buena suerte! > > josé > > Miguel Ferreira Simões says... > >>I am trying to call D classes from jscript. >>The problem is that my knowledge in COM programming is null. >>I have read some information and I guess that I have to implement the interface IDispatch. >> >>Where can I get more information? >>Can anyone give me a clue of how to do it... >> >>Thanks. >> >>-- >>Miguel Ferreira Simões -- jcc7 http://jcc_7.tripod.com/d/ |
April 16, 2005 Re: interface idispatch | ||||
---|---|---|---|---|
| ||||
Posted in reply to J C Calvarese |
Me too, JCC. I tried to compile that piece of code and got into missing headers and other things. I would love to get a COM library that works with D. Love to!
jic
J C Calvarese says...
>
>jicman wrote:
>> Miguel,
>>
>> Here is a post from a few months back...
>>
>> "http://www.digitalmars.com/drn-bin/wwwnews?digitalmars.D/19426"
>>
>> I don't know what happened to it. But, if you get any where with this, I would love to see your work. I have a few JSCript that I would love to transfer to D. I could provide you with some of those, but again, they are JSCript programs.
>
>Yeah, it looked like Carlos was making progress getting generic ActiveX and/or COM to work. I suspect he either ran into an obstacle or just got side-tracked into another project. It also looked like John C understood the method Carlos was using. I was looking into getting it to work for myself, but I started running into missing Windows headers and I wasn't in the mood to hunt for them or recreate them.
>
>>
>> buena suerte!
>>
>> josé
>>
>> Miguel Ferreira Simões says...
>>
>>>I am trying to call D classes from jscript.
>>>The problem is that my knowledge in COM programming is null.
>>>I have read some information and I guess that I have to implement the
>>>interface IDispatch.
>>>
>>>Where can I get more information?
>>>Can anyone give me a clue of how to do it...
>>>
>>>Thanks.
>>>
>>>--
>>>Miguel Ferreira Simões
>
>
>--
>jcc7
>http://jcc_7.tripod.com/d/
|
April 17, 2005 Re: interface idispatch | ||||
---|---|---|---|---|
| ||||
Posted in reply to J C Calvarese | J C Calvarese wrote: > > Yeah, it looked like Carlos was making progress getting generic ActiveX and/or COM to work. I suspect he either ran into an obstacle or just got side-tracked into another project. It also looked like John C understood the method Carlos was using. I was looking into getting it to work for myself, but I started running into missing Windows headers and I wasn't in the mood to hunt for them or recreate them. > A bit of both, actually. It needed a bit more of the time I could give it, at the moment. There were two parts I feel should be addressed: type checking, and getting rid of VARIANTARGs in client code. If anyone wants to do it, let me know and I'll send him what I have. If it works ok, I could use it for Walnut too. -- Carlos Santander Bernal JP2, you'll always live in our minds |
April 17, 2005 Re: interface idispatch | ||||
---|---|---|---|---|
| ||||
Posted in reply to Carlos Santander B. | > A bit of both, actually. It needed a bit more of the time I could give it, at the moment. There were two parts I feel should be addressed: type checking, and getting rid of VARIANTARGs in client code. If anyone wants to do it, let me know and I'll send him what I have. If it works ok, I could use it for Walnut too.
Can you send me, please.
It would be great to have ActiveX and COM working!
I know very little of COM interfaces and I doubt that I can make any progress with it... but I can try.
Miguel.
|
April 17, 2005 Re: interface idispatch | ||||
---|---|---|---|---|
| ||||
Posted in reply to Carlos Santander B. | Carlos Santander B. wrote: > J C Calvarese wrote: >> >> Yeah, it looked like Carlos was making progress getting generic ActiveX and/or COM to work. I suspect he either ran into an obstacle or just got side-tracked into another project. It also looked like John C understood the method Carlos was using. I was looking into getting it to work for myself, but I started running into missing Windows headers and I wasn't in the mood to hunt for them or recreate them. >> > > A bit of both, actually. It needed a bit more of the time I could give it, at the moment. There were two parts I feel should be addressed: type checking, and getting rid of VARIANTARGs in client code. If anyone wants to do it, let me know and I'll send him what I have. If it works ok, I could use it for Walnut too. If you don't mind, I'd like a copy. I don't recall exactly what VARIANTARG's are, but maybe I can figure out how to remove them. I'd like to try to help. -- jcc7 http://jcc_7.tripod.com/d/ |
April 17, 2005 Re: interface idispatch | ||||
---|---|---|---|---|
| ||||
Posted in reply to J C Calvarese | J C Calvarese wrote: > > > If you don't mind, I'd like a copy. I don't recall exactly what VARIANTARG's are, but maybe I can figure out how to remove them. I'd like to try to help. > I'm sending this to Justin, but I'd like to point something: I already sent the same to Miguel and previously to Robert Münch. John Chapman was also working on something similar. My proposal is, if all of you guys (and maybe even I when I have the time) are going to try to make some progress with this, how about setting up a small project in dsource just for this. All of you/us would be admins/moderators. This way, we'd avoid duplicate efforts. What do you guys think? -- Carlos Santander Bernal JP2, you'll always live in our minds |
April 17, 2005 Re: interface idispatch | ||||
---|---|---|---|---|
| ||||
Posted in reply to Carlos Santander B. | Carlos Santander B. wrote: > J C Calvarese wrote: > >> >> >> If you don't mind, I'd like a copy. I don't recall exactly what VARIANTARG's are, but maybe I can figure out how to remove them. I'd like to try to help. >> > > I'm sending this to Justin, but I'd like to point something: I already I've got it. Thanks. > sent the same to Miguel and previously to Robert Münch. John Chapman was also working on something similar. My proposal is, if all of you guys (and maybe even I when I have the time) are going to try to make some progress with this, how about setting up a small project in dsource just for this. All of you/us would be admins/moderators. This way, we'd avoid duplicate efforts. What do you guys think? A new project separate from Walnut? It's not that big of a project, is it? Maybe we should just post our future developments in the Walnut forum (so it doesn't get overlooked in the expansive Digital Mars newsgroups): http://www.dsource.org/forums/viewforum.php?f=51 -- jcc7 http://jcc_7.tripod.com/d/ |
Copyright © 1999-2021 by the D Language Foundation