1. RE: EuCOM
- Posted by Matt Lewis <matthewwalkerlewis at yahoo.com> Apr 24, 2003
- 483 views
> From: xerox_irs at lvcm.com [mailto:xerox_irs at lvcm.com] > could you make a euphoria plugin(like flash) for internet exploder and > netscrape. Like an activex which does use COM as i remember. > So people and > us opengl, or exotica or winlib with euphoria in an internet browser Yes, ActiveX objects are really just COM objects with a few specialized interfaces. I've thought about making COM objects with Euphoria. It basically comes down to figuring out which interfaces need to be implemented and doing it, then compiling everything as a dll. There's also the issue of compiling the typelib, about which I have no idea, though that wouldn't necessarily have to be included in the same file, so you might be able to skip it. Matt Lewis
2. RE: EuCOM
- Posted by Jonas Temple <jktemple at yhti.net> Jun 13, 2001
- 460 views
Matthew Lewis wrote: > Hi all, > > I've posted an update to EuCOM. I think it should work on NT/2000 now, > as > I've fixed the incorrect structures that were causing memory exceptions. > It's up on the Contributions page (although it looks like Rob updated > the > DirectX entry instead of the EuCOM entry :). The file is right, but > you'll > have to look down the list a little bit, or you can get it at: > > http://www14.brinkster.com/matthewlewis/projects.html > > It also includes a type library browser (TBrowse.exw) that can generate > an > include file for using a COM object. (A type library is like a machine > readable help file, containing specs on all of the > objects/members/structures etc contained in a COM object). > > For those interested in DirectX programming, use TBrowse on dxvb8.dll in > your system directory to generate an include file (that's what I did for > my > DirectX demo). Just be aware that even though it will generate code for > a > dispinterface, you have to call the member functions directly, using > vtable > offsets (call_interface/call_interface_ptr instead of > invoke/invoke_ptr). > > Matt Lewis > > PS Win32Lib developers may want to look at TBrowse--I implemented the > resizing of the two side by size lists. Try clicking and dragging in > between the lists and resizing the window. > Matt, I downloaded and unzipped the eucom.zip and when I tried to run comtest.exw I got the following error: D:\euphoria\stuff\activex.ew:828 attempt to redefine get_dispid - defined already in d:\euphoria\stuff\EuCOM.ew function get_dispid( integer ax_ix, object dispid ) Hope this helps! Jonas
3. RE: EuCOM
- Posted by Matthew Lewis <matthewwalkerlewis at YAHOO.COM> Jun 13, 2001
- 442 views
> -----Original Message----- > From: Jonas Temple [mailto:jktemple at yhti.net] > I downloaded and unzipped the eucom.zip and when I tried to run > comtest.exw I got the following error: > > D:\euphoria\stuff\activex.ew:828 > attempt to redefine get_dispid - defined already in > d:\euphoria\stuff\EuCOM.ew function get_dispid( integer ax_ix, object > dispid ) Grr....left the old version of activex.ew in the zip. I've resent it to Rob, and updated it on my page: http://www14.brinkster.com/matthewlewis/projects.html Matt Lewis
4. RE: EuCOM
- Posted by Jonas Temple <jktemple at yhti.net> Jun 13, 2001
- 448 views
Matthew Lewis wrote: > It also includes a type library browser (TBrowse.exw) that can generate > an > include file for using a COM object. (A type library is like a machine > readable help file, containing specs on all of the > objects/members/structures etc contained in a COM object). Matt, Sorry, but when I tried to run tbrowse.exw I got the following error: tbrowse.exw:7 can't open D:\euphoria\stuff\tlbinf32.ew or D:\euphoria\include\tlbinf32.ew include tblinf32.ew Jonas
5. RE: EuCOM
- Posted by Ray Smith <smithr at ix.net.au> Apr 18, 2001
- 439 views
Hi Matthew, This is the biggest news for Windows Euphoria users since Win32Lib!!!! Well Done. I have only run the demo ... and broswed the demo program and wrapper. Using Com in Euphoria is obviously a little more work than VB, Delphi or MS VC++ but it doesn't seem to bad. Do you have any plans for writting wrappers for any other OCX controls? I have read an email or two in the last few months of you mentioning COM but didn't really expect results like what you have achieved. Again, well done! Ray Smith Matthew Lewis wrote: > > MTS's of the world beware! I just sent my COM library to Rob. It's > also up > on my web page: > > http://www14.brinkster.com/matthewlewis/EuCOM.zip (~92K) > > It enables Euphoria to use COM objects (yes, this includes DX, although > since that's not my cup of tea, I haven't done anything with it) and > ActiveX > controls. > > There's a demo that shows how to use ActiveX controls. A spreadsheet > control (sgrid.ocx) is included. > > Matt Lewis > > Ray Smith http;//www.geocities.com/ray_223
6. RE: EuCOM
- Posted by Matthew Lewis <matthewwalkerlewis at YAHOO.COM> Apr 19, 2001
- 462 views
> -----Original Message----- > From: Ray Smith [mailto:smithr at ix.net.au] > This is the biggest news for Windows Euphoria users since Win32Lib!!!! > > Well Done. Thanks! > I have only run the demo ... and broswed the demo program and wrapper. > > Using Com in Euphoria is obviously a little more work than VB, Delphi > or MS VC++ but it doesn't seem to bad. I doubt that it'll ever be as easy as VB, but once we start using the lib, I think we'll figure out good ways to wrap everything. I left it fairly bare bones on purpose, so it would be easy to add better wrappers later. > Do you have any plans for writting wrappers for any other OCX > controls? Right now I'm looking at CodeMax, a code editor control. However, I'm sorta looking for a break from COM for a few days. :) Actually, a big goal of mine is to write something to automatically wrap any COM object for EuCOM. In the mean time, it's not too dificult, as long as you have the CLSID for a control. Also, some might not support the IPersistStreamInit interface, and might need another way to initialize them. Not a major problem, but something to remember. > I have read an email or two in the last few months of you mentioning > COM but didn't really expect results like what you have achieved. Sometimes, neither did I. I'm just waiting for MTS to admit that he's not the best at everything: "If I can't do it, no one can." :) Matt Lewis
7. RE: EuCOM
- Posted by Grape Vine <g__vine at hotmail.com> Apr 19, 2001
- 455 views
I get the error C:\EUPHORIA\EuApps\EuCOM\tk_mem.e:44 can't open C:\EUPHORIA\EuApps\EuCOM\tk_misc.e or C:\EUPHORIA\include\tk_misc.e include tk_misc.e Where do i get tk_misc.e???? Grape Matthew Lewis wrote: > > MTS's of the world beware! I just sent my COM library to Rob. It's > also up > on my web page: > > http://www14.brinkster.com/matthewlewis/EuCOM.zip (~92K) > > It enables Euphoria to use COM objects (yes, this includes DX, although > since that's not my cup of tea, I haven't done anything with it) and > ActiveX > controls. > > There's a demo that shows how to use ActiveX controls. A spreadsheet > control (sgrid.ocx) is included. > > Matt Lewis > > Grape Vine 13728824
8. RE: EuCOM
- Posted by Matthew Lewis <matthewwalkerlewis at YAHOO.COM> Apr 19, 2001
- 436 views
> I get the error > > C:\EUPHORIA\EuApps\EuCOM\tk_mem.e:44 > can't open C:\EUPHORIA\EuApps\EuCOM\tk_misc.e or > C:\EUPHORIA\include\tk_misc.e > include tk_misc.e > > Where do i get tk_misc.e???? It's part of win32lib. Matt Lewis
9. RE: EuCOM
- Posted by Grape Vine <g__vine at hotmail.com> Apr 19, 2001
- 451 views
Hmm, I have win32lib, better get the newest Matthew Lewis wrote: > > > I get the error > > > > C:\EUPHORIA\EuApps\EuCOM\tk_mem.e:44 > > can't open C:\EUPHORIA\EuApps\EuCOM\tk_misc.e or > > C:\EUPHORIA\include\tk_misc.e > > include tk_misc.e > > > > Where do i get tk_misc.e???? > > It's part of win32lib. > > Matt Lewis > > Grape Vine 13728824
10. RE: EuCOM
- Posted by Irv Mullins <irvm at ellijay.com> Apr 19, 2001
- 464 views
On Thu, 19 Apr 2001, Grape Vine wrote: >Where do i get tk_misc.e???? The tk_ files come with the download from RDS. Maybe you got them, but didn't move them into euphoria/include, or somewhere Eu could fiind them? -------- Regards, Irv