|
Archives
D Programming
digitalmars.Ddigitalmars.D.bugs digitalmars.D.dtl digitalmars.D.ide digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger D.gnu D C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript electronics |
DMDScript - Re: DMDScript 1.13
Heh. Walter removed my post mentioning that I'd prettyprinted DMDScript, arranged it into folders, and had activex half working? It'll be on the web elsewhere once I finish getting activex working. That's all I can say. I'll be sure to keep you guys informed. Feb 10 2007
Update:
I've currently got:
- a non-functional ActiveXObject() in DScript;
- a functional ActiveXObject() in D;
I derived the functional ActiveXObject from the one provided in Core32, and
ported
it over to the MinGW work done by Stewart Gordon (which had a bug with
ITypeInfo btw)
Now I have to:
- Put the two together to bind ActiveXObject in DScript to actual COM
- Write the Put/Get/Call routines for the ActiveXObject so they don't require
special methods (ex: ie.set("Visible",toVariant(true)); )
It's now 1pm here, if I'm lucky I'll have it done before bedtime.
*crosses fingers*
Sincerely,
Dan
Feb 11 2007
Dan wrote:Update: I've currently got: - a non-functional ActiveXObject() in DScript; - a functional ActiveXObject() in D; Feb 13 2007
jcc,
Yes, that's the project. No I didn't tell him.
The error was that some of his objbase.d functions expected ITypeInfo**'s,
instead
of just ITypeInfo*'s. I just ran into two of them; and found it worked with
just
ITypeInfo*'s (actually ran)
I have put the two parts together, and now have an ActiveXObject within the
DScript engine. When I hard code ie.set("Visible",toVariant(true)); etc, it
works.
The remaining issue now is to bind the working ActiveXObject to Dscript. That
will involve some heavy modification of loadMembers() etc.
jcc, I just realized that nothing on dsource.org is licensed. It just claims to
be "Open Source Development". Any idea where I could get licensing information
(to cover myself?)
Feb 14 2007
== Quote from Dan (murpsoft hotmail.com)'s articlejcc, Yes, that's the project. No I didn't tell him. The error was that some of his objbase.d functions expected ITypeInfo**'s, instead of just ITypeInfo*'s. I just ran into two of them; and found it worked with just ITypeInfo*'s (actually ran) Feb 14 2007
Dan escribió: Feb 14 2007
Okay Carlos, I'll check it out. Glad to know I don't have to bury the work because of licensing. : ) I'm gonna be off for the rest of the day. I'm sick with the flu. Feb 14 2007
I tried to sleuth down the source for walnut, but it's not visible online to either google or dsource.org/ that I could find. If someone could direct me to the location, I'd appreciate it. Thanks, Dan. Feb 16 2007
Dan wrote:I tried to sleuth down the source for walnut, but it's not visible online to either google or dsource.org/ that I could find. If someone could direct me to the location, I'd appreciate it. Thanks, Dan. Feb 16 2007
Okay, from what I've read, the stuff that was part of walnut was related to Core32 and MinGW (sp?) I borrowed code from jcc7 and carlos already as public domain. I created a DScript native object, the ActiveXObject, and attached the com functionality from the borrowed code. I've since modified toVariant to make it implicit. It's now done when you set, setByRef or call anything. I'm now going to try to expose the names of the ActiveXObject set/get/call "properties/methods" to DScript, and then work on being able to call them. Feb 17 2007
I now have it listing off the COM members within DScript. It properly handles
constructor and prototype, and lists all the values as undefined.
I've been trying to get it to properly do gets through Dobject's Value*
Get(char[]
member){} So far it's not working.
Dan gets no banana.
Walter: Attachments make posting fail. Sorry about the earlier comment. : p
Feb 17 2007
In case anyone missed it, I've released source as "Walnut": http://dsource.org/projects/walnut/ It's not perfect, but I think it's an improvement. Feb 25 2007
Dan wrote:Walter removed my post mentioning that I'd prettyprinted DMDScript, arranged it into folders, and had activex half working? Apr 18 2007
|