1. RE: EuCOM Follow up

> From: cgibin at bellsouth.net [mailto:cgibin at bellsouth.net]

> Hello Matt,
> 
> I tried to run the demo's but for some reason/s they dont all run.
> for instance, running tbrowse.exw produces the following
> 
> :\Euphoria\com\EuCOM.ew:648 in function call_interface() 
> subscript value 0 is out of bounds, reading from a sequence 
> of length 0 

Yes, this is a problem with how I tried to register the file.  I had
"DLLRegisterServer" instead of "DllRegisterServer":

void = open_dll( "tlbinf32.dll" )
if not void then
    void = moveFile( "_tlbinf32.dll", "c:\\windows\\system\\tlbinf32.dll")
    void = open_dll( "tlbinf32.dll" )
    void = define_c_proc( void, "DllRegisterServer", {} )
    c_proc( void, {} )
end if

Matt Lewis

new topic     » topic index » view message » categorize

2. RE: EuCOM Follow up

> From: cgibin at bellsouth.net [mailto:cgibin at bellsouth.net]

> > void = open_dll( "tlbinf32.dll" )
> > if not void then
> >     void = moveFile( "_tlbinf32.dll", 
> "c:\\windows\\system\\tlbinf32.dll")
> >     void = open_dll( "tlbinf32.dll" )
> >     void = define_c_proc( void, "DllRegisterServer", {} )
> >     c_proc( void, {} )
> > end if
> > 
> > Matt Lewis
> 
> Matt,
> 
> I made the changes however, the same issue arrises.

Thinking about it, it probably never gets to there.  Try running this:

--start app
include dll.e
atom void
void = open_dll( "tlbinf32.dll" )
void = define_c_proc( void, "DllRegisterServer", {} )
c_proc( void, {} )
--end app

Then try running tbrowse.  If not, you could use regsvr32 to manually
register.  What OS are you running?  Maybe the settings aren't allowing any
updates to the registry?

Matt Lewis

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu