1. RE: EuCOM Follow up
- Posted by Matthew Lewis <matthewwalkerlewis at YAHOO.COM> Feb 05, 2003
- 424 views
> 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
2. RE: EuCOM Follow up
- Posted by Matthew Lewis <matthewwalkerlewis at YAHOO.COM> Feb 06, 2003
- 413 views
> 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