RE: EuCOM
- Posted by Jonas Temple <jktemple at yhti.net> Jun 13, 2001
- 459 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